Compare commits
3
Commits
dcbc602d88
..
0.2.3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
114f8b1e1b | ||
|
|
a1604206ee | ||
|
|
a107745355 |
No files matched your search
+1
-1
@@ -1 +1 @@
|
|||||||
0.2.2
|
0.2.3
|
||||||
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
@@ -10,22 +10,19 @@
|
|||||||
height:40px; box-sizing:border-box; font-size:14px; line-height:1; margin:0;
|
height:40px; box-sizing:border-box; font-size:14px; line-height:1; margin:0;
|
||||||
}
|
}
|
||||||
.frow select { min-width:0; width:100%; padding:0 30px 0 12px; background-position:right 10px center; }
|
.frow select { min-width:0; width:100%; padding:0 30px 0 12px; background-position:right 10px center; }
|
||||||
/* The ufw switch hangs under the button, centred on it, level with the note. */
|
/* Under the fields: the note, and the ufw switch at the right, under the
|
||||||
.frow .act { position:relative; }
|
button - on a line of its own when the room runs out, never over the note. */
|
||||||
.frow .act label.check {
|
.under { display:flex; align-items:flex-start; justify-content:space-between; gap:8px 16px; flex-wrap:wrap;
|
||||||
position:absolute; top:100%; left:50%; transform:translateX(-50%);
|
min-height:20px; margin:12px 0 0; font-size:13px; line-height:20px; }
|
||||||
display:inline-flex; align-items:center; gap:8px; height:20px; margin:12px 0 0;
|
.under #note { flex:1 1 240px; min-width:0; }
|
||||||
color:var(--text); font-size:14px; cursor:pointer;
|
.under label.check { flex:none; display:inline-flex; align-items:center; gap:8px; height:20px; margin:0 0 0 auto;
|
||||||
}
|
color:var(--text); font-size:14px; cursor:pointer; white-space:nowrap; }
|
||||||
.under { min-height:20px; margin:12px 110px 0 0; font-size:13px; line-height:20px; }
|
|
||||||
/* Phones: two fields a line, the label and the button each a line of their own. */
|
/* Phones: two fields a line, the label and the button each a line of their own. */
|
||||||
@media (max-width: 640px) {
|
@media (max-width: 640px) {
|
||||||
.frow .fld, .frow .fld.addr { width:calc(50% - 6px); }
|
.frow .fld, .frow .fld.addr { width:calc(50% - 6px); }
|
||||||
.frow .fld.grow { flex:1 1 100%; }
|
.frow .fld.grow { flex:1 1 100%; }
|
||||||
.frow .act { display:flex; align-items:center; gap:16px; width:100%; }
|
.frow .act { width:100%; }
|
||||||
.frow .act button { flex:1; }
|
.frow .act button { width:100%; }
|
||||||
.frow .act label.check { position:static; transform:none; margin:0; }
|
|
||||||
.under { margin-right:0; }
|
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<div class="wrap">
|
<div class="wrap">
|
||||||
@@ -94,14 +91,15 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="act">
|
<div class="act">
|
||||||
<button type="submit">Создать</button>
|
<button type="submit">Создать</button>
|
||||||
{{if .UfwEnabled}}
|
|
||||||
<label class="check" title="Порт не будет открыт в ufw, и при удалении правила в ufw ничего не изменится">
|
|
||||||
<input type="checkbox" name="no_ufw" value="1"> Без ufw
|
|
||||||
</label>
|
|
||||||
{{end}}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="under"><span class="muted" id="note"></span></div>
|
<div class="under"><span class="muted" id="note"></span>
|
||||||
|
{{if .UfwEnabled}}
|
||||||
|
<label class="check" title="Порт не будет открыт в ufw, и при удалении правила в ufw ничего не изменится">
|
||||||
|
<input type="checkbox" name="no_ufw" value="1"> Без ufw
|
||||||
|
</label>
|
||||||
|
{{end}}
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user