31 lines
941 B
HTML
31 lines
941 B
HTML
{% extends "base.html" %}
|
|
{% block title %}Edytuj lokalny Hosts - /etc/hosts Manager{% endblock %}
|
|
{% block extra_css %}
|
|
{{ super() }}
|
|
<style>
|
|
.tooltip-inner {
|
|
max-width: 300px;
|
|
text-align: left;
|
|
}
|
|
</style>
|
|
{% endblock %}
|
|
{% block content %}
|
|
<div class="card mb-4">
|
|
<div class="card-header">
|
|
<h2>Edytuj /etc/hosts</h2>
|
|
</div>
|
|
<div class="card-body">
|
|
<form method="POST" action="{{ url_for('edit_local_hosts') }}">
|
|
<div class="mb-3">
|
|
<label for="hosts_content" class="form-label">Treść /etc/hosts</label>
|
|
<textarea class="form-control" id="hosts_content" name="hosts_content" rows="15" required>{{ content }}</textarea>
|
|
</div>
|
|
<button type="submit" class="btn btn-primary">Zapisz zmiany</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<div class="mt-3 text-center">
|
|
<a href="{{ url_for('dashboard') }}" class="btn btn-secondary">Przejdź do pulpitu</a>
|
|
</div>
|
|
{% endblock %}
|