mirror of https://github.com/zulip/zulip.git
images: Rename loader.svg to loader-white.svg for clarity.
We rename loader.svg to loader-white.svg as this svg contains white rectangles for clarity as we have also added loader-black.svg which is same but with black rectangles instead of white.
This commit is contained in:
parent
fb53556cef
commit
ceb5333352
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 3.2 KiB |
|
@ -70,7 +70,7 @@ export function show_button_spinner(elt: JQuery, using_dark_theme: boolean): voi
|
|||
if (!using_dark_theme) {
|
||||
elt.attr("src", "/static/images/loader-black.svg");
|
||||
} else {
|
||||
elt.attr("src", "/static/images/loader.svg");
|
||||
elt.attr("src", "/static/images/loader-white.svg");
|
||||
}
|
||||
elt.css("display", "inline-block");
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
</div>
|
||||
<div class="image">
|
||||
<div class="flex">
|
||||
<img src="/static/images/loader.svg" alt="" />
|
||||
<img src="/static/images/loader-white.svg" alt="" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -99,7 +99,7 @@ page can be easily identified in it's respective JavaScript file. -->
|
|||
{% endif %}
|
||||
|
||||
<button type="submit" name="button" class="full-width">
|
||||
<img class="loader" src="/static/images/loader.svg" alt="" />
|
||||
<img class="loader" src="/static/images/loader-white.svg" alt="" />
|
||||
<span class="text">{{ _("Log in") }}</span>
|
||||
</button>
|
||||
</form>
|
||||
|
|
|
@ -252,7 +252,7 @@ Form is validated both client-side using jquery-validate (see signup.js) and ser
|
|||
<div class="register-button-box">
|
||||
<button class="register-button" type="submit">
|
||||
<span>{{ _('Sign up') }}</span>
|
||||
<object class="loader" type="image/svg+xml" data="/static/images/loader.svg"></object>
|
||||
<object class="loader" type="image/svg+xml" data="/static/images/loader-white.svg"></object>
|
||||
</button>
|
||||
<input type="hidden" name="next" value="{{ next }}" />
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue