Luke Plant avatar Luke Plant committed ef66499 Merge

Merged from default

Comments (0)

Files changed (4)

cciw/cciwmain/static/css/style.css

     padding: 5px;
 }
 
+/* Internet Explorer on WinXP message */
+#winxp-ie-message {
+    position: fixed;
+    top: 0px;
+    left: 0px;
+    width: 100%;
+    text-align: center;
+    background-color: #800000;
+    color: white;
+    padding: 5px;
+}
+
 /* Messages */
 ul.messagelist {
     padding: 0 0 5px 0;
     # We currently don't need this to be separate for staging and production
     rsync_dir(join(parent_dir, "secure_downloads_src"),
               join(webapps_root, 'cciw_protected_downloads_src'))
+    run("chmod -R ugo+r %s" % join(webapps_root, 'cciw_protected_downloads_src'))
 
 
 def _build_static(version):
-#!/usr/bin/env python2.7
+#!/usr/bin/env python
 import warnings
 #warnings.simplefilter("error", PendingDeprecationWarning)
 import os

templates/cciw/base.html

       browser</a>.
     </div>
     <![endif]-->
+    <!--[if IE]>
+    <div id="winxp-ie-message" style="display: none;">
+      You are running Internet Explorer on Windows XP. This does not suuport
+      modern ways of supporting HTTP/SSL, so you will have seen an SSL
+      certificate error to get to this page. Please use
+      a <a href="http://abetterbrowser.org/">different browser</a>, or upgrade
+      your operating system to a more recent version of Windows.
+    </div>
+    <script type="text/javascript">
+      if (/Windows NT 5.1/.test(window.navigator.userAgent)) {
+         document.getElementById("winxp-ie-message").style.display = "block";
+      }
+    </script>
+    <![endif]-->
+
 </body>
 </html>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.