| 123456789101112131415161718192021222324 |
- {% extends "admin/base.html" %}
- {% block content %}
- <div class="bg-white rounded-lg shadow-lg p-4 sm:p-6">
- <h2 class="text-xl sm:text-2xl font-bold text-gray-800 mb-4 sm:mb-6">{{ _("Editar Configuración de Squid") }}</h2>
-
- <form method="POST" class="space-y-4">
- <input type="hidden" name="csrf_token" value="{{ csrf_token() }}"/>
- <div>
- <label class="block text-sm font-medium text-gray-700 mb-2">{{ _("Contenido del archivo squid.conf:") }}</label>
- <textarea name="config_content" rows="30" class="w-full p-4 border border-gray-300 rounded-lg font-mono text-sm focus:ring-2 focus:ring-blue-500 focus:border-transparent">{{ config_content }}</textarea>
- </div>
-
- <div class="flex flex-col sm:flex-row gap-2 sm:space-x-4 sm:gap-0">
- <button type="submit" class="bg-green-500 hover:bg-green-600 text-white px-6 py-2 rounded-lg transition-colors">
- <i class="fas fa-save mr-2"></i>{{ _("Guardar Cambios") }}
- </button>
- <a href="/admin/config" class="bg-gray-500 hover:bg-gray-600 text-white px-6 py-2 rounded-lg transition-colors text-center">
- <i class="fas fa-times mr-2"></i>{{ _("Cancelar") }}
- </a>
- </div>
- </form>
- </div>
- {% endblock %}
|