Permalink
Browse files

switch to alpha button

  • Loading branch information...
jywarren committed Nov 14, 2012
1 parent 2d6dd8d commit 4a15dd6ca041bd4119891b32568f9b97e2bf1310
Showing with 14 additions and 2 deletions.
  1. +6 −0 html/sites/all/themes/plots/plots.css
  2. +8 −2 html/sites/all/themes/plots/templates/page.tpl.php
@@ -1135,3 +1135,9 @@ a:hover.button {
background:#35b;
color:#ccc;
}
+
+.nicetable td {
+ border:2px solid #ccc;
+ background-color:#fdffe7;
+ padding:8px;
+}
@@ -118,12 +118,12 @@
<meta name="viewport" content=""/>
<?php print $head; ?>
<link rel="stylesheet" href="/sites/all/themes/plots/plots.css" type="text/css" media="screen" />
+ <?php print $styles; ?>
<!--[if !IE]><!--><link rel="stylesheet" href="/sites/all/themes/plots/not-ie.css" type="text/css" media="screen" /><!--<![endif]-->
<!--[if IE]>
<link rel="stylesheet" href="/sites/all/themes/plots/ie.css" type="text/css" media="screen" />
<![endif]-->
<!--[if IE 6]><link rel="stylesheet" href="/sites/all/themes/plots/ie.css" type="text/css" media="screen" /><![endif]-->
- <?php print $styles; ?>
<?php print $scripts; ?>
<script src="/scripts/jquery-nivo-slider-pack.js" type="text/javascript"></script>
<link rel="stylesheet" href="/scripts/nivo-slider.css" type="text/css" media="screen" />
@@ -141,7 +141,7 @@
}(document, 'script', 'facebook-jssdk'));</script>
<div style="border:2px solid red;background:#fcc;padding:10px;" id="iewarning"><p><h2>Incompatible browser</h2>
-The Public Laboratory website is designed for use in any browser except Internet Explorer. To view it properly, please use <a href="http://firefox.com">Firefox</a>, <a href="http://google.com/chrome">Chrome</a>, or another standards-compliant browser. Support for Internet Explorer is planned, but it's a good idea for you to get another browser anyways -- IE poses a security risk for your computer.</p></div>
+The Public Laboratory website is designed for use in any browser except Internet Explorer. To view it properly, please use <a href="http://firefox.com">Firefox</a>, <a href="http://google.com/chrome">Chrome</a>, or another standards-compliant browser. Support for Internet Explorer is planned, but it's a good idea for you to get another browser anyways -- IE <a href-"http://en.wikipedia.org/wiki/Comparison_of_web_browsers#Security_and_vulnerabilities">poses a security risk</a> for your computer.</p></div>
<div id="page-wrapper"><div id="page">
@@ -195,6 +195,12 @@
</li>
<li><a href="/events">Events</a></li>
+ <?php if (in_array('alpha',$user->roles)) { ?>
+ <li class="right">
+ <a style="border-left:8px solid white;background:#35d" href="#" onClick="alpha()">&alpha;</a>
+ <script>function alpha() { window.location = 'http://alpha.'+(window.location+'').split('://')[1] } </script>
+ </li>
+ <?php } ?>
<?php if ( $user->uid ) { ?>
<li class="right">
<a href="/note/add">Post a note [+]</a>

0 comments on commit 4a15dd6

Please sign in to comment.