[Bast-commits] r6054 - in
ironman/plagger/assets/plugins/Publish-PagedPlanet: . default
default/static default/static/css default/template
castaway at dev.catalyst.perl.org
castaway at dev.catalyst.perl.org
Thu Apr 30 20:03:16 GMT 2009
Author: castaway
Date: 2009-04-30 21:03:13 +0100 (Thu, 30 Apr 2009)
New Revision: 6054
Added:
ironman/plagger/assets/plugins/Publish-PagedPlanet/default/static/
ironman/plagger/assets/plugins/Publish-PagedPlanet/default/static/css/
ironman/plagger/assets/plugins/Publish-PagedPlanet/default/static/css/epo.css
ironman/plagger/assets/plugins/Publish-PagedPlanet/default/static/css/handheld.css
ironman/plagger/assets/plugins/Publish-PagedPlanet/default/static/css/print.css
ironman/plagger/assets/plugins/Publish-PagedPlanet/default/static/css/screen-members-list.css
ironman/plagger/assets/plugins/Publish-PagedPlanet/default/static/css/screen.css
Modified:
ironman/plagger/assets/plugins/Publish-PagedPlanet/default/template/index.tt
ironman/plagger/assets/plugins/Publish-PagedPlanet/nav.tt
Log:
checkpoint so I can use a decent editor
Added: ironman/plagger/assets/plugins/Publish-PagedPlanet/default/static/css/epo.css
===================================================================
--- ironman/plagger/assets/plugins/Publish-PagedPlanet/default/static/css/epo.css (rev 0)
+++ ironman/plagger/assets/plugins/Publish-PagedPlanet/default/static/css/epo.css 2009-04-30 20:03:13 UTC (rev 6054)
@@ -0,0 +1,30 @@
+body{
+background: #5F8DD3;
+}
+img{
+border:none;
+}
+.entry {
+border:8px solid #D7E3F4;
+}
+#feed-title{
+background:none;
+border:none;
+color:#ffffff;
+font-family:arial;
+font-weight:bold;
+padding:0;
+text-align:left;
+}
+#members-list{
+border:8px solid #D7E3F4;
+}
+.member-link,
+.entry-source-link,
+.entry-link{
+color:#2c5aa0;
+text-decoration:none;
+}
+.member{
+padding:5px;
+}
Added: ironman/plagger/assets/plugins/Publish-PagedPlanet/default/static/css/handheld.css
===================================================================
--- ironman/plagger/assets/plugins/Publish-PagedPlanet/default/static/css/handheld.css (rev 0)
+++ ironman/plagger/assets/plugins/Publish-PagedPlanet/default/static/css/handheld.css 2009-04-30 20:03:13 UTC (rev 6054)
@@ -0,0 +1,32 @@
+body {
+ background: white;
+ color: black;
+ padding: 2em;
+}
+
+#feed-title {
+ font-weight: bold;
+ font-size: x-large;
+}
+
+.entry {
+ border-top: black 1px solid;
+ padding: 1em;
+}
+
+.entry-header {
+ font-weight: bold;
+ font-size: large;
+}
+
+a {
+ color: black;
+}
+
+.entry-title a {
+ text-decoration: none;
+}
+
+img {
+ display: none;
+}
\ No newline at end of file
Added: ironman/plagger/assets/plugins/Publish-PagedPlanet/default/static/css/print.css
===================================================================
--- ironman/plagger/assets/plugins/Publish-PagedPlanet/default/static/css/print.css (rev 0)
+++ ironman/plagger/assets/plugins/Publish-PagedPlanet/default/static/css/print.css 2009-04-30 20:03:13 UTC (rev 6054)
@@ -0,0 +1,28 @@
+body {
+ background: white;
+ color: black;
+ padding: 2em;
+}
+
+#feed-title {
+ font-weight: bold;
+ font-size: x-large;
+}
+
+.entry {
+ border-top: black 1px solid;
+ padding: 1em;
+}
+
+.entry-header {
+ font-weight: bold;
+ font-size: large;
+}
+
+a {
+ color: black;
+}
+
+.entry-title a {
+ text-decoration: none;
+}
Added: ironman/plagger/assets/plugins/Publish-PagedPlanet/default/static/css/screen-members-list.css
===================================================================
--- ironman/plagger/assets/plugins/Publish-PagedPlanet/default/static/css/screen-members-list.css (rev 0)
+++ ironman/plagger/assets/plugins/Publish-PagedPlanet/default/static/css/screen-members-list.css 2009-04-30 20:03:13 UTC (rev 6054)
@@ -0,0 +1,18 @@
+
+#members-list {
+ border: 1px solid #aaa;
+ margin: 2em;
+ margin-top: 0;
+ padding: 1em;
+ background-color: white;
+ float: right;
+ width: 15em;
+}
+
+.member {
+ display: block;
+}
+
+.entry {
+ margin-right: 21em;
+}
\ No newline at end of file
Added: ironman/plagger/assets/plugins/Publish-PagedPlanet/default/static/css/screen.css
===================================================================
--- ironman/plagger/assets/plugins/Publish-PagedPlanet/default/static/css/screen.css (rev 0)
+++ ironman/plagger/assets/plugins/Publish-PagedPlanet/default/static/css/screen.css 2009-04-30 20:03:13 UTC (rev 6054)
@@ -0,0 +1,28 @@
+body {
+ background-color: #ccc;
+ color: black;
+ font-family: Verdana, sans-serif;
+}
+
+#feed-title {
+ font-size: xx-large;
+ text-align: center;
+ border: 1px solid #aaa;
+ margin: 1em;
+ padding: 1em;
+ background-color: white;
+}
+
+.entry {
+ border: 1px solid #aaa;
+ margin: 2em;
+ padding: 1em;
+ background-color: white;
+}
+
+.entry-title {
+ display: block;
+ font-weight: bold;
+ margin-bottom: 1em;
+ font-size: large;
+}
Modified: ironman/plagger/assets/plugins/Publish-PagedPlanet/default/template/index.tt
===================================================================
--- ironman/plagger/assets/plugins/Publish-PagedPlanet/default/template/index.tt 2009-04-30 20:03:06 UTC (rev 6053)
+++ ironman/plagger/assets/plugins/Publish-PagedPlanet/default/template/index.tt 2009-04-30 20:03:13 UTC (rev 6054)
@@ -14,6 +14,7 @@
<link rel="meta" type="application/rdf+xml" title="foafroll" href="[% url.foaf %]" />
[% END -%]
<link rel="stylesheet" type="text/css" href="css/screen.css" />
+ <link rel="stylesheet" type="text/css" href="css/epo.css" />
<link rel="stylesheet" type="text/css" href="css/print.css" media="print" />
<link rel="stylesheet" type="text/css" href="css/handheld.css" media="handheld" />
<link rel="stylesheet" type="text/css" href="css/screen-members-list.css" />
@@ -54,7 +55,7 @@
</div>
[% IF entry.body %]
<div class="entry-body">
- [% entry.body %]
+ [% entry.body.truncate_html(300) %]
</div>
[% END %]
<div class="entry-footer">
Modified: ironman/plagger/assets/plugins/Publish-PagedPlanet/nav.tt
===================================================================
--- ironman/plagger/assets/plugins/Publish-PagedPlanet/nav.tt 2009-04-30 20:03:06 UTC (rev 6053)
+++ ironman/plagger/assets/plugins/Publish-PagedPlanet/nav.tt 2009-04-30 20:03:13 UTC (rev 6054)
@@ -1,6 +1,6 @@
[%- MACRO link(text,num) BLOCK %]<a href="index[% IF (num > 1) %]_[% num %][% END %].html">[% text %]</a>[% END -%]
<div class="nav">
-[% IF (thispage == 1); prevpage = thispage - 1 %]|< <-[% ELSE; link('|<',1) %] [% link('<-',prevpage); END -%]
+[% prevpage = thispage - 1; IF (thispage == 1) %]|< <-[% ELSE; link('|<',1) %] [% link('<-',prevpage); END -%]
[%- FOREACH page IN [1..pagecount]; IF (page == thispage); %] [% page; ELSE; %] [% link(page,page); END; END -%]
-[%- IF (thispage == pagecount); nextpage = thispage + 1 %] -> >|[% ELSE %] [% link('->',nextpage) %] [% link('>|',pagecount); END -%]
+[%- nextpage = thispage + 1; IF (thispage == pagecount); %] -> >|[% ELSE %] [% link('->',nextpage) %] [% link('>|',pagecount); END -%]
</div>
More information about the Bast-commits
mailing list