Show Time Tracking only for logged in users.
This commit is contained in:
@@ -6,6 +6,12 @@
|
|||||||
<p>Track your work hours easily and efficiently</p>
|
<p>Track your work hours easily and efficiently</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{% if not g.user %}
|
||||||
|
|
||||||
|
Please <a href="{{ url_for('login') }}">login</a> or <a href="{{ url_for('register') }}">register</a> to access your dashboard.
|
||||||
|
|
||||||
|
{% else %}
|
||||||
|
|
||||||
<div class="timetrack-container">
|
<div class="timetrack-container">
|
||||||
<h2>Time Tracking</h2>
|
<h2>Time Tracking</h2>
|
||||||
|
|
||||||
@@ -81,6 +87,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<div class="features">
|
<div class="features">
|
||||||
<div class="feature">
|
<div class="feature">
|
||||||
<h3>Easy Time Tracking</h3>
|
<h3>Easy Time Tracking</h3>
|
||||||
|
|||||||
Reference in New Issue
Block a user