mirror of
https://github.com/hugo-fixit/FixIt.git
synced 2026-08-24 15:28:57 +00:00
19 lines
930 B
HTML
19 lines
930 B
HTML
{{- $params := partial "function/params.html" -}}
|
|
|
|
{{- if $params.password -}}
|
|
{{- $msg := $params.message | default (T "single.encryptedMessage") -}}
|
|
{{- $loading := resources.Get "images/loading.svg" | minify -}}
|
|
<div class="fixit-decryptor-container">
|
|
<img class="fixit-decryptor-loading" src="{{ $loading.RelPermalink }}" alt="decryptor loading" />
|
|
<label for="fixit-decryptor-input" title='{{ T "single.password" }}'>
|
|
<input type="password" id="fixit-decryptor-input" class="fixit-decryptor-input d-none" placeholder="🔑 {{ $msg }}" />
|
|
</label>
|
|
<button class="fixit-decryptor-btn d-none">
|
|
{{- dict "Class" "fa-solid fa-unlock" | partial "plugin/icon.html" }} {{ T "single.enterBtn" -}}
|
|
</button>
|
|
<button class="fixit-encryptor-btn d-none">
|
|
{{- dict "Class" "fa-solid fa-lock" | partial "plugin/icon.html" }} {{ T "single.encryptyAgain" -}}
|
|
</button>
|
|
</div>
|
|
{{- end -}}
|