sign out button using font awesome

This commit is contained in:
Hugo Roy 2014-03-19 11:31:04 +01:00 committed by opi
parent 1e5a75ec89
commit a12c997696
4 changed files with 1344 additions and 4 deletions

1338
css/font-awesome.less vendored Normal file

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

View file

@ -64,7 +64,9 @@ html, body {
font-size: 2em;
.btn;
.btn-link;
a {
a.fa-sign-out {
.fa;
.fa-2x;
}
}
}
@ -191,4 +193,4 @@ select option[default] {
}
@import "../fonts.css"; /* TODO remove all glyphicons in the future to remove this line*/
@import "font-awesome/font-awesome.less";
@import "font-awesome.less";

View file

@ -14,7 +14,7 @@
<header id="masthead">
<h1 class="app title">YunoHost <span class="desc">Administration</span></h1>
<button class="logout-button"><a href="#/logout">Logout</a></button>
<button class="logout-button"><a class="fa-sign-out" href="#/logout">Logout</a></button>
</header>
<div id="flash" role="alert" style="display: none"></div>