refactor(index.html): move elements from main to #content
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
<body>
|
<body>
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<header>
|
<header>
|
||||||
<h1><a href="{{ url_for('index.index') }}">judas</a></h1>
|
<h2><a href="{{ url_for('index.index') }}">judas</a></h2>
|
||||||
{% if logged %}
|
{% if logged %}
|
||||||
<p><a class="button" href="{{ url_for('auth.logout') }}">Logout</a></p>
|
<p><a class="button" href="{{ url_for('auth.logout') }}">Logout</a></p>
|
||||||
{% else %}
|
{% else %}
|
||||||
@@ -17,17 +17,19 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</header>
|
</header>
|
||||||
<main class="center">
|
<main class="center">
|
||||||
<div>
|
<div id="content">
|
||||||
<p>Welcome to</p>
|
<div>
|
||||||
<h2 id="typing-text" style="font-size: 3rem;">judas</h2>
|
<p>Welcome to</p>
|
||||||
<p>a remote PC fleet management system</p>
|
<h2 id="typing-text" style="font-size: 3rem;">judas</h2>
|
||||||
|
<p>a remote PC fleet management system</p>
|
||||||
|
</div>
|
||||||
|
<p style="color: var(--ctp-red);"><strong>Notice:</strong> Please use this system responsibly and in accordance with all applicable laws and organizational policies.</p>
|
||||||
|
{% if logged %}
|
||||||
|
<p><a class="button" href="{{ url_for('panel.panel') }}">Go to panel</a></p>
|
||||||
|
{% else %}
|
||||||
|
<p>Please <a href="{{ url_for('auth.login')}}" class="link">log in</a> to manage your remote PCs.</p>
|
||||||
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<p style="color: #bf616a;"><strong>Notice:</strong> Please use this system responsibly and in accordance with all applicable laws and organizational policies.</p>
|
|
||||||
{% if logged %}
|
|
||||||
<p><a class="button" href="{{ url_for('panel.panel') }}">Go to panel</a></p>
|
|
||||||
{% else %}
|
|
||||||
<p>Please <a href="{{ url_for('auth.login')}}" class="link">log in</a> to manage your remote PCs.</p>
|
|
||||||
{% endif %}
|
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
Reference in New Issue
Block a user