User name in navbar now links to Portal home
This commit is contained in:
parent
a2dd49f661
commit
0ea4348fea
2
app.php
2
app.php
@ -108,7 +108,7 @@ if (!is_empty($_GET['page'])) {
|
|||||||
}
|
}
|
||||||
?></ul>
|
?></ul>
|
||||||
<ul class="nav navbar-nav navbar-right">
|
<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>
|
<li><a href="action.php?action=signout"><i class="fa fa-sign-out fa-fw"></i> <?php lang("sign out") ?></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
auxiliary.org-netbeans-modules-html-editor-lib.default-html-public-id=-//W3C//DTD HTML 4.01 Transitional//EN
|
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}
|
include.path=${php.global.include.path}
|
||||||
php.version=PHP_70
|
php.version=PHP_70
|
||||||
source.encoding=UTF-8
|
source.encoding=UTF-8
|
||||||
|
@ -28,7 +28,9 @@ define("ICON_POSITION", "menu");
|
|||||||
define("MENU_BAR_STYLE", "fixed");
|
define("MENU_BAR_STYLE", "fixed");
|
||||||
|
|
||||||
// URL of the Business Portal API endpoint
|
// 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
|
// Business Portal API Key
|
||||||
define("PORTAL_KEY", "123");
|
define("PORTAL_KEY", "123");
|
||||||
|
|
||||||
@ -36,7 +38,7 @@ define("PORTAL_KEY", "123");
|
|||||||
define("TIMEZONE", "America/Denver");
|
define("TIMEZONE", "America/Denver");
|
||||||
|
|
||||||
// Base URL for site links.
|
// Base URL for site links.
|
||||||
define('URL', 'http://localhost:8000/');
|
define('URL', 'http://localhost/taskfloor/');
|
||||||
|
|
||||||
// Use reCAPTCHA on login screen
|
// Use reCAPTCHA on login screen
|
||||||
// https://www.google.com/recaptcha/
|
// https://www.google.com/recaptcha/
|
||||||
|
2
static/css/bootstrap.min.css
vendored
2
static/css/bootstrap.min.css
vendored
@ -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
|
* bootswatch v3.3.7
|
||||||
* Homepage: http://bootswatch.com
|
* Homepage: http://bootswatch.com
|
||||||
* Copyright 2012-2017 Thomas Park
|
* Copyright 2012-2017 Thomas Park
|
||||||
|
Loading…
x
Reference in New Issue
Block a user