wisski-cloud-distillery/internal/dis/component/server/admin/html/index.html
2023-04-12 14:07:01 +02:00

80 lines
No EOL
2.2 KiB
HTML

<div class="pure-u-1-1">
<h2 id="backups">Backups</h2>
<p>
<button class="remote-action pure-button pure-button-action" data-action="backup" data-buffer="1000" data-force-reload>Make a Backup</button>
</p>
</div>
<div class="pure-u-1">
<table class="pure-table pure-table-bordered padding">
<thead>
<tr>
<th>Path</th>
<th>Created</th>
<th>Packed</th>
</tr>
</thead>
<tbody>
{{ range .Backups }}
<tr>
<td>
<code class="path">{{ .Path }}</code>
</td>
<td>
<code class="date">{{ .Created.Format "2006-01-02T15:04:05Z07:00" }}</code>
</td>
<td>
{{ .Packed }}
</td>
</tr>
{{ end}}
</tbody>
</table>
</div>
<div class="pure-u-1-1">
<h2 id="overview">Distillery Configuration</h2>
</div>
<div class="pure-u-1-1">
<pre>
<code class="language-yaml">{{ .Config.MarshalSensitive }}</code>
</pre>
</div>
<div class="pure-u-1-1">
<h2 id="overview">Distillery Passwords</h2>
<table class="pure-table pure-table-bordered padding">
<thead>
<tr>
<th>Service</th>
<th>Username</th>
<th>Password</th>
</tr>
</thead>
<tbody>
<tr>
<td>
SQL
</td>
<td>
<code class="copy">{{ .Config.SQL.AdminUsername }}</code>
</td>
<td>
<span data-reveal="{{ .Config.SQL.AdminPassword }}"></span>
</td>
</tr>
<tr>
<td>
Triplestore
</td>
<td>
<code class="copy">{{ .Config.TS.AdminUsername }}</code>
</td>
<td>
<span data-reveal="{{ .Config.TS.AdminPassword }}"></span>
</td>
</tr>
</tbody>
</table>
</div>