mirror of
https://github.com/DirectoryLister/DirectoryLister.git
synced 2025-09-02 02:12:37 +02:00
Refactored views
This commit is contained in:
@@ -1,15 +1,13 @@
|
||||
{% extends 'layouts/app.twig' %}
|
||||
|
||||
{% block content %}
|
||||
<div class="flex flex-col h-screen">
|
||||
{% include 'components/header.twig' %}
|
||||
{% include 'components/header.twig' %}
|
||||
|
||||
<div id="content" class="flex-grow container flex justify-center items-center mx-auto px-4">
|
||||
<p class="font-sans font-light text-4xl text-gray-600">
|
||||
404 • Not Found
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{% include 'components/footer.twig' %}
|
||||
<div id="content" class="flex-grow container flex justify-center items-center mx-auto px-4">
|
||||
<p class="font-sans font-light text-4xl text-gray-600">
|
||||
404 • Not Found
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{% include 'components/footer.twig' %}
|
||||
{% endblock %}
|
||||
|
@@ -3,7 +3,7 @@
|
||||
{% block content %}
|
||||
{% include "components/header.twig" %}
|
||||
|
||||
<div id="content" class="container mx-auto px-4">
|
||||
<div id="content" class="flex-grow container mx-auto px-4">
|
||||
<ul id="file-list" class="py-4">
|
||||
<div class="flex justify-between font-bold p-4">
|
||||
<div class="flex-grow mr-2">
|
||||
|
@@ -9,6 +9,6 @@
|
||||
|
||||
<title>Directory Lister</title>
|
||||
|
||||
<div id="app" class="font-mono min-h-screen z-0 {{ config('dark_mode') ? 'dark-mode' : '' }}">
|
||||
<div id="app" class="flex flex-col min-h-screen font-mono {{ config('dark_mode') ? 'dark-mode' : '' }}">
|
||||
{% block content %}{% endblock %}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user