Repository: airavata-php-gateway Updated Branches: refs/heads/master ad2035277 -> 2fb0e4c29
Notification Icon UI Project: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/repo Commit: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/commit/a14cd91a Tree: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/tree/a14cd91a Diff: http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/diff/a14cd91a Branch: refs/heads/master Commit: a14cd91ae4caac5dff18a7dd9cbd725a6c0635cd Parents: ad20352 Author: Nipurn Doshi <[email protected]> Authored: Tue Apr 26 11:13:19 2016 -0400 Committer: Nipurn Doshi <[email protected]> Committed: Tue Apr 26 11:13:19 2016 -0400 ---------------------------------------------------------------------- app/libraries/CommonUtilities.php | 4 ++++ public/css/bootstrap.min.css | 15 +++++++++++++++ 2 files changed, 19 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/a14cd91a/app/libraries/CommonUtilities.php ---------------------------------------------------------------------- diff --git a/app/libraries/CommonUtilities.php b/app/libraries/CommonUtilities.php index 92a8d31..bfb1e5c 100644 --- a/app/libraries/CommonUtilities.php +++ b/app/libraries/CommonUtilities.php @@ -212,6 +212,10 @@ class CommonUtilities if ("user-console" == Session::get("nav-active")) $active = " active "; } + echo '<li style="color:#fff; relative">' . + '<span class="glyphicon glyphicon-bell notif-bell"></span>' . + '<span class="notif-num" style="">2</span>' . + '</li>'; if (Session::has("admin") || Session::has("admin-read-only")) echo '<li class="' . $active . '"><a href="' . URL::to("/") . '/admin/dashboard"><span class="glyphicon glyphicon-user"></span>Admin Dashboard</a></li>'; // else http://git-wip-us.apache.org/repos/asf/airavata-php-gateway/blob/a14cd91a/public/css/bootstrap.min.css ---------------------------------------------------------------------- diff --git a/public/css/bootstrap.min.css b/public/css/bootstrap.min.css index 55f50ef..715c62e 100644 --- a/public/css/bootstrap.min.css +++ b/public/css/bootstrap.min.css @@ -62,4 +62,19 @@ body{ .tab-content>.tab-pane { margin-top: 20px; + } + + .notif-bell{ + margin:15px; + font-size:1.5em; + } + + .notif-num{ + background: red; + border-radius: 20px; + padding: 7px; + position: absolute; + top: 0px; + left: 50%; + font-size: 0.6em; } \ No newline at end of file
