summaryrefslogtreecommitdiff
path: root/prefs.php
diff options
context:
space:
mode:
Diffstat (limited to 'prefs.php')
-rw-r--r--prefs.php18
1 files changed, 14 insertions, 4 deletions
diff --git a/prefs.php b/prefs.php
index 3f6eb47c6..14820f707 100644
--- a/prefs.php
+++ b/prefs.php
@@ -27,9 +27,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"]; ?>";
@@ -95,11 +93,24 @@
}
</style>
+ <noscript>
+ <style type="text/css">
+ body.css_loading noscript {
+ display : block;
+ margin : 16px;
+ }
+ </style>
+
+ <?= stylesheet_tag("themes/light.css") ?>
+ </noscript>
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body class="flat ttrss_main ttrss_prefs css_loading">
+<noscript class="alert alert-error"><?= ('Javascript is disabled. Please enable it.') ?></noscript>
+
<div id="notify" class="notify"></div>
<div id="cmdline" style="display : none"></div>
@@ -109,7 +120,6 @@
<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>