Added spinner.

This commit is contained in:
Martin Edenhofer 2012-07-15 22:32:28 +02:00
parent 35e0425eae
commit 63046a46be
3 changed files with 11 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 673 B

View file

@ -27,6 +27,7 @@
<form class="navbar-search pull-left"> <form class="navbar-search pull-left">
<input class="search-query" type="search" value="" placeholder="<%- Ti('Search') %>"/> <input class="search-query" type="search" value="" placeholder="<%- Ti('Search') %>"/>
</form> </form>
<div class="spinner"/>
<% if @user: %> <% if @user: %>
<ul class="nav pull-right"> <ul class="nav pull-right">
<% for item in @navbar_right: %> <% for item in @navbar_right: %>

View file

@ -2,6 +2,16 @@ body {
padding-top:60px; padding-top:60px;
} }
.spinner {
float: left;
background:url("/assets/spinner.gif") no-repeat;
background-position: center center;
padding: 12px;
width: 10px;
height: 14px;
display: none;
}
/* /*
#content > *:not(.active) { #content > *:not(.active) {
display: none !important; display: none !important;