minor layout fix for logout

This commit is contained in:
Olivier Lambert 2013-01-17 11:49:37 +01:00
parent 6658f92b5e
commit 752fcb57ae
2 changed files with 15 additions and 19 deletions

View File

@ -111,23 +111,19 @@
<li>
<a id="msg" rel="tooltip" data-original-title="No unread notifications" href="#"><i class="icon-bell"></i></a>
</li>
<li class="dropdown">
{**
* Session.
*}
{if $user}
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
<i class="icon-user"></i> <strong>{$user}</strong> <i class="icon-caret-down"></i>
</a>
<div class="dropdown-menu" style="padding: 15px; padding-bottom: 0px;">
<form action="{url to="session"}" method="post">
<button type="submit" class="btn btn-primary btn-block">
<i class="icon-signout icon-small"></i> Log Out
</button>
</form>
</div>
<li>
<a rel="tooltip" data-original-title="My profile" href="profile.php"><i class="icon-user"> </i> {$user}</a>
</li>
<li>
<a rel="tooltip" data-original-title="Log-Out" href="session.php"> <i class="icon-signout"></i></a>
</li>
{else}
<li class="dropdown">
<a class="dropdown-toggle" href="#" data-toggle="dropdown">
<i class="icon-signin"></i> Log In <i class="icon-caret-down"></i>
</a>

View File

@ -27,29 +27,29 @@
{block body}
<div class="row-fluid">
<div class="span10 offset1 hero-unit">
<div class="span10 offset1 hero-unit">
<h1 class="center">Welcome on XO!</h1>
<p class="center">It seems you don't have any connected host.<br/>Add an XCP host or a Pool master, and start to use the magic of Xen Orchestra.</p><br/>
<p class="center"><a class="btn btn-success btn-large"><i class="icon-plus"></i> Add server</a></p>
</div>
</div>
<div class="row-fluid">
<div class="span3 offset1 well">
<div class="span3 offset1 well">
<h2 class="center">Need help?</h2>
<p>If you don't know how to start, please read the README first. Then, if you have further questions, please read the FAQ on the project website.
</p><br/>
<p class="center"><a class="btn btn-info btn-large" data-toggle="modal" href="#infos" ><i class="icon-info-sign"></i> Readme</a></p>
<p class="center"><a class="btn btn-info btn-large" data-toggle="modal" href="#infos" ><i class="icon-info-sign"></i> Readme</a></p>
</div>
<div class="span4 well">
<h2 class="center">About us</h2>
<div class="span4 well">
<h2 class="center">About us</h2>
<p>We are the team behind XO, we are Vates! We create Open Source products and we offer commercial support for Xen and Xen Orchestra. This project is Open Source, everyone is welcome aboard!</p><br/>
<p class="center"><a class="btn btn-large" href="http://vates.fr"><i class="icon-circle-arrow-right"></i> Go on our website!</a></p>
<p class="center"><a class="btn btn-large" href="http://vates.fr"><i class="icon-circle-arrow-right"></i> Go on our website!</a></p>
</div>
<div class="span3 well">
<div class="span3 well">
<h2 class="center">Get involved!</h2>
<p>You want a specific feature in XO? Report a bug? Go to our project website, read the FAQ and get involved in the project!</p><br/>
<p class="center"><a class="btn btn-success btn-large" href="http://xen-orchestra.com"><i class="icon-beaker"></i> Project page</a></p>
</div>
</div>
</div>
<div class="modal hide fade" id="infos">