add override links to utility views

This enables `local-overrides.css` and `local-overrides.js` for all utility views, for example to add polyfills, enable responsive styling or to adjust styles globally.
This commit is contained in:
Veit Lehmann 2023-02-24 00:46:40 +01:00
parent fcfcb69a2e
commit aa2b770e30
5 changed files with 6 additions and 0 deletions

View File

@ -706,6 +706,7 @@ class Feeds extends Handler_Protected {
<?= javascript_tag("js/common.js") ?>
<?= javascript_tag("lib/dojo/dojo.js") ?>
<?= javascript_tag("lib/dojo/tt-rss-layer.js") ?>
<?= Config::get_override_links() ?>
</head>
<body class="flat ttrss_utility feed_debugger css_loading">
<script type="text/javascript">

View File

@ -451,6 +451,7 @@ class Handler_Public extends Handler {
echo javascript_tag("lib/dojo/dojo.js");
echo javascript_tag("lib/dojo/tt-rss-layer.js");
?>
<?= Config::get_override_links() ?>
</head>
<body class='flat ttrss_utility'>
<div class='container'>

View File

@ -76,6 +76,7 @@ class Auth_Internal extends Auth_Base {
},
};
</script>
<?= Config::get_override_links() ?>
</head>
<body class="flat ttrss_utility otp css_loading">
<h1><?= __("Authentication") ?></h1>

View File

@ -56,6 +56,7 @@ class Bookmarklets extends Plugin {
display : none;
}
</style>
<?= Config::get_override_links() ?>
</head>
<body class='flat ttrss_utility css_loading'>
<script type="text/javascript">
@ -202,6 +203,7 @@ class Bookmarklets extends Plugin {
display : none;
}
</style>
<?= Config::get_override_links() ?>
</head>
<body class='flat ttrss_utility share_popup css_loading'>
<script type="text/javascript">

View File

@ -195,6 +195,7 @@ class Share extends Plugin {
)
), 500, "...")) ?>">
<meta property='og:image' content="<?= htmlspecialchars($og_image) ?>">
<?= Config::get_override_links() ?>
</head>
<body class='flat ttrss_utility ttrss_zoom css_loading'>