Commits

grasbauer  committed 30a2d1d

Added javascript feedparser

  • Participants
  • Parent commits fe5ba3a

Comments (0)

Files changed (4)

File _static/tryton.css

       }
      
 body {
-    font-family: "Nobile", sans-serif;
+    font-family: sans-serif;
     font-size: 95%;
     background-color:transparent;
     color: #000;
     min-height:100%;
     border-radius: 15px;
     border:1px solid #4E5154
-   
-    
 }
 
 div.topnavi {
     height: 37px;
     color: #373839;
-    font-size: 0.8em;
+    font-size: 100%;
     background: url(topnavi.png) repeat-x;
     padding: 7px 0 0 10px;
     position:relative;
     top:-30px;
+    line-height: 150%;
     border-radius: 8px
     }
  
 div.topnavi a {
     color:white;
-    font-size: 105%;
+    font-size: 90%;
     display:block;
     float:left;
     padding:3px 15px;
     margin-right:10px;
     border: 1px solid #ECECEC;
-    border-radius:3px;
+    border-radius:5px;
     text-decoration: none;
     color:#000;
     
    background: #E76619;
    color:#fff;
    }
-iframe {
-   border:0;
-   width:99%
-   }
    
 .search {
    float:right;
-   padding:5px 20px 0 0
+   padding:2px 20px 0 0
    }
 div.documentwrapper {
     float: left;
 div.sphinxsidebar input[type=text]{
     margin-left: 20px;
 }
+/* -- rss -------------------------------------------------------------- */
+.rssRow { 
+    list-style:none;
+}
+
+.rssRow a {
+   
+   font-weight:bold;
+   border:0;
+   margin:0;
+   padding:0
+}
+
+.rssBody ul
+{
+   margin:0;
+   padding:0
+}
+.rssRow h4
+{
+   border:0 !important;
+   margin:0 0 3px 0 !important;
+   padding:0 !important
+}
 
 /* -- sidebars -------------------------------------------------------------- */
 
 div.body h4,
 div.body h5,
 div.body h6 {
-    font-family: "Nobile", sans-serif;
+    font-family: sans-serif;
     background-color: #ffffff;
     font-weight: normal;
     color: #373839;
 }
 
 .viewcode-back {
-    font-family: "Nobile", sans-serif;
+    font-family: sans-serif;
 }
 
 div.viewcode-block:target {
 }
 
 .download {
-    font-family: "Nobile", sans-serif;
+    font-family: sans-serif;
     font-weight: normal;
     font-style: normal;
 }

File _templates/layout.html

 {% extends "basic/layout.html" %}
 {%- block extrahead %}
-<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Nobile:regular,italic,bold,bolditalic&amp;subset=latin" type="text/css" media="screen" charset="utf-8" />
+<script type="text/javascript" src="{{ pathto('_static/jquery.zrssfeed.min.js', 1) }}"></script>
 <link rel="stylesheet" href="{{ pathto('_static/tryton.css', 1) }}" type="text/css" media="screen" charset="utf-8" />
 {% endblock %}
 
 
 # Add any Sphinx extension module names here, as strings. They can be extensions
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['mainnavigation','iframe','underscore']
+extensions = ['mainnavigation','feed','underscore']
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']
 
 **Announce**
 
-.. iframe:: http://127.0.0.1:5000/tryton-announce
+.. feed:: feed1#http://groups.google.com/group/tryton-announce/feed/atom_v1_0_topics.xml
 
 **Tryton dev**
 
-.. iframe:: http://127.0.0.1:5000/tryton-dev
+.. feed::  feed2#http://groups.google.com/group/tryton-dev/feed/atom_v1_0_topics.xml
 
 **Tryton**
 
-.. iframe:: http://127.0.0.1:5000/tryton
+.. feed::  feed3#http://groups.google.com/group/tryton/feed/atom_v1_0_topics.xml