26 lines
755 B
HTML
26 lines
755 B
HTML
{{ define "main" }}
|
|
<div class="article-content creds-card">
|
|
<h1>{{ .Title }}</h1>
|
|
|
|
{{ if .Params.description }}
|
|
<p>{{ .Params.description }}</p>
|
|
{{ end }}
|
|
|
|
{{ if .Params.service }}
|
|
<p class="text-muted mb-2"><strong>Сервис:</strong> {{ .Params.service }}</p>
|
|
{{ end }}
|
|
|
|
<div class="encrypted-data" id="encrypted-{{ .File.ContentBaseName }}">
|
|
{{ .Plain | base64Encode }}
|
|
</div>
|
|
|
|
<div class="decrypted-fields" id="decrypted-{{ .File.ContentBaseName }}" style="display: none;">
|
|
<!-- Decrypted content will be inserted here -->
|
|
</div>
|
|
|
|
<button class="btn btn-primary mt-3 decrypt-btn" data-id="{{ .File.ContentBaseName }}">
|
|
Расшифровать
|
|
</button>
|
|
</div>
|
|
{{ end }}
|