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:
parent
fcfcb69a2e
commit
aa2b770e30
|
@ -706,6 +706,7 @@ class Feeds extends Handler_Protected {
|
||||||
<?= javascript_tag("js/common.js") ?>
|
<?= javascript_tag("js/common.js") ?>
|
||||||
<?= javascript_tag("lib/dojo/dojo.js") ?>
|
<?= javascript_tag("lib/dojo/dojo.js") ?>
|
||||||
<?= javascript_tag("lib/dojo/tt-rss-layer.js") ?>
|
<?= javascript_tag("lib/dojo/tt-rss-layer.js") ?>
|
||||||
|
<?= Config::get_override_links() ?>
|
||||||
</head>
|
</head>
|
||||||
<body class="flat ttrss_utility feed_debugger css_loading">
|
<body class="flat ttrss_utility feed_debugger css_loading">
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
|
@ -451,6 +451,7 @@ class Handler_Public extends Handler {
|
||||||
echo javascript_tag("lib/dojo/dojo.js");
|
echo javascript_tag("lib/dojo/dojo.js");
|
||||||
echo javascript_tag("lib/dojo/tt-rss-layer.js");
|
echo javascript_tag("lib/dojo/tt-rss-layer.js");
|
||||||
?>
|
?>
|
||||||
|
<?= Config::get_override_links() ?>
|
||||||
</head>
|
</head>
|
||||||
<body class='flat ttrss_utility'>
|
<body class='flat ttrss_utility'>
|
||||||
<div class='container'>
|
<div class='container'>
|
||||||
|
|
|
@ -76,6 +76,7 @@ class Auth_Internal extends Auth_Base {
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
<?= Config::get_override_links() ?>
|
||||||
</head>
|
</head>
|
||||||
<body class="flat ttrss_utility otp css_loading">
|
<body class="flat ttrss_utility otp css_loading">
|
||||||
<h1><?= __("Authentication") ?></h1>
|
<h1><?= __("Authentication") ?></h1>
|
||||||
|
|
|
@ -56,6 +56,7 @@ class Bookmarklets extends Plugin {
|
||||||
display : none;
|
display : none;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<?= Config::get_override_links() ?>
|
||||||
</head>
|
</head>
|
||||||
<body class='flat ttrss_utility css_loading'>
|
<body class='flat ttrss_utility css_loading'>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
@ -202,6 +203,7 @@ class Bookmarklets extends Plugin {
|
||||||
display : none;
|
display : none;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
<?= Config::get_override_links() ?>
|
||||||
</head>
|
</head>
|
||||||
<body class='flat ttrss_utility share_popup css_loading'>
|
<body class='flat ttrss_utility share_popup css_loading'>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
|
|
@ -195,6 +195,7 @@ class Share extends Plugin {
|
||||||
)
|
)
|
||||||
), 500, "...")) ?>">
|
), 500, "...")) ?>">
|
||||||
<meta property='og:image' content="<?= htmlspecialchars($og_image) ?>">
|
<meta property='og:image' content="<?= htmlspecialchars($og_image) ?>">
|
||||||
|
<?= Config::get_override_links() ?>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class='flat ttrss_utility ttrss_zoom css_loading'>
|
<body class='flat ttrss_utility ttrss_zoom css_loading'>
|
||||||
|
|
Loading…
Reference in New Issue