damned-lies r1392 - in trunk: . media/css templates/people



Author: stephaner
Date: Sun Jan 25 11:01:25 2009
New Revision: 1392
URL: http://svn.gnome.org/viewvc/damned-lies?rev=1392&view=rev

Log:
2009-01-25  StÃphane Raimbault  <stephane raimbault gmail com>

	* README: By default, Apache doesn't follow symlinks so it's more
	convenient to copy the Javascript file.
	* media/css/main.css: Fix images paths and coding standard details.	
	* templates/people/person_detail.html: Use jquery.min.js instead
	of jquery-latest.min.js (as for jquery.tablesorter).


Modified:
   trunk/ChangeLog
   trunk/README
   trunk/media/css/main.css
   trunk/templates/people/person_detail.html

Modified: trunk/README
==============================================================================
--- trunk/README	(original)
+++ trunk/README	Sun Jan 25 11:01:25 2009
@@ -50,9 +50,8 @@
 3 - Configure Sites in admin interface to define the 'View on site'
     link.
 
-4 - Download jQuery and tablesorter .min.js files and copy them
-    in /media/js directory. Create a symlink jquery-latest.min.js
-    poiting to jquery-.?.?.?.min.js
+4 - Download jQuery and tablesorter .min.js files and copy them in
+    /media/js directory. Rename jquery-x.y.z.min.js into jquery.min.js
 
 OpenID support
 ==============

Modified: trunk/media/css/main.css
==============================================================================
--- trunk/media/css/main.css	(original)
+++ trunk/media/css/main.css	Sun Jan 25 11:01:25 2009
@@ -3,44 +3,46 @@
 }
 
 .stats th { 
-    text-align: left; 
-    background: gray; 
-    color: white;
-    padding-left: 2px;
-    padding-right: 2px; 
+  text-align: left; 
+  background: gray; 
+  color: white;
+  padding-left: 2px;
+  padding-right: 2px; 
 }
 
 .stats td { 
-    background: #f0f0f0; 
-    text-align: center;
-    padding-left: 2px;
-    padding-right: 2px;
-    color: black;
+  background: #f0f0f0; 
+  text-align: center;
+  padding-left: 2px;
+  padding-right: 2px;
+  color: black;
 }
 
 .stats td.leftcell { 
-    text-align: left;
+  text-align: left;
 }
 
 /* styles related to jQuery tablesorter component */
 table.tablesorter thead tr .header {
-    background-image: url(../img/bg.gif);
-    background-repeat: no-repeat;
-    background-position: center right;
-    background-color: #EEEEEE;
-    cursor: pointer;
+  background-image: url(/media/img/bg.gif);
+  background-repeat: no-repeat;
+  background-position: center right;
+  background-color: #EEEEEE;
+  cursor: pointer;
 }
+
 table.tablesorter thead tr .headerSortUp {
-    background-image: url(../img/asc.gif);
+  background-image: url(/media/img/asc.gif);
 }
+
 table.tablesorter thead tr .headerSortDown {
-    background-image: url(../img/desc.gif);
+  background-image: url(/media/img/desc.gif);
 }
 
 h2 {
-    width: 100%;
-    margin-top: 2em;
-    border-bottom: 1px solid gray;
+  width: 100%;
+  margin-top: 2em;
+  border-bottom: 1px solid gray;
 }
 
 div.graph {
@@ -109,7 +111,6 @@
   text-decoration: underline;
 }
 
-
 td.fuzzy {
   background: #c98e7f;
 }
@@ -159,7 +160,7 @@
 }
 
 div.mainpage {
-  width:80%;
+  width: 80%;
   text-align: left;
   margin-right: auto;
   margin-left: auto;
@@ -201,13 +202,13 @@
 }
 
 .help {
-  font-size:10px;
-  color:#999;
+  font-size: 10px;
+  color: #999;
 }
 
 .djform td  {
-  font-size:10px;
-  color:#999;
+  font-size: 10px;
+  color: #999;
 }
 .djform th {
   vertical-align: top;
@@ -253,17 +254,18 @@
 
 ul.errorlist {
   list-style: none;
-  margin-left:0;
-  padding:0; 
+  margin-left: 0;
+  padding: 0; 
 }
+
 .errorlist li { 
-  font-size:12px !important; 
-  display:block; 
-  padding:4px 5px 4px 25px; 
-  margin:0 0 3px 0; 
-  border:1px solid red; 
-  color:white; 
-  background:red url(../img/admin/icon_alert.gif) 5px .3em no-repeat; 
+  font-size: 12px !important; 
+  display: block; 
+  padding: 4px 5px 4px 25px; 
+  margin: 0 0 3px 0; 
+  border: 1px solid red; 
+  color: white; 
+  background: red url(/media/img/admin/icon_alert.gif) 5px .3em no-repeat; 
 }
 
 .footnote {
@@ -272,5 +274,4 @@
   clear: both;
   margin-top: 20px;
   color: #aaaaaa;
-}
-
+}
\ No newline at end of file

Modified: trunk/templates/people/person_detail.html
==============================================================================
--- trunk/templates/people/person_detail.html	(original)
+++ trunk/templates/people/person_detail.html	Sun Jan 25 11:01:25 2009
@@ -4,13 +4,13 @@
 {% load stats_extras %}
 
 {% block extrahead %}
-<script type="text/javascript" src="{{ MEDIA_URL}}js/jquery-latest.min.js"></script> 
-<script type="text/javascript" src="{{ MEDIA_URL}}js/jquery.tablesorter.min.js"></script>
+<script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.min.js"></script> 
+<script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.tablesorter.min.js"></script>
 <script type="text/javascript">
 $(document).ready(function() 
     { 
         $("#working_on").tablesorter(); 
-    } 
+    }
 );
 </script>
 {% endblock %}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]