diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 29 |
1 files changed, 20 insertions, 9 deletions
@@ -35,9 +35,7 @@ } } ?> - <?php if (theme_exists(Config::get(Config::LOCAL_OVERRIDE_STYLESHEET))) { - echo stylesheet_tag(get_theme_path(Config::get(Config::LOCAL_OVERRIDE_STYLESHEET))); - } ?> + <?= Config::get_override_links() ?> <script type="text/javascript"> const __csrf_token = "<?= $_SESSION["csrf_token"]; ?>"; @@ -112,19 +110,31 @@ } </style> + <noscript> + <?= stylesheet_tag("themes/light.css") ?> + + <style type="text/css"> + body.css_loading noscript { + display : block; + margin : 16px; + } + </style> + </noscript> + <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> <meta name="referrer" content="no-referrer"/> </head> <body class="flat ttrss_main ttrss_index css_loading"> -<div id="overlay" style="display : block"> +<noscript class="alert alert-error"><?= ('Javascript is disabled. Please enable it.') ?></noscript> + +<div id="overlay"> <div id="overlay_inner"> <?= __("Loading, please wait...") ?> <div dojoType="dijit.ProgressBar" places="0" style="width : 300px" id="loading_bar" progress="0" maximum="100"> </div> - <noscript><br/><?php print_error('Javascript is disabled. Please enable it.') ?></noscript> </div> </div> @@ -133,9 +143,10 @@ <div id="main" dojoType="dijit.layout.BorderContainer"> <div id="feeds-holder" dojoType="dijit.layout.ContentPane" region="leading" style="width : 20%" splitter="true"> - <div id="feedlistLoading"> - <img src='images/indicator_tiny.gif'/> - <?= __("Loading, please wait..."); ?></div> + <div id="feedlistLoading" class="text-center text-muted text-small"> + <img class="icon-three-dots" src="images/three-dots.svg?2"> + <?= __("Loading, please wait..."); ?> + </div> <?php PluginHost::getInstance()->run_hooks_callback(PluginHost::HOOK_FEED_TREE, function ($result) { echo $result; @@ -199,7 +210,7 @@ ?> </select> - <div dojoType="fox.form.ComboButton" onclick="Feeds.catchupCurrent()"> + <div class="catchup-button" dojoType="fox.form.ComboButton" onclick="Feeds.catchupCurrent()"> <span><?= __('Mark as read') ?></span> <div dojoType="dijit.DropDownMenu"> <div dojoType="dijit.MenuItem" onclick="Feeds.catchupCurrent('1day')"> |