D1 Part 3 leftovers: remove 8 residual emoji + Python emoji gate
- The D0 grep gate false-negatived multibyte emoji on Windows (its zero was wrong). scripts/emoji_gate.py scans by Unicode codepoint; it found 8 survivors: backups.html (📁→file-text icon, 🔄 restore-info text), debug.html (🔄→'fut', 🔒→'titkosított'), deploy.html (📦→upload icon, ★ default-marker → '(alapértelmezett)'), storage.html (📦→upload icon, 📦 in the migrate-target option → plain text). All → sprite icons or plain words. - Gates: scripts/emoji_gate.py = 0; new Go TestNoEmojiInTemplates codepoint scan keeps it enforced (allowlist: ✓✗✔✘•●○■▶ monochrome text marks). go build/vet/test ./... green (18 pkgs).
This commit is contained in:
@@ -102,7 +102,7 @@
|
||||
<div class="storage-app-row">
|
||||
<a href="/apps/{{.Stack}}" class="storage-app-link">{{.Name}}</a>
|
||||
{{if .SizeHuman}}<span class="mono form-hint">{{.SizeHuman}}</span>{{end}}
|
||||
<span class="btn btn-xs btn-outline" style="opacity:.45;cursor:not-allowed" title="Hamarosan">📦 Mozgatás</span>
|
||||
<span class="btn btn-xs btn-outline" style="opacity:.45;cursor:not-allowed" title="Hamarosan"><svg class="ico ico-sm"><use href="#i-upload"/></svg> Mozgatás</span>
|
||||
</div>
|
||||
{{end}}
|
||||
</div>
|
||||
@@ -151,7 +151,7 @@
|
||||
{{$src := .Path}}
|
||||
<span class="migrate-inline" style="display:inline-flex;gap:.35rem;align-items:center">
|
||||
<select id="migrate-target-{{.Path}}" class="btn btn-xs btn-outline">
|
||||
<option value="">📦 Áthelyezés ide…</option>
|
||||
<option value="">Áthelyezés ide…</option>
|
||||
{{range $.StoragePaths}}{{if and (ne .Path $src) .Schedulable (not .Disconnected) (not .Decommissioned)}}<option value="{{.Path}}">{{.Label}} ({{.Path}})</option>{{end}}{{end}}
|
||||
</select>
|
||||
<button class="btn btn-xs btn-outline" onclick="storageMigrateAll('{{.Path}}','{{.Label}}')">Összes adat áthelyezése</button>
|
||||
|
||||
Reference in New Issue
Block a user