Revize 82cf9149
Přidáno uživatelem Jan Pašek před téměř 4 roky(ů)
static/create_certificate.html | ||
---|---|---|
7 | 7 |
<link rel="stylesheet" href="/static/css/bootstrap.min.css"> |
8 | 8 |
</head> |
9 | 9 |
<body class="p-4"> |
10 |
<div id="create-certificate-content" class="container"> |
|
11 |
<h1 class="text-center">Create Certificate</h1> |
|
10 |
<div id="create-certificate-content" class="container-lg"> |
|
11 |
<div class="row"> |
|
12 |
<div class="col-lg-2"></div> |
|
13 |
<div class="col-lg card"> |
|
14 |
<div class="card-body"> |
|
15 |
<h1 class="text-center">Create Certificate</h1> |
|
12 | 16 |
|
13 |
<div v-if="errorMessage !== ''" class="alert alert-danger" v-cloak role="alert"> |
|
14 |
{{ errorMessage }} |
|
15 |
</div> |
|
17 |
<div v-if="errorMessage !== ''" class="alert alert-danger" v-cloak role="alert">
|
|
18 |
{{ errorMessage }}
|
|
19 |
</div>
|
|
16 | 20 |
|
17 |
<table class="ml-auto mr-auto"> |
|
18 |
<tr> |
|
19 |
<div class="form-group"> |
|
20 |
<td><label for="CA">Certificate Authority:</label></td> |
|
21 |
<td class="pl-3"> |
|
22 |
<select v-model="certificateData.CA" name="CA" id="CA" class="form-control" :disabled="isSelfSigned"> |
|
23 |
<option value=null disabled selected>-- Select issuer --</option> |
|
24 |
<option is="ca-select-item" |
|
25 |
v-for="ca in authorities" |
|
26 |
v-bind:ca="ca" |
|
27 |
v-bind:key="ca.id"></option> |
|
28 |
</select> |
|
29 |
</td> |
|
30 |
<td style="padding-left: 37px"> |
|
31 |
<input class="form-check-input" :disabled="authorities.length === 0" v-model="isSelfSigned" type="checkbox" id="isSelfSigned" name="isSelfSigned" value="self-signed"> |
|
32 |
<label class="form-check-label" for="isSelfSigned">Self-signed</label><br> |
|
33 |
</td> |
|
34 |
</div> |
|
35 |
</tr> |
|
36 |
<tr> |
|
37 |
<div class="form-group"> |
|
38 |
<td><label for="validity_start">Validity start:</label></td> |
|
39 |
<td class="pl-3"><input v-bind:value="notBefore" type="date" id="validity_start" name="validity_start" class="form-control" disabled></td> |
|
40 |
</div> |
|
41 |
</tr> |
|
42 |
<tr> |
|
43 |
<div class="form-group"> |
|
44 |
<td><label for="validity_end">Validity end:</label></td> |
|
45 |
<td class="pl-3"><input v-bind:value="notAfter" type="date" id="validity_end" name="validity_end" class="form-control" disabled></td> |
|
46 |
<td class="pl-3"> |
|
47 |
<span> |
|
48 |
<input v-model="certificateData.validityDays" type="number" min="1" id="validity_days" name="validity_days" class="form-control custom-control-inline" style="width: 70px; margin-right: 0"> |
|
49 |
<label for="validity_days">days</label> |
|
50 |
</span> |
|
51 |
</td> |
|
52 |
</div> |
|
53 |
</tr> |
|
54 |
<tr> |
|
55 |
<td colspan="2"><h5>Issuer</h5></td> |
|
56 |
</tr> |
|
57 |
<tr> |
|
58 |
<div class="form-group"> |
|
59 |
<td><label for="issuer_CN">Common Name:</label></td> |
|
60 |
<td class="pl-3"> |
|
61 |
<input type="text" id="issuer_CN" name="issuer_CN" class="form-control" v-bind:value="selectedCAData.CN" disabled> |
|
62 |
</td> |
|
63 |
</div> |
|
64 |
</tr> |
|
65 |
<tr> |
|
66 |
<div class="form-group"> |
|
67 |
<td><label for="issuer_C">Country Code:</label></td> |
|
68 |
<td class="pl-3"> |
|
69 |
<input type="text" id="issuer_C" name="issuer_C" class="form-control" v-bind:value="selectedCAData.C" disabled> |
|
70 |
</td> |
|
71 |
</div> |
|
72 |
</tr> |
|
73 |
<tr> |
|
74 |
<div class="form-group"> |
|
75 |
<td><label for="issuer_L">Locality:</label></td> |
|
76 |
<td class="pl-3"> |
|
77 |
<input type="text" id="issuer_L" name="issuer_L" class="form-control" v-bind:value="selectedCAData.L" disabled> |
|
78 |
</td> |
|
79 |
</div> |
|
80 |
</tr> |
|
81 |
<tr> |
|
82 |
<div class="form-group"> |
|
83 |
<td><label for="issuer_ST">Province/State:</label></td> |
|
84 |
<td class="pl-3"> |
|
85 |
<input type="text" id="issuer_ST" name="issuer_ST" class="form-control" v-bind:value="selectedCAData.ST" disabled> |
|
86 |
</td> |
|
87 |
</div> |
|
88 |
</tr> |
|
89 |
<tr> |
|
90 |
<div class="form-group"> |
|
91 |
<td><label for="issuer_O">Organization:</label></td> |
|
92 |
<td class="pl-3"> |
|
93 |
<input type="text" id="issuer_O" name="issuer_O" class="form-control" v-bind:value="selectedCAData.O" disabled> |
|
94 |
</td> |
|
95 |
</div> |
|
96 |
</tr> |
|
97 |
<tr> |
|
98 |
<div class="form-group"> |
|
99 |
<td><label for="issuer_OU">Organization Unit:</label></td> |
|
100 |
<td class="pl-3"> |
|
101 |
<input type="text" id="issuer_OU" name="issuer_OU" class="form-control" v-bind:value="selectedCAData.OU" disabled> |
|
102 |
</td> |
|
103 |
</div> |
|
104 |
</tr> |
|
105 |
<tr> |
|
106 |
<div class="form-group"> |
|
107 |
<td><label for="issuer_emailAddress">Email:</label></td> |
|
108 |
<td class="pl-3"> |
|
109 |
<input type="email" id="issuer_emailAddress" name="issuer_emailAddress" class="form-control" v-bind:value="selectedCAData.emailAddress" disabled> |
|
110 |
</td> |
|
111 |
</div> |
|
112 |
</tr> |
|
113 |
<tr> |
|
114 |
<td colspan="2"><h5>Subject</h5></td> |
|
115 |
</tr> |
|
116 |
<tr> |
|
117 |
<div class="form-group"> |
|
118 |
<td><label for="subject_CN">Common Name:</label></td> |
|
119 |
<td class="pl-3"> |
|
120 |
<input type="text" v-bind:class="{ 'is-invalid': invalidCN }" v-model:value="certificateData.subject.CN" id="subject_CN" name="subject_CN" class="form-control"> |
|
121 |
</td> |
|
122 |
</div> |
|
123 |
</tr> |
|
124 |
<tr> |
|
125 |
<div class="form-group"> |
|
126 |
<td><label for="subject_C">Country Code:</label></td> |
|
127 |
<td class="pl-3"> |
|
128 |
<input type="text" v-model:value="certificateData.subject.C" id="subject_C" name="subject_C" class="form-control"> |
|
129 |
</td> |
|
130 |
</div> |
|
131 |
</tr> |
|
132 |
<tr> |
|
133 |
<div class="form-group"> |
|
134 |
<td><label for="subject_L">Locality:</label></td> |
|
135 |
<td class="pl-3"> |
|
136 |
<input type="text" v-model:value="certificateData.subject.L" id="subject_L" name="subject_L" class="form-control"> |
|
137 |
</td> |
|
138 |
</div> |
|
139 |
</tr> |
|
140 |
<tr> |
|
141 |
<div class="form-group"> |
|
142 |
<td><label for="subject_ST">Province/State:</label></td> |
|
143 |
<td class="pl-3"> |
|
144 |
<input type="text" v-model:value="certificateData.subject.ST" id="subject_ST" name="subject_ST" class="form-control"> |
|
145 |
</td> |
|
146 |
</div> |
|
147 |
</tr> |
|
148 |
<tr> |
|
149 |
<div class="form-group"> |
|
150 |
<td><label for="subject_O">Organization:</label></td> |
|
151 |
<td class="pl-3"> |
|
152 |
<input type="text" v-model:value="certificateData.subject.O" id="subject_O" name="subject_O" class="form-control"> |
|
153 |
</td> |
|
154 |
</div> |
|
155 |
</tr> |
|
156 |
<tr> |
|
157 |
<div class="form-group"> |
|
158 |
<td><label for="subject_OU">Organization Unit:</label></td> |
|
159 |
<td class="pl-3"> |
|
160 |
<input type="text" v-model:value="certificateData.subject.OU" id="subject_OU" name="subject_OU" class="form-control"> |
|
161 |
</td> |
|
162 |
</div> |
|
163 |
</tr> |
|
164 |
<tr> |
|
165 |
<div class="form-group"> |
|
166 |
<td><label for="subject_emailAddress">Email:</label></td> |
|
167 |
<td class="pl-3"> |
|
168 |
<input type="email" v-model:value="certificateData.subject.emailAddress" id="subject_emailAddress" name="subject_emailAddress" class="form-control"> |
|
169 |
</td> |
|
170 |
</div> |
|
171 |
</tr> |
|
172 |
<tr> |
|
173 |
<td>Usage:</td> |
|
174 |
<td class="form-check"> |
|
175 |
<input class="form-check-input" :disabled="isSelfSigned" v-model="certificateData.usage.CA" type="checkbox" id="isCA" name="isCA" value="CA"> |
|
176 |
<label class="form-check-label" for="isCA">CA</label><br> |
|
21 |
<table class="ml-auto mr-auto">
|
|
22 |
<tr>
|
|
23 |
<div class="form-group">
|
|
24 |
<td><label for="CA">Certificate Authority:</label></td>
|
|
25 |
<td class="pl-3">
|
|
26 |
<select v-model="certificateData.CA" name="CA" id="CA" class="form-control" :disabled="isSelfSigned">
|
|
27 |
<option value=null disabled selected>-- Select issuer --</option>
|
|
28 |
<option is="ca-select-item"
|
|
29 |
v-for="ca in authorities"
|
|
30 |
v-bind:ca="ca"
|
|
31 |
v-bind:key="ca.id"></option>
|
|
32 |
</select>
|
|
33 |
</td>
|
|
34 |
<td style="padding-left: 37px">
|
|
35 |
<input class="form-check-input" :disabled="authorities.length === 0" v-model="isSelfSigned" type="checkbox" id="isSelfSigned" name="isSelfSigned" value="self-signed">
|
|
36 |
<label class="form-check-label" for="isSelfSigned">Self-signed</label><br>
|
|
37 |
</td>
|
|
38 |
</div>
|
|
39 |
</tr>
|
|
40 |
<tr>
|
|
41 |
<div class="form-group">
|
|
42 |
<td><label for="validity_start">Validity start:</label></td>
|
|
43 |
<td class="pl-3"><input v-bind:value="notBefore" type="date" id="validity_start" name="validity_start" class="form-control" disabled></td>
|
|
44 |
</div>
|
|
45 |
</tr>
|
|
46 |
<tr>
|
|
47 |
<div class="form-group">
|
|
48 |
<td><label for="validity_end">Validity end:</label></td>
|
|
49 |
<td class="pl-3"><input v-bind:value="notAfter" type="date" id="validity_end" name="validity_end" class="form-control" disabled></td>
|
|
50 |
<td class="pl-3">
|
|
51 |
<span>
|
|
52 |
<input v-model="certificateData.validityDays" type="number" min="1" id="validity_days" name="validity_days" class="form-control custom-control-inline" style="width: 70px; margin-right: 0">
|
|
53 |
<label for="validity_days">days</label>
|
|
54 |
</span>
|
|
55 |
</td>
|
|
56 |
</div>
|
|
57 |
</tr>
|
|
58 |
<tr>
|
|
59 |
<td colspan="2"><h5>Issuer</h5></td>
|
|
60 |
</tr>
|
|
61 |
<tr>
|
|
62 |
<div class="form-group">
|
|
63 |
<td><label for="issuer_CN">Common Name:</label></td>
|
|
64 |
<td class="pl-3">
|
|
65 |
<input type="text" id="issuer_CN" name="issuer_CN" class="form-control" v-bind:value="selectedCAData.CN" disabled>
|
|
66 |
</td>
|
|
67 |
</div>
|
|
68 |
</tr>
|
|
69 |
<tr>
|
|
70 |
<div class="form-group">
|
|
71 |
<td><label for="issuer_C">Country Code:</label></td>
|
|
72 |
<td class="pl-3">
|
|
73 |
<input type="text" id="issuer_C" name="issuer_C" class="form-control" v-bind:value="selectedCAData.C" disabled>
|
|
74 |
</td>
|
|
75 |
</div>
|
|
76 |
</tr>
|
|
77 |
<tr>
|
|
78 |
<div class="form-group">
|
|
79 |
<td><label for="issuer_L">Locality:</label></td>
|
|
80 |
<td class="pl-3">
|
|
81 |
<input type="text" id="issuer_L" name="issuer_L" class="form-control" v-bind:value="selectedCAData.L" disabled>
|
|
82 |
</td>
|
|
83 |
</div>
|
|
84 |
</tr>
|
|
85 |
<tr>
|
|
86 |
<div class="form-group">
|
|
87 |
<td><label for="issuer_ST">Province/State:</label></td>
|
|
88 |
<td class="pl-3">
|
|
89 |
<input type="text" id="issuer_ST" name="issuer_ST" class="form-control" v-bind:value="selectedCAData.ST" disabled>
|
|
90 |
</td>
|
|
91 |
</div>
|
|
92 |
</tr>
|
|
93 |
<tr>
|
|
94 |
<div class="form-group">
|
|
95 |
<td><label for="issuer_O">Organization:</label></td>
|
|
96 |
<td class="pl-3">
|
|
97 |
<input type="text" id="issuer_O" name="issuer_O" class="form-control" v-bind:value="selectedCAData.O" disabled>
|
|
98 |
</td>
|
|
99 |
</div>
|
|
100 |
</tr>
|
|
101 |
<tr>
|
|
102 |
<div class="form-group">
|
|
103 |
<td><label for="issuer_OU">Organization Unit:</label></td>
|
|
104 |
<td class="pl-3">
|
|
105 |
<input type="text" id="issuer_OU" name="issuer_OU" class="form-control" v-bind:value="selectedCAData.OU" disabled>
|
|
106 |
</td>
|
|
107 |
</div>
|
|
108 |
</tr>
|
|
109 |
<tr>
|
|
110 |
<div class="form-group">
|
|
111 |
<td><label for="issuer_emailAddress">Email:</label></td>
|
|
112 |
<td class="pl-3">
|
|
113 |
<input type="email" id="issuer_emailAddress" name="issuer_emailAddress" class="form-control" v-bind:value="selectedCAData.emailAddress" disabled>
|
|
114 |
</td>
|
|
115 |
</div>
|
|
116 |
</tr>
|
|
117 |
<tr>
|
|
118 |
<td colspan="2"><h5>Subject</h5></td>
|
|
119 |
</tr>
|
|
120 |
<tr>
|
|
121 |
<div class="form-group">
|
|
122 |
<td><label for="subject_CN">Common Name:</label></td>
|
|
123 |
<td class="pl-3">
|
|
124 |
<input type="text" v-bind:class="{ 'is-invalid': invalidCN }" v-model:value="certificateData.subject.CN" id="subject_CN" name="subject_CN" class="form-control">
|
|
125 |
</td>
|
|
126 |
</div>
|
|
127 |
</tr>
|
|
128 |
<tr>
|
|
129 |
<div class="form-group">
|
|
130 |
<td><label for="subject_C">Country Code:</label></td>
|
|
131 |
<td class="pl-3">
|
|
132 |
<input type="text" v-model:value="certificateData.subject.C" id="subject_C" name="subject_C" class="form-control">
|
|
133 |
</td>
|
|
134 |
</div>
|
|
135 |
</tr>
|
|
136 |
<tr>
|
|
137 |
<div class="form-group">
|
|
138 |
<td><label for="subject_L">Locality:</label></td>
|
|
139 |
<td class="pl-3">
|
|
140 |
<input type="text" v-model:value="certificateData.subject.L" id="subject_L" name="subject_L" class="form-control">
|
|
141 |
</td>
|
|
142 |
</div>
|
|
143 |
</tr>
|
|
144 |
<tr>
|
|
145 |
<div class="form-group">
|
|
146 |
<td><label for="subject_ST">Province/State:</label></td>
|
|
147 |
<td class="pl-3">
|
|
148 |
<input type="text" v-model:value="certificateData.subject.ST" id="subject_ST" name="subject_ST" class="form-control">
|
|
149 |
</td>
|
|
150 |
</div>
|
|
151 |
</tr>
|
|
152 |
<tr>
|
|
153 |
<div class="form-group">
|
|
154 |
<td><label for="subject_O">Organization:</label></td>
|
|
155 |
<td class="pl-3">
|
|
156 |
<input type="text" v-model:value="certificateData.subject.O" id="subject_O" name="subject_O" class="form-control">
|
|
157 |
</td>
|
|
158 |
</div>
|
|
159 |
</tr>
|
|
160 |
<tr>
|
|
161 |
<div class="form-group">
|
|
162 |
<td><label for="subject_OU">Organization Unit:</label></td>
|
|
163 |
<td class="pl-3">
|
|
164 |
<input type="text" v-model:value="certificateData.subject.OU" id="subject_OU" name="subject_OU" class="form-control">
|
|
165 |
</td>
|
|
166 |
</div>
|
|
167 |
</tr>
|
|
168 |
<tr>
|
|
169 |
<div class="form-group">
|
|
170 |
<td><label for="subject_emailAddress">Email:</label></td>
|
|
171 |
<td class="pl-3">
|
|
172 |
<input type="email" v-model:value="certificateData.subject.emailAddress" id="subject_emailAddress" name="subject_emailAddress" class="form-control">
|
|
173 |
</td>
|
|
174 |
</div>
|
|
175 |
</tr>
|
|
176 |
<tr>
|
|
177 |
<td>Usage:</td>
|
|
178 |
<td class="form-check">
|
|
179 |
<input class="form-check-input" :disabled="isSelfSigned" v-model="certificateData.usage.CA" type="checkbox" id="isCA" name="isCA" value="CA">
|
|
180 |
<label class="form-check-label" for="isCA">CA</label><br>
|
|
177 | 181 |
|
178 |
<input class="form-check-input" v-model="certificateData.usage.digitalSignature" type="checkbox" id="isDigitalSignature" name="isDigitalSignature" value="DigitalSignature"> |
|
179 |
<label class="form-check-label" for="isDigitalSignature">Digital Signature</label><br> |
|
182 |
<input class="form-check-input" v-model="certificateData.usage.digitalSignature" type="checkbox" id="isDigitalSignature" name="isDigitalSignature" value="DigitalSignature">
|
|
183 |
<label class="form-check-label" for="isDigitalSignature">Digital Signature</label><br>
|
|
180 | 184 |
|
181 |
<input class="form-check-input" v-model="certificateData.usage.authentication" type="checkbox" id="isAuthentication" name="isAuthentication" value="Authentication"> |
|
182 |
<label class="form-check-label" for="isAuthentication">Authentication</label><br> |
|
185 |
<input class="form-check-input" v-model="certificateData.usage.authentication" type="checkbox" id="isAuthentication" name="isAuthentication" value="Authentication">
|
|
186 |
<label class="form-check-label" for="isAuthentication">Authentication</label><br>
|
|
183 | 187 |
|
184 |
<input class="form-check-input" v-model="certificateData.usage.SSL" type="checkbox" id="isSSL_TLS" name="isSSL_TLS" value="SSL_TLS"> |
|
185 |
<label class="form-check-label" for="isSSL_TLS">SSL/TLS</label><br> |
|
186 |
</td> |
|
187 |
</tr> |
|
188 |
<tr> |
|
189 |
<div class="form-group form-check"> |
|
190 |
<td><label class="form-check-label" for="specifyPasswordCheckbox" style="margin-top: 15px">Custom key:</label></td> |
|
191 |
<td class="pl-3"> |
|
192 |
<input type="checkbox" v-model="customKey" id="specifyPasswordCheckbox" name="specifyPassword" class="mb-2 form-check-input form-check"> |
|
193 |
</td> |
|
188 |
<input class="form-check-input" v-model="certificateData.usage.SSL" type="checkbox" id="isSSL_TLS" name="isSSL_TLS" value="SSL_TLS"> |
|
189 |
<label class="form-check-label" for="isSSL_TLS">SSL/TLS</label><br> |
|
190 |
</td> |
|
191 |
</tr> |
|
192 |
<tr> |
|
193 |
<div class="form-group form-check"> |
|
194 |
<td><label class="form-check-label" for="specifyPasswordCheckbox" style="margin-top: 15px">Custom key:</label></td> |
|
195 |
<td class="pl-3"> |
|
196 |
<input type="checkbox" v-model="customKey" id="specifyPasswordCheckbox" name="specifyPassword" class="mb-2 form-check-input form-check"> |
|
197 |
</td> |
|
198 |
</div> |
|
199 |
</tr> |
|
200 |
<tr v-if="customKey" v-cloak> |
|
201 |
<div class="form-group"> |
|
202 |
<td class="pl-5"><label for="key_password">Password:</label></td> |
|
203 |
<td class="pl-3"> |
|
204 |
<input type="password" v-model:value="key.password" id="key_password" name="key_password" class="form-control"> |
|
205 |
</td> |
|
206 |
</div> |
|
207 |
</tr> |
|
208 |
<tr v-if="customKey" v-cloak> |
|
209 |
<div class="form-group"> |
|
210 |
<td class="pl-5"><label for="key_pem">Private key:</label></td> |
|
211 |
<td class="pl-3"> |
|
212 |
<input type="file" v-on:change="onKeyFileChange" id="key_pem" name="key_pem" class="form-control-file"> |
|
213 |
</td> |
|
214 |
</div> |
|
215 |
</tr> |
|
216 |
<tr> |
|
217 |
<div class="form-group form-check"> |
|
218 |
<td><label class="form-check-label" for="specifyExtensionsCheckbox" style="margin-top: 15px">Custom extensions:</label></td> |
|
219 |
<td class="pl-3"> |
|
220 |
<input type="checkbox" v-model="customExtensions" id="specifyExtensionsCheckbox" name="specifyExtensions" class="mb-2 form-check-input form-check"> |
|
221 |
</td> |
|
222 |
</div> |
|
223 |
</tr> |
|
224 |
<tr v-if="customExtensions" v-cloak> |
|
225 |
<div class="form-group"> |
|
226 |
<td class="pl-5"><label for="extensions">Extensions:</label></td> |
|
227 |
<td cla ss="pl-3"> |
|
228 |
<textarea v-model:value="extensions" id="extensions" name="extensions" class="form-control mt-2"> |
|
229 |
</textarea> |
|
230 |
</td> |
|
231 |
</div> |
|
232 |
</tr> |
|
233 |
</table> |
|
234 |
<div class="container"> |
|
235 |
<div class=""> |
|
236 |
<div class="col"> |
|
237 |
<button class="btn btn-success mt-3 w-100" v-on:click="onCreateCertificate">Create certificate</button> |
|
238 |
</div> |
|
239 |
<div class="col"> |
|
240 |
<button class="btn btn-secondary mt-3 w-100" onclick="window.location.href = '/static/index.html'">Cancel</button> |
|
241 |
</div> |
|
242 |
</div> |
|
243 |
</div> |
|
194 | 244 |
</div> |
195 |
</tr> |
|
196 |
<tr v-if="customKey" v-cloak> |
|
197 |
<div class="form-group"> |
|
198 |
<td class="pl-5"><label for="key_password">Password:</label></td> |
|
199 |
<td class="pl-3"> |
|
200 |
<input type="password" v-model:value="key.password" id="key_password" name="key_password" class="form-control"> |
|
201 |
</td> |
|
202 |
</div> |
|
203 |
</tr> |
|
204 |
<tr v-if="customKey" v-cloak> |
|
205 |
<div class="form-group"> |
|
206 |
<td class="pl-5"><label for="key_pem">Private key:</label></td> |
|
207 |
<td class="pl-3"> |
|
208 |
<input type="file" v-on:change="onKeyFileChange" id="key_pem" name="key_pem" class="form-control-file"> |
|
209 |
</td> |
|
210 |
</div> |
|
211 |
</tr> |
|
212 |
<tr> |
|
213 |
<div class="form-group form-check"> |
|
214 |
<td><label class="form-check-label" for="specifyExtensionsCheckbox" style="margin-top: 15px">Custom extensions:</label></td> |
|
215 |
<td class="pl-3"> |
|
216 |
<input type="checkbox" v-model="customExtensions" id="specifyExtensionsCheckbox" name="specifyExtensions" class="mb-2 form-check-input form-check"> |
|
217 |
</td> |
|
218 |
</div> |
|
219 |
</tr> |
|
220 |
<tr v-if="customExtensions" v-cloak> |
|
221 |
<div class="form-group"> |
|
222 |
<td class="pl-5"><label for="extensions">Extensions:</label></td> |
|
223 |
<td cla ss="pl-3"> |
|
224 |
<textarea v-model:value="extensions" id="extensions" name="extensions" class="form-control mt-2"> |
|
225 |
</textarea> |
|
226 |
</td> |
|
227 |
</div> |
|
228 |
</tr> |
|
229 |
<tr> |
|
230 |
<td align="center"> |
|
231 |
<button class="btn btn-success mt-3 w-auto" v-on:click="onCreateCertificate">Create certificate</button> |
|
232 |
</td> |
|
233 |
<td align="center"> |
|
234 |
<button class="btn btn-secondary mt-3 w-75" onclick="window.location.href = '/static/index.html'">Cancel</button> |
|
235 |
</td> |
|
236 |
</tr> |
|
237 |
</table> |
|
245 |
</div> |
|
246 |
<div class="col-lg-2"></div> |
|
247 |
</div> |
|
238 | 248 |
</div> |
239 | 249 |
|
240 | 250 |
<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script> |
Také k dispozici: Unified diff
Re #8701 - Design improvements of GUI