[glade-web] 2009-07-22 Rafael Villar Burke <pachi rvburke com>



commit 749f1d28b722364b2a7d2d0e70d5074648fc2e81
Author: Rafael Villar Burke <pachi rvburke com>
Date:   Wed Jul 22 22:46:02 2009 +0200

    2009-07-22  Rafael Villar Burke  <pachi rvburke com>
    
            * default.css feed.py foot.src head.src index.src newsitems.py
            * sources.src: cleanup markup and css

 default.css  |  156 ++++++++++++++++++++++++++++++----------------------------
 feed.py      |    6 +-
 foot.src     |    2 +-
 head.src     |    6 +-
 index.src    |    6 +-
 newsitems.py |  114 ++++++++++++++++++++++--------------------
 sources.src  |    1 -
 7 files changed, 149 insertions(+), 142 deletions(-)
---
diff --git a/default.css b/default.css
index 96e3e74..cf3099f 100644
--- a/default.css
+++ b/default.css
@@ -1,115 +1,122 @@
 /* Basic tags */
 body {
-    margin: 0px;
-    padding: 0px;
-    font-family: sans-serif;
-    background-color: #FFFFFF;
+  margin: 0px;
+  padding: 0px;
+  font-family: "Verdana", "Arial", sans-serif;
+  background-color: #FFFFFF;
 }
 
 h1, h2 {
-    font-family: serif;
-}
-
-p.thumb {
+  font-family: "Times", "Georgia", serif;
 }
 
 #body {
-    margin: 3em 20em 0em 1em;
-    padding: 0px;
-    background-color: #FFFFFF;
-    color: #000000;
-    clear: left;
+  margin: 3em 20em 0em 1em;
+  padding: 0px;
+  background-color: #FFFFFF;
+  color: #000000;
+  clear: left;
 }
 
 a img {
-        border: none ;
-        text-decoration: none ;
+  border: none;
+  text-decoration: none;
 }
 
 /* Anchors */
 a {
-    border: none ;
-    text-decoration: none ;
-    font-weight: bold;
-    color: #73d216;
-}
-
-a:visited {
-}
-
-a:active {
+  border: none;
+  text-decoration: none;
+  font-weight: bold;
+  color: #73d216;
 }
 
 /* Common page elements: Header, footer, etc. */
 
 #hdr {
-    /*background-color: #3465a4;*/
-    background-color: #F4a514;
-    color: #FFFFFF;
-    padding: 0.5em;
-    border-bottom: 1px solid #000000;
+  background-color: #F4a514;
+  color: #FFFFFF;
+  padding: 0.5em;
+  border-bottom: 1px solid #000000;
 }
 
 #hdr h1 {
-    margin: 0em;
-    padding-top: 0.5em;
-    font-size: 175%;
+  margin: 0em;
+  padding-top: 0.5em;
+  font-size: 175%;
 }
 
 #hdr img {
-    float: left;
+  float: left;
 }
 
 #hdr h2 {
-    font-size: 120%;
+  font-size: 120%;
 }
+
 /* News */
+#newsblock {
+  padding-top:1.5em;
+  clear:left;
+}
 
-.news * {
-    font-size:90%;
-    margin: 0.1em;
-    padding:0px;
-    padding-left: 10px;
+.news {
+  font-size:85%;
+  color:#797979;
 }
 
-.news h4 {
-    font-size: 120%;
-    border-width:1px 0 0 0;
-    border-style:dotted;
-    margin: 0.3em 1.0em;
-    padding-top:2px;
-    padding-right: 10px;
+.news h1.title {
+  font-size: 120%;
+  border-width:1px 0 0 0;
+  border-style:dotted;
+  margin:0.3em 0 0.2em 0;
+  padding-top:0.3em;
 }
 
-.news h4 a {
-    color:black;
+.news h1.title a {
+  color:#555555;
 }
 
-.news h5 {
-    font-size:75%;
-    color:gray;
+.news h2.title {
+  font-size:75%;
+  color:gray;
+  margin:0;
+  padding:0 0 0.5em 0;
+}
+
+.news h1, .news h2, .news h3, .news h4 {
+  font-family: sans-serif;
+  font-size:100%;
+}
+
+.ndescription h1 {
+  font-size: 120%;
+}
+
+.ndescription li, .ndescription li p {
+  margin:0;
 }
 
 /* Sidebar */
 
 #sidebar {
-    float: right;
-    width: 18em;
-    margin: 1em;
-    padding: 0em 0.5em;
-    border-left: 1px dashed #dddddd;
+  float: right;
+  width: 18em;
+  margin: 1em;
+  padding: 0em 0.5em;
+  border-left: 1px dashed #dddddd;
 }
 
 #sidebar p {
-    margin-top: 0px;
-    padding-left: 10px;
-    padding-right: 10px;
+  margin-top: 0px;
+  padding-left: 10px;
+  padding-right: 10px;
 }
 
 #sidebar h3 {
-    font-weight: bold;
-    background-color: #eeeeee;
-    padding: 0.3em;
+  font-weight: bold;
+  background-color: #eeeeee;
+  padding: 0.3em;
 }
 
 #sidebar ul {
@@ -126,24 +133,21 @@ a:active {
   list-style-type: square;
 }
 
-
 /* Copyright footer */
-
 #copyright {
-    text-align: center;
-    font-size: small;
-    clear: both;
-    /*background-color: #3465a4;*/
-    background-color: #F4a514;
-    color: #FFFFFF;
-    margin: 2em 0em 0em 0em;
-    padding: 2em;
+  text-align: center;
+  font-size: small;
+  clear: both;
+  background-color: #F4a514;
+  color: #FFFFFF;
+  margin: 2em 0em 0em 0em;
+  padding: 1em;
 }
 
 /* Generic Classes */
 
 code {
-    white-space: pre;
-    font-family: monospace;
-    background-color: #eeeeee;
+  white-space: pre;
+  font-family: monospace;
+  background-color: #eeeeee;
 }
diff --git a/feed.py b/feed.py
index 5c4c326..2ed0f16 100644
--- a/feed.py
+++ b/feed.py
@@ -105,9 +105,9 @@ def write_rss(fp, items):
 
 src_item_template = r"""
 <div class="news">
-<h4><a name="%(anchor)s">%(title)s</a></h4>
-<h5>%(pubDate)s by %(author)s</h5>
-<div>%(description)s</div>
+<h1 class="title"><a name="%(anchor)s">%(title)s</a></h1>
+<h2 class="title">%(pubDate)s by %(author)s</h2>
+<div class="ndescription">%(description)s</div>
 </div>
 """
 
diff --git a/foot.src b/foot.src
index 8dc3132..4344760 100644
--- a/foot.src
+++ b/foot.src
@@ -1,6 +1,6 @@
 
     <div id="bottom">
-        <div id="copyright">Copyright 2009, The Glade project <br /> (Design by Nemiver developers, thank you! ;)) <br /><br /> <a href="http://validator.w3.org/check?uri=referer";><img src="http://www.w3.org/Icons/valid-xhtml10"; alt="Valid XHTML 1.0 Strict" height="31" width="88"/></a></div>
+        <div id="copyright">Copyright 2009, The Glade project <br /> (Design by Nemiver developers, thank you! ;))</div>
     </div>
 </body>
 </html>
diff --git a/head.src b/head.src
index 1752dcf..06cc05a 100644
--- a/head.src
+++ b/head.src
@@ -18,11 +18,11 @@
     <div id="hdr">
         <img alt="logo" src="images/glade.png" />
         <h1>Glade - A User Interface Designer</h1>
-
     </div>
+
     <div id="sidebar">
         <h3>Current Version: <strong>3.6</strong></h3>
-        <ul id="link">
+        <ul>
           <li><a href="http://ftp.gnome.org/pub/GNOME/binaries/win32/glade3/3.6/";>Windows binaries</a></li>
           <li><a href="http://ftp.gnome.org/pub/GNOME/binaries/mac/glade3/3.6/";>MacOSX binaries</a></li>
           <li><a href="http://glade.gnome.org/sources.html";>Download Sources</a></li>
@@ -39,7 +39,7 @@
             <li><a href="http://bugzilla.gnome.org/enter_bug.cgi?product=glade3";>File a bug</a></li>
           </ul>
         <h3>Development</h3>
-          <ul id="link">
+          <ul>
             <li><a href="http://lists.ximian.com/mailman/listinfo/glade-devel";>Developers mailing list</a></li>
             <li><a href="http://bugzilla.gnome.org/buglist.cgi?query=product%3Aglade3+";>Bug list</a></li>
             <li><a href="http://live.gnome.org/Glade/Roadmap";>Roadmap</a></li>
diff --git a/index.src b/index.src
index 207783c..b1663e5 100644
--- a/index.src
+++ b/index.src
@@ -3,7 +3,7 @@
     <div id="body">
 
     <p class="thumb">
-    <a class="thumb" href="images/glade-main-page.png">
+    <a class="thumb" href="images/glade-main-page.png" title="Glade main page screenshot">
         <img style="float: left; margin-right: 20px;" src="images/glade-main-page-thumb.png"
         alt="glade main page"/></a>
     </p>
@@ -26,8 +26,7 @@
 	  <a href="http://www.fsf.org/licensing/licenses/gpl.html";>GNU GPL License</a>
     </p>
 
-    <div style="clear:left;" />
-    <br>
+    <div id="newsblock">
     <h2>Latest news</h2>
     <div>
         <a href="http://glade.gnome.org/news.rss";><img src="images/feed-icon-14x14.png" alt="RSS" title="RSS feed" /></a>
@@ -35,6 +34,7 @@
     </div>
 <!--stp:include('newsitems-index.src') -->
     </div>
+    </div>
 
 <!--stp:include('foot.src') -->
 
diff --git a/newsitems.py b/newsitems.py
index f84bc25..41ac8b7 100644
--- a/newsitems.py
+++ b/newsitems.py
@@ -21,68 +21,72 @@ item("""Glade 3.6.7 "Horizontally Oriented" released""", (2009, 6, 29),
      """See the <a href="http://mail.gnome.org/archives/gnome-announce-list/2009-June/msg00063.html";>full announcement</a> for details.""", 'Tristan van Berkom')
 
 item("Glade 3.6.0 released", (2009, 3, 16),
-     """<br>Glade has seen a world of improvement since 3.4, if you dont know about it, 
-	  then I should at least skim over the new features and control we offer over your interface.
-	  
-	  <H3>Dual Project Formats</H3>
-	  Now projects can be edited in libglade format and in GtkBuilder
-	  format, offering you a load of new features only available in
-	  GtkBuilder format (also removing access to deprecated widgets).
-	  <br>
-	    Projects can be converted, the operation is undoable, and can
-	    result in data loss when some objects/widgets cant be ported to
-	    the target format (classic libglade format projects can always
-	    be converted to GtkBuilder format).
+     """
+    <p>Glade has seen a world of improvement since 3.4, if you dont know about it,
+    then I should at least skim over the new features and control we offer over your interface.</p>
 
-	    <H3>Target Project Version</H3>
-	    Glade now lets you target your GTK+ version for your project,
-	    giving you visual feedback and warnings about objects, properties
-	    and signals that you may be using that are not available in
-	    the targetted version of GTK+.
-	  <br>
-	    Interestingly Glade 3.6 depends on GTK+ 2.14, but gives you access to GTK+
-	    properties from GTK+ 2.16 even if only running against 2.14.
+    <h1>Dual Project Formats</h1>
+    <p>Now projects can be edited in libglade format and in GtkBuilder
+    format, offering you a load of new features only available in
+    GtkBuilder format (also removing access to deprecated widgets).</p>
 
-	  <H3>Access to new objects</H3>
-	  In GtkBuilder format, we have access to a whole new world of objects
-	  we've never seen before in Glade:
-	<ul>
-     <LI> GtkAction: <br>
-	   Represent your UI frontend widget(s) by an Action, actions
-       are a great abstraction for UI components and let you have multiple
-       screen widgets that correspond to a single "action" who all conform
-       to the said actions state.
+    <p>Projects can be converted, the operation is undoable, and can
+    result in data loss when some objects/widgets cant be ported to
+    the target format (classic libglade format projects can always
+    be converted to GtkBuilder format).
 
-     <LI> GTK+ MVC Framework:<br>
-       Now we give you access to GtkTreeView, GtkIconView, GtkComboBox (as a view),
-       GtkListStore, GtkTreeStore in Glade.<br>That pretty much says it all, I encourage
-       you all to try it, define columns and data for your treemodel, define columns
-       and renderers for your treeview, in an all in one treeview editor.
+    <h1>Target Project Version</h1>
+    <p>Glade now lets you target your GTK+ version for your project,
+    giving you visual feedback and warnings about objects, properties
+    and signals that you may be using that are not available in
+    the targetted version of GTK+.</p>
 
-     <LI> GtkIconFactory:<br>
-       Add your own stock id definitions using an icon factory, define graphics
-       for different widget sizes and widget states.
+    <p>Interestingly Glade 3.6 depends on GTK+ 2.14, but gives you access to GTK+
+    properties from GTK+ 2.16 even if only running against 2.14.</p>
 
-     <LI> GtkSizeGroup:<br>
-       Add widgets to logical groups that ensure all members have the same size.
-       </ul>
-       <H3>Sexy New Editors</H3>
-       With a new internal interface, we allow plugins to define editor layouts on a
-       class level basis, now we have customized editors for GtkButton, GtkImage, GtkLabel,
-       GtkEntry and many more (and they all have size to fit word wrapping property description texts in them).
+    <h1>Access to new objects</h1>
+    <p>In GtkBuilder format, we have access to a whole new world of objects
+    we've never seen before in Glade:</p>
+    <ul>
+    <li><h2>GtkAction:</h2>
+    <p>Represent your UI frontend widget(s) by an Action, actions
+    are a great abstraction for UI components and let you have multiple
+    screen widgets that correspond to a single "action" who all conform
+    to the said actions state.</p>
 
-       <H3>The Python Plugin</H3>
-       This is finally worked out into a plugin, its been around for a while now but
-       wasnt publicly/stably released to my knowlage, what it does is allow Glade to
-       introspect and load your python classes properties and signals and add it to
-       the palette automatically (with the use of a one or 2 liner user catalog),
-       documentation coming, or ask Juan Pablo ;-)
+    <li><h2>GTK+ MVC Framework:</h2>
+    <p>Now we give you access to GtkTreeView, GtkIconView, GtkComboBox (as a view),
+    GtkListStore, GtkTreeStore in Glade.</p>
+    <p>That pretty much says it all, I encourage
+    you all to try it, define columns and data for your treemodel, define columns
+    and renderers for your treeview, in an all in one treeview editor.</p>
+    </li>
+    <li><h2>GtkIconFactory:</h2>
+    <p>Add your own stock id definitions using an icon factory, define graphics
+    for different widget sizes and widget states.</p>
+    </li>
+    <li><h2>GtkSizeGroup:</h2>
+    <p>Add widgets to logical groups that ensure all members have the same size.</p>
+    </li>
+    </ul>
+    <h1>Sexy New Editors</h1>
+    <p>With a new internal interface, we allow plugins to define editor layouts on a
+    class level basis, now we have customized editors for GtkButton, GtkImage, GtkLabel,
+    GtkEntry and many more (and they all have size to fit word wrapping property description texts in them).</p>
 
-       <H3>Some Enhancements</H3>
-	<ul>
-	  <LI> Inspector lets you filter and search the project with an added entry (behaves like DevHelp's search entry but on the project).
-	  <LI> You can edit widgets inline with their editor in a dialog (Edit Separately in context menu), this editor window will stay on the same widget when selection changes).
-	</ul>""", 'Juan Pablo Ugarte')
+    <h1>The Python Plugin</h1>
+    <p>This is finally worked out into a plugin, its been around for a while now but
+    wasnt publicly/stably released to my knowlage, what it does is allow Glade to
+    introspect and load your python classes properties and signals and add it to
+    the palette automatically (with the use of a one or 2 liner user catalog),
+    documentation coming, or ask Juan Pablo ;-)</p>
+
+    <h1>Some Enhancements</h1>
+    <ul>
+    <li><p>Inspector lets you filter and search the project with an added entry (behaves like DevHelp's search entry but on the project).</p></li>
+    <li><p>You can edit widgets inline with their editor in a dialog (Edit Separately in context menu), this editor window will stay on the same widget when selection changes).</p></li>
+    </ul>
+    """, 'Juan Pablo Ugarte')
 
 #item("PyGobject 2.18.0 released", (2009, 5, 25),
 #     """PyGobject 2.18.0 has been released, this is a stable release, the first of the 2.18.x series. As usual, it's sources can be fetched
diff --git a/sources.src b/sources.src
index c08f9af..e83d6f3 100644
--- a/sources.src
+++ b/sources.src
@@ -1,7 +1,6 @@
 <!--stp:include('head.src') -->
 
     <div id="body">
-
         <h2>Getting sources</h2>
         <p>Sources of the Glade project can be obtained either from:</p>
         <ul>



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