Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 6c9cb54a

Přidáno uživatelem Jan Pašek před asi 4 roky(ů)

Re #8475 - Added code comments

Zobrazit rozdíly:

static/js/index.js
1 1

  
2
    // certificate listing app VUE instance
2 3
    var certificateListingApp = new Vue({
3 4
        el: "#certificateListingPage",
4 5
        data: {
6
            // list of all certificates to be displayed in the list
5 7
            certificates: []
6 8
        }
7 9
    });
8 10

  
11
    // download a list of all available certificates and display them in the table
9 12
    axios.get(API_URL + "certificates")
10 13
        .then(function (response) {
11 14
            if (response.data["success"])
......
15 18
        })
16 19
        .catch(function (error) {
17 20
            console.log(error);
18
        });
19

  
20
    function downloadCertificate(id) {
21

  
22
    }
21
        });

Také k dispozici: Unified diff