mirror of
https://github.com/discourse/discourse.git
synced 2025-01-19 05:52:49 +08:00
remove admin-loading in favor of spinner css
This commit is contained in:
parent
4e1e977517
commit
be43d51536
|
@ -19,7 +19,7 @@
|
|||
</div>
|
||||
|
||||
{{#if loading}}
|
||||
<div class='admin-loading'>{{i18n loading}}</div>
|
||||
<div class='spinner'></div>
|
||||
{{else}}
|
||||
{{#if showHtml}}
|
||||
{{{html_content}}}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
|
||||
<div class="admin-container">
|
||||
{{#if loading}}
|
||||
<div class='admin-loading'>{{i18n loading}}</div>
|
||||
<div class='spinner'></div>
|
||||
{{else}}
|
||||
{{#if length}}
|
||||
<table class='admin-flags'>
|
||||
|
@ -160,7 +160,7 @@
|
|||
</tbody>
|
||||
</table>
|
||||
{{#if view.loading}}
|
||||
<div class='admin-loading'>{{i18n loading}}</div>
|
||||
<div class='spinner'></div>
|
||||
{{/if}}
|
||||
|
||||
{{else}}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<p>{{i18n admin.logs.screened_emails.description}}</p>
|
||||
|
||||
{{#if loading}}
|
||||
<div class='admin-loading'>{{i18n loading}}</div>
|
||||
<div class='spinner'></div>
|
||||
{{else}}
|
||||
{{#if model.length}}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<br/>
|
||||
|
||||
{{#if loading}}
|
||||
<div class='admin-loading'>{{i18n loading}}</div>
|
||||
<div class='spinner'></div>
|
||||
{{else}}
|
||||
{{#if model.length}}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<p>{{i18n admin.logs.screened_urls.description}}</p>
|
||||
|
||||
{{#if loading}}
|
||||
<div class='admin-loading'>{{i18n loading}}</div>
|
||||
<div class='spinner'></div>
|
||||
{{else}}
|
||||
{{#if model.length}}
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
|
||||
{{#if loading}}
|
||||
<br/>
|
||||
<div class='admin-loading'>{{i18n loading}}</div>
|
||||
<div class='spinner'></div>
|
||||
{{else}}
|
||||
{{#if model.length}}
|
||||
{{view "staff-action-logs-list" content=controller}}
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
<br/>
|
||||
|
||||
{{#if loading}}
|
||||
<div class='admin-loading'>{{i18n loading}}</div>
|
||||
<div class='spinner'></div>
|
||||
{{else}}
|
||||
{{#if model.length}}
|
||||
<table class='table'>
|
||||
|
|
|
@ -66,24 +66,6 @@ td.flaggers td {
|
|||
}
|
||||
}
|
||||
|
||||
.admin-loading {
|
||||
width: 100px;
|
||||
margin: 0 auto 30px auto;
|
||||
background-color: #000;
|
||||
@include border-radius-all(10px);
|
||||
padding: 10px 10px 10px 30px;
|
||||
font-size: 15px;
|
||||
line-height: 23px;
|
||||
text-align: center;
|
||||
color: $secondary;
|
||||
background: {
|
||||
image: image-url("spinner_96_w.gif");
|
||||
repeat: no-repeat;
|
||||
position: 10px 8px;
|
||||
size: 25px;
|
||||
};
|
||||
}
|
||||
|
||||
.ip-lookup {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
|
|
|
@ -134,3 +134,5 @@ div.ac-wrap {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -181,7 +181,6 @@
|
|||
.spinner {
|
||||
position: absolute;
|
||||
@include fades-in(0.25s);
|
||||
@include border-radius-all(10px);
|
||||
left: 250px;
|
||||
top: 95px;
|
||||
height: 100px;
|
||||
|
@ -189,8 +188,7 @@
|
|||
height: 70px;
|
||||
text-indent: -9999em;
|
||||
background: {
|
||||
color: #000;
|
||||
image: image-url("spinner_96_w.gif");
|
||||
image: image-url("spinner_96.gif");
|
||||
repeat: no-repeat;
|
||||
size: 35px;
|
||||
position: 17px 17px;
|
||||
|
|
Loading…
Reference in New Issue
Block a user