[Jifty-commit] r4981 - in jifty/trunk: . share/web/static/js share/web/templates/__jifty

Jifty commits jifty-commit at lists.jifty.org
Fri Feb 1 17:06:27 EST 2008


Author: sartak
Date: Fri Feb  1 17:06:27 2008
New Revision: 4981

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/share/web/static/css/halos.css
   jifty/trunk/share/web/static/js/halo.js
   jifty/trunk/share/web/templates/__jifty/halo

Log:
 r51333 at onn:  sartak | 2008-02-01 17:06:06 -0500
 Style changes, flip between "draw halos" and "hide halos"


Modified: jifty/trunk/share/web/static/css/halos.css
==============================================================================
--- jifty/trunk/share/web/static/css/halos.css	(original)
+++ jifty/trunk/share/web/static/css/halos.css	Fri Feb  1 17:06:27 2008
@@ -8,7 +8,7 @@
 
 .halo-header {
     display: none;
-    border-bottom: 1px dashed #ffd700;
+    border-bottom: 1px solid #ffd700;
     background: #fff;
     margin: 3px;
 }

Modified: jifty/trunk/share/web/static/js/halo.js
==============================================================================
--- jifty/trunk/share/web/static/js/halo.js	(original)
+++ jifty/trunk/share/web/static/js/halo.js	Fri Feb  1 17:06:27 2008
@@ -74,11 +74,13 @@
 
     if (halos_drawn) {
         halo_header_display = 'block';
-        halo_border_width   = '1px';
+        halo_border_width   = '2px';
         halo_margin         = '3px';
         halo_padding        = '3px';
     }
 
+    $("render_info-draw_halos").innerHTML = halos_drawn ? "Hide halos" : "Draw halos";
+
     YAHOO.util.Dom.getElementsByClassName("halo-header", null, null,
         function (e) {
             e.style.display = halo_header_display;

Modified: jifty/trunk/share/web/templates/__jifty/halo
==============================================================================
--- jifty/trunk/share/web/templates/__jifty/halo	(original)
+++ jifty/trunk/share/web/templates/__jifty/halo	Fri Feb  1 17:06:27 2008
@@ -1,6 +1,6 @@
 <div id="render_info">
-    <a href="#" onclick="draw_halos(); return false"><%_('Draw halos')%></a>
-    <a href="#" onclick="render_info_tree(); return false"><%_('Page info')%></a>
+    <a id="render_info-draw_halos" href="#" onclick="draw_halos(); return false"><%_('Draw halos')%></a>
+    <a id="render_info-page_info" href="#" onclick="render_info_tree(); return false"><%_('Page info')%></a>
 </div>
 <div style="display: none" id="render_info_tree">
 % foreach my $item (@stack) {


More information about the Jifty-commit mailing list