changeset 379:86a25ad59766

fixed min width set. Some html fixes for yui flot graph
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 01 Aug 2010 13:39:09 +0200
parents d89dcde91fdb
children ca54622e39a1
files pylons_app/public/css/style_full.css pylons_app/templates/admin/repos/repos.html pylons_app/templates/summary/summary.html
diffstat 3 files changed, 11 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/pylons_app/public/css/style_full.css	Sat Jul 31 18:48:12 2010 +0200
+++ b/pylons_app/public/css/style_full.css	Sun Aug 01 13:39:09 2010 +0200
@@ -1,3 +1,10 @@
+/* -----------------------------------------------------------
+	GLOBAL WIDTH
+----------------------------------------------------------- */
+#header,#content,#footer{
+	min-width: 1024px;
+}
+
 /* -----------------------------------------------------------
 	content
 ----------------------------------------------------------- */ 
--- a/pylons_app/templates/admin/repos/repos.html	Sat Jul 31 18:48:12 2010 +0200
+++ b/pylons_app/templates/admin/repos/repos.html	Sun Aug 01 13:39:09 2010 +0200
@@ -45,7 +45,7 @@
                 <td>r${repo['rev']}:${repo['tip']}</td>
                 <td>
                   ${h.form(url('repo', repo_name=repo['name']),method='delete')}
-                    ${h.submit('remove','delete',class_="delete_icon action_button",onclick="return confirm('Confirm to delete this repository');")}
+                    ${h.submit('remove_%s' % repo['name'],'delete',class_="delete_icon action_button",onclick="return confirm('Confirm to delete this repository');")}
                   ${h.end_form()}
                 </td>
             </tr>
--- a/pylons_app/templates/summary/summary.html	Sat Jul 31 18:48:12 2010 +0200
+++ b/pylons_app/templates/summary/summary.html	Sun Aug 01 13:39:09 2010 +0200
@@ -122,13 +122,11 @@
     </div>
     
     <div class="table">
-        <div id="commit_history" style="width:600px;height:370px;float:left"></div>
+        <div id="commit_history" style="width:460px;height:370px;float:left"></div>
     	<div id="legend_data">
 	    	<div id="legend_container"></div>
 	    	<div id="legend_choices">
-				<table id="legend_choices_tables" style="font-size:smaller;color:#545454">
-				
-				</table>
+				<table id="legend_choices_tables" style="font-size:smaller;color:#545454"></table>
 	    	</div>
     	</div>
 		<script type="text/javascript">
@@ -164,7 +162,7 @@
 
 		        if (data.length > 0){
 				    var plot = YAHOO.widget.Flot("commit_history", data,
-					        { bars: { show: true, align:'left' },
+					        { bars: { show: true, align:'center' },
 			    			  points: { show: true, radius:0,fill:true },
 			    			  legend:{show:true, container:"legend_container"},
 			    	          selection: { mode: "xy" },