Commits

Martín Mulone committed 19acffc

+ Some fixes to disqus plugin.
+ Fixes to widgets.
+ Merge widgets css in main layout.css
+ Example of layouts

  • Participants
  • Parent commits 88c64ff

Comments (0)

Files changed (6)

models/plugin_disqus.py

         <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript=%(site)s">comments powered by Disqus.</a></noscript>
         <a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
     
-         ''' % {'developer': developer, 'site': settings.disqus_site}
+         ''' % {'developer': developer, 'site': mainconfig.disqus_site}
         return XML(script)
     

models/plugin_i2p_widgets.py

         
     def files(self):
         
-        response.files.append(URL('static','plugin_i2pwidgets/css/plugin.i2pwidgets.css'))
+        pass
+        
+        #response.files.append(URL('static','plugin_i2pwidgets/css/plugin.i2pwidgets.css'))
     
         
     def _get_page_id(self, id):

private/extra/layouts/base.zip

Binary file added.

private/extra/layouts/new-york-magazine.zip

Binary file added.

static/plugin_i2pwidgets/css/plugin.i2pwidgets.css

-@charset "UTF-8";
-
-.i2p_page {    
-   
-}
-
-.i2p_page .post_nav { 
-    margin: 10px 0px 10px 0px;   
-}
-
-.i2p_page .post_description { 
-
-    margin: 5px 0px 10px 0px;
-   
-}
-
-/* Index, tag, category */
-.i2p_post_index {    
-   
-}
-
-/* Extract */
-.i2p_post_index .post_extract { 
-	margin-bottom: 15px;   
-}
-.i2p_post_index .post_extract .i2p_readmore { 	 
-	float: left;
-	margin-right: 10px;
-}
-.i2p_post_index .post_extract .i2p_responses { 	 
-	float: none;
-	
-}
-
-
-
-/* Pages */
-.i2p_post_index .pages {
-	float: right;	
-}
-.i2p_post_index .pages h2 {
-	margin: 30px 0px 30px 0px;
-	color: #555;
-	font-size: 14px;
-	padding-bottom: 5px;
-	border-bottom: 1px solid #dedede;	
-}
-.i2p_post_index .pages ul {
-	list-style-type: none;
-	margin: 0px;
-	padding: 0px;	
-}
-.i2p_post_index .pages ul li {
-	display: inline;	
-}
-.i2p_post_index .pages ul li a {	
-	margin: 0px 10px 0px 0px;	
-	color: #555;	
-	padding: 5px;	
-	text-decoration: none;
-}
-.i2p_post_index .pages ul li a:hover {	
-	background: #eaeaea;
-}
-.i2p_post_index .pages .current {		
-	font-weight: bold;
-}

static/plugin_layout/css/layout.css

 
 
 
+/*****************************
+* Widgets Powerpack
+*
+*/
+
+.i2p_page {    
+   
+}
+
+.i2p_page .post_nav { 
+    margin: 10px 0px 10px 0px;   
+}
+
+.i2p_page .post_description { 
+
+    margin: 5px 0px 10px 0px;
+   
+}
+
+/* Index, tag, category */
+.i2p_post_index {    
+   
+}
+
+/* Extract */
+.i2p_post_index .post_extract { 
+	margin-bottom: 15px;   
+}
+.i2p_post_index .post_extract .i2p_readmore { 	 
+	float: left;
+	margin-right: 10px;
+}
+.i2p_post_index .post_extract .i2p_responses { 	 
+	float: none;
+	
+}
+
+
+
+/* Pages */
+.i2p_post_index .pages {
+	float: right;	
+}
+.i2p_post_index .pages h2 {
+	margin: 30px 0px 30px 0px;
+	color: #555;
+	font-size: 14px;
+	padding-bottom: 5px;
+	border-bottom: 1px solid #dedede;	
+}
+.i2p_post_index .pages ul {
+	list-style-type: none;
+	margin: 0px;
+	padding: 0px;	
+}
+.i2p_post_index .pages ul li {
+	display: inline;	
+}
+.i2p_post_index .pages ul li a {	
+	margin: 0px 10px 0px 0px;	
+	color: #555;	
+	padding: 5px;	
+	text-decoration: none;
+}
+.i2p_post_index .pages ul li a:hover {	
+	background: #eaeaea;
+}
+.i2p_post_index .pages .current {		
+	font-weight: bold;
+}
+
+
+