Add iOS mobile polish
This commit is contained in:
1 parent
9f1bb2c351
commit
2932cbb5b2
3 files changed
+189
-29
No files matched your search
@@ -125,6 +125,26 @@ $jsVersion = is_file(base_path('assets/js/app.js')) ? (string) filemtime(base_pa
|
||||
</footer>
|
||||
<?php endif; ?>
|
||||
</main>
|
||||
<?php if ($authUser !== null): ?>
|
||||
<nav class="ios-tabbar" aria-label="Mobile Navigation">
|
||||
<a class="<?= $page === 'dashboard' && ($dashboardView ?? 'day') === 'day' ? 'active' : '' ?>" href="/?view=day&date=<?= e(rawurlencode(today())) ?>">
|
||||
<span class="ios-tabbar__icon" aria-hidden="true"></span>
|
||||
<span>Heute</span>
|
||||
</a>
|
||||
<a class="<?= $page === 'dashboard' && ($dashboardView ?? '') === 'week' ? 'active' : '' ?>" href="/?view=week&date=<?= e(rawurlencode(today())) ?>">
|
||||
<span class="ios-tabbar__icon" aria-hidden="true"></span>
|
||||
<span>Woche</span>
|
||||
</a>
|
||||
<a class="<?= $page === 'dashboard' && ($dashboardView ?? '') === 'month' ? 'active' : '' ?>" href="/?view=month&date=<?= e(rawurlencode(today())) ?>">
|
||||
<span class="ios-tabbar__icon" aria-hidden="true"></span>
|
||||
<span>Monat</span>
|
||||
</a>
|
||||
<a class="<?= $page === 'options' ? 'active' : '' ?>" href="/options">
|
||||
<span class="ios-tabbar__icon" aria-hidden="true"></span>
|
||||
<span>Optionen</span>
|
||||
</a>
|
||||
</nav>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user