User name in navbar now links to Portal home

master
Skylar Ittner 7 years ago
parent a2dd49f661
commit 0ea4348fea

@ -108,7 +108,7 @@ if (!is_empty($_GET['page'])) {
}
?></ul>
<ul class="nav navbar-nav navbar-right">
<li><span class="navbar-text navbar-link"><i class="fa fa-user fa-fw"></i> <?php echo $_SESSION['realname'] ?></span></li>
<li><a href="<?php echo PORTAL_URL; ?>"><i class="fa fa-user fa-fw"></i> <?php echo $_SESSION['realname'] ?></a></li>
<li><a href="action.php?action=signout"><i class="fa fa-sign-out fa-fw"></i> <?php lang("sign out") ?></a></li>
</ul>
</div>

@ -1,4 +1,5 @@
auxiliary.org-netbeans-modules-html-editor-lib.default-html-public-id=-//W3C//DTD HTML 4.01 Transitional//EN
browser.reload.on.save=true
include.path=${php.global.include.path}
php.version=PHP_70
source.encoding=UTF-8

@ -28,7 +28,9 @@ define("ICON_POSITION", "menu");
define("MENU_BAR_STYLE", "fixed");
// URL of the Business Portal API endpoint
define("PORTAL_API", "http://localhost:8000/api.php");
define("PORTAL_API", "http://localhost/portal/api.php");
// URL of the Portal home page
define("PORTAL_URL", "http://localhost/portal/home.php");
// Business Portal API Key
define("PORTAL_KEY", "123");
@ -36,7 +38,7 @@ define("PORTAL_KEY", "123");
define("TIMEZONE", "America/Denver");
// Base URL for site links.
define('URL', 'http://localhost:8000/');
define('URL', 'http://localhost/taskfloor/');
// Use reCAPTCHA on login screen
// https://www.google.com/recaptcha/

@ -1,4 +1,4 @@
@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,700");/*!
/*@import url("https://fonts.googleapis.com/css?family=Roboto:300,400,500,700");/*!
* bootswatch v3.3.7
* Homepage: http://bootswatch.com
* Copyright 2012-2017 Thomas Park

Loading…
Cancel
Save