[icinga-checkins] icinga.org: icinga-web/master: * Added NoScript tag (#resolves 774)

git at icinga.org git at icinga.org
Mon Sep 13 14:33:55 CEST 2010


Module: icinga-web
Branch: master
Commit: d4dbd5b89177495772cb16ca309d0847b22733d8
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=d4dbd5b89177495772cb16ca309d0847b22733d8

Author: jmosshammer <jmosshammer at ws-jmosshammer.(none)>
Date:   Thu Sep  9 15:32:34 2010 +0200

* Added NoScript tag (#resolves 774)

---

 app/templates/ExtJsViewport.php |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/app/templates/ExtJsViewport.php b/app/templates/ExtJsViewport.php
index 1dc2e84..59cda79 100755
--- a/app/templates/ExtJsViewport.php
+++ b/app/templates/ExtJsViewport.php
@@ -19,6 +19,12 @@
 		
 	</head>
 	<body>
+		<noscript>
+			<div style="margin:auto;margin-top:10%;width:500px;text-align:center;padding:5px;-webkit-border-radius:5px;-moz-border-radius:5px;border:1px solid black;background-color:#dedede">
+				<h1>Oops...JavaScript support is disabled!</h1>
+				You have to activate JavaScript in order to use Icinga-web.
+			</div>
+		</noscript>
 		<div id="content" class="x-hidden">
 			<?php  (isset($title)) ? '<h1>'. $title. '</h1>' : null ?>
 			<?php echo $inner; ?>





More information about the icinga-checkins mailing list