refactor(templates/index.html): adapt urls for blueprints
This commit is contained in:
@@ -9,11 +9,11 @@
|
|||||||
<body>
|
<body>
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<header>
|
<header>
|
||||||
<h1><a href="{{ url_for('index') }}">judas</a></h1>
|
<h1><a href="{{ url_for('index.index') }}">judas</a></h1>
|
||||||
{% if logged %}
|
{% if logged %}
|
||||||
<p><a class="button" href="{{ url_for('logout') }}">Logout</a></p>
|
<p><a class="button" href="{{ url_for('auth.logout') }}">Logout</a></p>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p><a class="button" href="{{ url_for('login') }}">Login</a></p>
|
<p><a class="button" href="{{ url_for('auth.login') }}">Login</a></p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</header>
|
</header>
|
||||||
<main class="center">
|
<main class="center">
|
||||||
@@ -24,9 +24,9 @@
|
|||||||
</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>
|
<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 %}
|
{% if logged %}
|
||||||
<p><a class="button" href="{{ url_for('panel') }}">Go to panel</a></p>
|
<p><a class="button" href="{{ url_for('panel.panel') }}">Go to panel</a></p>
|
||||||
{% else %}
|
{% else %}
|
||||||
<p>Please <a href="{{ url_for('login')}}" class="link">log in</a> to manage your remote PCs.</p>
|
<p>Please <a href="{{ url_for('auth.login')}}" class="link">log in</a> to manage your remote PCs.</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user