mirror of
https://github.com/openfaas/faas.git
synced 2025-06-09 16:56:47 +00:00
Add message for when JavaScript is disabled
- Added padding to the "You need JavaScript page" - Added padding to the "You need JavaScript page" - Added info about the CLI tthe "You need JavaScript" page - Added a message for people who don't have JavaScript enabled Signed-off-by: Rillian Grant <rillian.grant@hotmail.com>
This commit is contained in:
parent
3c7e222ab2
commit
829262e493
@ -11,9 +11,18 @@
|
|||||||
<link rel="manifest" href="manifest.json">
|
<link rel="manifest" href="manifest.json">
|
||||||
<link rel="mask-icon" href="safari-pinned-tab.svg" color="#5bbad5">
|
<link rel="mask-icon" href="safari-pinned-tab.svg" color="#5bbad5">
|
||||||
<meta name="theme-color" content="#ffffff">
|
<meta name="theme-color" content="#ffffff">
|
||||||
|
|
||||||
|
<noscript>
|
||||||
|
<style>
|
||||||
|
.jsonly {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</noscript>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body ng-controller="home">
|
<body ng-controller="home">
|
||||||
|
<div class="jsonly">
|
||||||
<div layout="column" ng-cloak>
|
<div layout="column" ng-cloak>
|
||||||
|
|
||||||
<md-toolbar class="md-theme-indigo" hide-gt-sm>
|
<md-toolbar class="md-theme-indigo" hide-gt-sm>
|
||||||
@ -188,6 +197,14 @@
|
|||||||
<script src="https://ajax.googleapis.com/ajax/libs/angular_material/1.1.4/angular-material.min.js"></script>
|
<script src="https://ajax.googleapis.com/ajax/libs/angular_material/1.1.4/angular-material.min.js"></script>
|
||||||
<script src="script/funcstore.js"></script>
|
<script src="script/funcstore.js"></script>
|
||||||
<script src="script/bootstrap.js"></script>
|
<script src="script/bootstrap.js"></script>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<noscript>
|
||||||
|
<div style="padding: 15px;">
|
||||||
|
<h2>You need JavaScript to view this page</h2>
|
||||||
|
<p>You don't need the web dashboard to use OpenFaaS, you can get the CLI with this command: <code>curl -sL cli.openfaas.com | sh</code></p>
|
||||||
|
</div>
|
||||||
|
</noscript>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
Loading…
x
Reference in New Issue
Block a user