21 lines
927 B
HTML
21 lines
927 B
HTML
{% extends "base.html" %}
|
|
{% block title %}Podgląd Backupu - /etc/hosts Manager{% endblock %}
|
|
{% block extra_css %}
|
|
{{ super() }}
|
|
<!-- Highlight.js CSS dla podświetlania składni -->
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/styles/default.min.css">
|
|
{% endblock %}
|
|
{% block content %}
|
|
<h2>Podgląd Backupu</h2>
|
|
<p><strong>Data:</strong> {{ backup.created_at.strftime("%Y-%m-%d %H:%M:%S") }}</p>
|
|
<p><strong>Opis:</strong> {{ backup.description }}</p>
|
|
<pre><code class="bash">{{ backup.content | e }}</code></pre>
|
|
<a href="{{ url_for('backups') }}" class="btn btn-secondary mt-3">Powrót do listy backupów</a>
|
|
{% endblock %}
|
|
{% block extra_js %}
|
|
{{ super() }}
|
|
<!-- Highlight.js JS dla podświetlania składni -->
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.7.0/highlight.min.js"></script>
|
|
<script>hljs.highlightAll();</script>
|
|
{% endblock %}
|