forked from IntelliHome/Google-at-Home
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WebUI IntelliHome#7] Added a layout for the user panel
- Loading branch information
skullbocks
committed
Jul 13, 2014
1 parent
a215a66
commit 88821ac
Showing
2 changed files
with
79 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<ul class="nav navbar-nav navbar-right"> | ||
<li class="dropdown"> | ||
<a href="#" class="dropdown-toggle" data-toggle="dropdown"> | ||
<!-- Insert image of the user if it is big enough --> | ||
<span class="glyphicon glyphicon-user"></span> | ||
<b>Nombre</b> | ||
<span class="glyphicon glyphicon-chevron-down"></span> | ||
<b class="caret"></b> | ||
</a> | ||
<ul class="dropdown-menu"> | ||
<li> | ||
<div class="navbar-login"> | ||
<div class="row"> | ||
<div class="col-lg-4"> | ||
<p class="text-center"> | ||
<img src="%# Define how to get the image url" alt="Alternate Text" class="img-responsive" /> | ||
<p class="text-center small"><a href="# %#Define how to change photo">Change Photo</a></p> | ||
%#<span class="glyphicon glyphicon-user icon-size"></span> | ||
</p> | ||
</div> | ||
<div class="col-lg-8"> | ||
<b> | ||
<p class="text-left" id="panel-username">%=$username</p> | ||
</b> | ||
%#Button that could be useful | ||
%#<p class="text-left"> | ||
%# <a href="#" class="btn btn-primary btn-block btn-sm">Modify data</a> | ||
%#</p> | ||
</div> | ||
</div> | ||
</div> | ||
</li> | ||
<li class="divider"></li> | ||
<li> | ||
<div class="navbar-login navbar-login-session"> | ||
<div class="row"> | ||
<div class="col-lg-12"> | ||
<p> | ||
<a href="#" class="btn btn-danger btn-block" id="logout">Logout</a> | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</li> | ||
</ul> | ||
</li> | ||
</ul> |