Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 6b69049b

Přidáno uživatelem Jan Pašek před téměř 4 roky(ů)

Re #8706 - Minor adjustments of GUI

Zobrazit rozdíly:

static/create_certificate.html
197 197
                <div class="form-group">
198 198
                    <td class="pl-5"><label for="key_password">Password:</label></td>
199 199
                    <td class="pl-3">
200
                        <input type="text" v-model:value="key.password" id="key_password" name="key_password" class="form-control">
200
                        <input type="password" v-model:value="key.password" id="key_password" name="key_password" class="form-control">
201 201
                    </td>
202 202
                </div>
203 203
            </tr>
static/index.html
24 24
            </div>
25 25
            <div class="mt-2 mb-2">
26 26
                <a class="btn btn-success mb-3 text-center" href="/static/create_certificate.html"><b>+</b></a>
27
                <button class="btn btn-outline-primary ml-4 mb-3" data-toggle="collapse" data-target="#filteringCollapse">Show filtering</button>
27
                <button v-on:click="toggleFilters" v-if="!displayFilters" class="btn btn-outline-primary ml-4 mb-3" data-toggle="collapse" data-target="#filteringCollapse">Show filtering</button>
28
                <button v-on:click="toggleFilters" v-if="displayFilters" class="btn btn-outline-primary ml-4 mb-3" data-toggle="collapse" data-target="#filteringCollapse">Hide filtering</button>
28 29
                <div class="collapse mt-2" id="filteringCollapse">
29 30
                    <div class="card card-body">
30 31
                        <div class="container">
static/js/index.js
9 9
        hasNextPage: false,
10 10
        hasPreviousPage: false,
11 11
        currentPage: 1,
12
        displayFilters: false,
12 13
        loading: true,
13 14
        // list of all certificates to be displayed in the list
14 15
        certificates: [],
......
87 88
            else
88 89
                return null;
89 90
        },
91
        toggleFilters: function (){
92
            this.displayFilters = ~this.displayFilters;
93
        },
90 94
        clearFilters: async function () {
91 95
            this.filtering = {
92 96
                type: {

Také k dispozici: Unified diff