summaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2019-01-12 20:40:39 -0500
committerMalf Furious <m@lfurio.us>2019-01-12 20:40:39 -0500
commitbbb93fb3059af61514699da3fd5fad2fffc05cfa (patch)
tree6846ed11416ccb7302af5c4b1141cc89bd3100f2 /app
parentc7601e5305295a635c6ddac61816aac77caa7bb7 (diff)
downloadscrott-bbb93fb3059af61514699da3fd5fad2fffc05cfa.tar.gz
scrott-bbb93fb3059af61514699da3fd5fad2fffc05cfa.zip
Add tooltips to navbar buttons
Since there is little text labeling things in the navbar, I have added popup tooltips to each button (link) and dropdown menu. Signed-off-by: Malf Furious <m@lfurio.us>
Diffstat (limited to 'app')
-rw-r--r--app/view/stdpage.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/app/view/stdpage.php b/app/view/stdpage.php
index 99cbb25..c57a156 100644
--- a/app/view/stdpage.php
+++ b/app/view/stdpage.php
@@ -195,7 +195,7 @@ require_once "view/settings.php";
<span class="icon-bar"></span>
</button>
- <a href="<?=ar()?>/" class="navbar-brand">
+ <a href="<?=ar()?>/" class="navbar-brand" title="Dashboard">
<span class="glyphicon glyphicon-pencil"></span> Scrott
</a>
</div>
@@ -205,12 +205,12 @@ require_once "view/settings.php";
<p class="navbar-text navbar-right"><i>Not Logged In&nbsp;&nbsp;&nbsp;</i></p>
<?php } else { ?>
<ul class="nav navbar-nav">
- <li><a href="<?=ap()?>"><span class="glyphicon glyphicon-refresh"></span></a></li>
- <li><a href="<?=ar()?>/groups"><span class="glyphicon glyphicon-th"></span></a></li>
- <li><a href="<?=ar()?>/pads"><span class="glyphicon glyphicon-edit"></span></a></li>
+ <li><a href="<?=ap()?>" title="Reload Content"><span class="glyphicon glyphicon-refresh"></span></a></li>
+ <li><a href="<?=ar()?>/groups" title="My Groups"><span class="glyphicon glyphicon-th"></span></a></li>
+ <li><a href="<?=ar()?>/pads" title="My Pads"><span class="glyphicon glyphicon-edit"></span></a></li>
<li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
+ <a href="#" class="dropdown-toggle" title="Quickjump" data-toggle="dropdown" aria-expanded="false">
<?=getPageName()?> <span class="caret"></span>
</a>
@@ -222,7 +222,7 @@ require_once "view/settings.php";
</li>
<li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
+ <a href="#" class="dropdown-toggle" title="Create Something" data-toggle="dropdown" aria-expanded="false">
<span class="glyphicon glyphicon-plus"></span> <span class="caret"></span>
</a>
@@ -240,7 +240,7 @@ require_once "view/settings.php";
<ul class="nav navbar-nav navbar-right">
<li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
+ <a href="#" class="dropdown-toggle" title="Options" data-toggle="dropdown" aria-expanded="false">
<?php if (\user::getCurrent()->admin == 1) { ?>
<span class="glyphicon glyphicon-sunglasses"></span>
<?php } ?>