shortened xp/lvl info for main menu
This commit is contained in:
parent
9d930c548a
commit
dd5c4302c3
2 changed files with 2 additions and 1 deletions
|
|
@ -23,7 +23,7 @@
|
|||
<label for="toggle" class="toggle" onclick><a id="navicon"><i class="fa fa-bars"></i>Menü</a></label>
|
||||
<?php if(!is_null($loggedUser)) : ?>
|
||||
<?php if(!is_null($loggedCharacter)) : ?>
|
||||
<a href="<?=$linker->link(array('characters','character',$loggedSeminary['url'],$loggedCharacter['url']))?>" id="profile"><i class="fa fa-user fa-fw"></i><?=$loggedCharacter['name']?> (<?=$loggedCharacter['xps']?> XPs, <?=$loggedCharacter['xplevel']?>)</a>
|
||||
<a href="<?=$linker->link(array('characters','character',$loggedSeminary['url'],$loggedCharacter['url']))?>" id="profile"><i class="fa fa-user fa-fw"></i><?=$loggedCharacter['name']?><span class="circlenote"><?=$loggedCharacter['xps']?></span></a>
|
||||
<?php else : ?>
|
||||
<a href="<?=$linker->link(array('users',$loggedUser['url']))?>" id="profile"><i class="fa fa-user fa-fw"></i><?=$loggedUser['username']?></a>
|
||||
<?php endif ?>
|
||||
|
|
|
|||
|
|
@ -68,6 +68,7 @@ menu li{display:block;margin:0 5%}
|
|||
menu a,#profile{display:block;padding:15px 0;color:#fff}
|
||||
|
||||
#profile{float:right}
|
||||
.circlenote{margin-left:15px;background:#bcd75e;border-radius:0.8em;display:inline-block;color:#0f373c;font-weight:bold;line-height:1.6em;text-align:center;width:1.6em;font-size:.8em}
|
||||
|
||||
#toggle,.toggle{display:none}
|
||||
.toggle{display:inline-block;padding:15px 15px 15px 0;position:relative;cursor:pointer;-webkit-touch-callout:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;user-select:none}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue