changeset 409:9b6c1de4ce9e

some small template fixes
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 18 Aug 2010 01:46:18 +0200
parents fadbb1eea649
children 9a7ae16ff53e
files pylons_app/public/css/style.css pylons_app/templates/admin/settings/settings.html pylons_app/templates/summary/summary.html
diffstat 3 files changed, 20 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/pylons_app/public/css/style.css	Wed Aug 18 00:20:46 2010 +0200
+++ b/pylons_app/public/css/style.css	Wed Aug 18 01:46:18 2010 +0200
@@ -2856,6 +2856,13 @@
     color: #515151;
 }
 
+/* -----------------------------------------------------------
+	SUMMARY
+----------------------------------------------------------- */
+
+#clone_url{
+	border: none;
+}
 
 /* -----------------------------------------------------------
 	CHANGESETS
@@ -2931,8 +2938,6 @@
 	text-align: left;
 }
 
-
-
 /* -----------------------------------------------------------
 	CHANGESETS - CANVAS
 ----------------------------------------------------------- */
@@ -3109,6 +3114,14 @@
 	text-align: left;
 }
 
+/* -----------------------------------------------------------
+	ADMIN - SETTINGS
+----------------------------------------------------------- */
+#path_unlock{
+	color: red;
+	font-size: 1.2em;
+	padding-left: 4px;
+}
 
 /* -----------------------------------------------------------
     INFOBOX
--- a/pylons_app/templates/admin/settings/settings.html	Wed Aug 18 00:20:46 2010 +0200
+++ b/pylons_app/templates/admin/settings/settings.html	Wed Aug 18 01:46:18 2010 +0200
@@ -120,8 +120,9 @@
                     <label for="paths_root_path">${_('Repositories location')}:</label>
                 </div>
                 <div class="input">
-                    ${h.text('paths_root_path',size=30,readonly="readonly")}
-					<span id="path_unlock" class="tooltip" tooltip_title="${h.tooltip(_('This a crucial application setting. If You really sure you need to change this, you must restart application in order to make this settings take effect. Click this label to unlock.'))}">
+                    ${h.text('paths_root_path',size=30,readonly="readonly")}			                    
+					<span id="path_unlock" class="tooltip" 
+						tooltip_title="${h.tooltip(_('This a crucial application setting. If You really sure you need to change this, you must restart application in order to make this settings take effect. Click this label to unlock.'))}">
 		                ${_('unlock')}</span>
                 </div>
             </div>
@@ -136,10 +137,9 @@
     <script type="text/javascript">
         YAHOO.util.Event.onDOMReady(function(){
             YAHOO.util.Event.addListener('path_unlock','click',function(){
-                YAHOO.util.Dom.get('paths_root_path').readonly=false;
+                YAHOO.util.Dom.get('paths_root_path').removeAttribute('readonly');
             });
         });
     </script>
-    
 </div>
 </%def>    
--- a/pylons_app/templates/summary/summary.html	Wed Aug 18 00:20:46 2010 +0200
+++ b/pylons_app/templates/summary/summary.html	Wed Aug 18 01:46:18 2010 +0200
@@ -85,7 +85,7 @@
 			      <label>${_('Clone url')}:</label>
 			  </div>
 			  <div class="input-short">
-			      <input type="text" id="clone_url"  readonly="readonly" value="hg clone ${c.clone_repo_url}" size="70"/>
+			      <input type="text" id="clone_url" readonly="readonly" value="hg clone ${c.clone_repo_url}" size="70"/>
 			  </div>
 			 </div>