Spaces:
Running
Running
Update src/templates/base.html
Browse fileshidden settings page for setup wizard users to stop them from accessing pages for completely unboarded users.
- src/templates/base.html +7 -2
src/templates/base.html
CHANGED
|
@@ -244,11 +244,16 @@ input[type="password"] {
|
|
| 244 |
<a href="{{ url_for('main.help_page') }}" class="icon-btn">?</a>
|
| 245 |
|
| 246 |
{% if session.get('user_id') %}
|
| 247 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 248 |
<a href="{{ url_for('auth.logout') }}" class="logout-btn" title="Logout">➜]</a>
|
| 249 |
{% endif %}
|
| 250 |
</div>
|
| 251 |
-
|
|
|
|
| 252 |
{% block content %}{% endblock %}
|
| 253 |
</body>
|
| 254 |
</html>
|
|
|
|
| 244 |
<a href="{{ url_for('main.help_page') }}" class="icon-btn">?</a>
|
| 245 |
|
| 246 |
{% if session.get('user_id') %}
|
| 247 |
+
|
| 248 |
+
{% if request.endpoint != 'main.setup' %}
|
| 249 |
+
<a href="{{ url_for('main.settings') }}" class="icon-btn">⚙️</a>
|
| 250 |
+
{% endif %}
|
| 251 |
+
|
| 252 |
<a href="{{ url_for('auth.logout') }}" class="logout-btn" title="Logout">➜]</a>
|
| 253 |
{% endif %}
|
| 254 |
</div>
|
| 255 |
+
</div>
|
| 256 |
+
|
| 257 |
{% block content %}{% endblock %}
|
| 258 |
</body>
|
| 259 |
</html>
|