filesafe/views/_partial/noscript.njk
Bobby Wibowo e5f5fb1038
Updates
* You can now disable using icons in home's footer links by setting "home_icons" to false in _globals.njk.

* Renamed "meta" block to "opengraph" in _layout.njk, since the block only represents opengraph tags anyways.

* Moved noscript warning to its own file at views/_partial/noscript.njk. It's also now being included in dashboard and auth pages.

* No-JS uploader will no longer use icons in its footer links. It will also no longer load fontello.css.

* Updated static files' version string in _globals.njk.

* Some other tweaks, mainly to get no-icons mode to work properly.
2018-04-24 02:58:44 +07:00

19 lines
763 B
Plaintext

{#
I thought of making a redirect with http-equiv="refresh", but it's too quick that people
barely have any time to read the message which explains why the redirect is necessary.
So yeah, I decided to stick with making people click on the link which leads to
the No-JS uploader, if they really want to use the service.
#}
<noscript>
<style>body > section { display: none !important; }</style>
<section class="hero is-fullheight has-text-centered">
<div class="hero-body section">
<div class="container">
<p>You have JavaScript disabled, but this page requires JavaScript to function.</p>
<p>Please <a href="nojs">click here</a> if you want to try out our No-JS uploader.</p>
</div>
</div>
</section>
</noscript>