Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
images: Rename loader.svg to loader-white.svg for clarity.
sahil839ceb533335240
diff --git a/static/images/loader.svg b/static/images/loader-white.svgsimilarity index 100%rename from static/images/loader.svgrename to static/images/loader-white.svgdiff --git a/static/js/loading.ts b/static/js/loading.tsindex e67472e486f..083b062d316 100644--- a/static/js/loading.ts+++ b/static/js/loading.ts@@ -70,7 +70,7 @@ export function show_button_spinner(elt: JQuery, using_dark_theme: boolean): voiif (!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");}diff --git a/templates/zerver/apps.html b/templates/zerver/apps.htmlindex e04b9503f8a..5fcbe4ad2e6 100644--- a/templates/zerver/apps.html+++ b/templates/zerver/apps.html@@ -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>diff --git a/templates/zerver/login.html b/templates/zerver/login.htmlindex 2e5b5a94070..cc38ee51eba 100644--- a/templates/zerver/login.html+++ b/templates/zerver/login.html@@ -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>diff --git a/templates/zerver/register.html b/templates/zerver/register.htmlindex 9fb25796a0a..7ba195cfa4b 100644--- a/templates/zerver/register.html+++ b/templates/zerver/register.html@@ -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>