[Bast-commits] r6071 - in
ironman/plagger/assets/plugins/Publish-PagedPlanet: .
default/static/css default/template
penfold at dev.catalyst.perl.org
penfold at dev.catalyst.perl.org
Thu Apr 30 22:12:23 GMT 2009
Author: penfold
Date: 2009-04-30 23:12:23 +0100 (Thu, 30 Apr 2009)
New Revision: 6071
Modified:
ironman/plagger/assets/plugins/Publish-PagedPlanet/default/static/css/epo.css
ironman/plagger/assets/plugins/Publish-PagedPlanet/default/template/index.tt
ironman/plagger/assets/plugins/Publish-PagedPlanet/nav.tt
Log:
Move and tidy nav
Modified: ironman/plagger/assets/plugins/Publish-PagedPlanet/default/static/css/epo.css
===================================================================
--- ironman/plagger/assets/plugins/Publish-PagedPlanet/default/static/css/epo.css 2009-04-30 22:06:51 UTC (rev 6070)
+++ ironman/plagger/assets/plugins/Publish-PagedPlanet/default/static/css/epo.css 2009-04-30 22:12:23 UTC (rev 6071)
@@ -18,7 +18,7 @@
float: right;
font-size: 50%;
font-weight: bold;
- margin-right: 15em;
+ text-align: center;
}
.entry-footer {
font-size: 75%;
@@ -48,8 +48,7 @@
}
.member-link,
.entry-source-link,
-.entry-link,
-.nav-link{
+.entry-link{
color:#2c5aa0;
}
.member{
Modified: ironman/plagger/assets/plugins/Publish-PagedPlanet/default/template/index.tt
===================================================================
--- ironman/plagger/assets/plugins/Publish-PagedPlanet/default/template/index.tt 2009-04-30 22:06:51 UTC (rev 6070)
+++ ironman/plagger/assets/plugins/Publish-PagedPlanet/default/template/index.tt 2009-04-30 22:12:23 UTC (rev 6071)
@@ -53,8 +53,7 @@
</div>
</div>
<div id='main'>
- <div id="feed-title">[% feed.title %]
- [%- INCLUDE 'nav.tt' -%]</div>
+ <div id="feed-title">[% feed.title %]</div>
<ul id="members-list">
[% FOREACH member = members %]
<li class="member">
@@ -62,6 +61,9 @@
</li>
[% END %]
</ul>
+
+ [%- INCLUDE 'nav.tt' -%]
+
[% FOREACH entry = entries %]
<div class="entry">
<div class="entry-header">
Modified: ironman/plagger/assets/plugins/Publish-PagedPlanet/nav.tt
===================================================================
--- ironman/plagger/assets/plugins/Publish-PagedPlanet/nav.tt 2009-04-30 22:06:51 UTC (rev 6070)
+++ ironman/plagger/assets/plugins/Publish-PagedPlanet/nav.tt 2009-04-30 22:12:23 UTC (rev 6071)
@@ -1,6 +1,6 @@
[%- MACRO link(text,num) BLOCK %]<a class="nav-link" href="index[% IF (num > 1) %]_[% num %][% END %].html">[% text %]</a>[% END -%]
<div class="nav">
-[% prevpage = thispage - 1; IF (thispage == 1) %]|< <-[% ELSE; link('|<',1) %] [% link('<-',prevpage); END -%]
+[% prevpage = thispage - 1; IF (thispage == 1) %]First Previous [% ELSE; link('First',1) %] [% link('Previous',prevpage); END -%]
[%- FOREACH page IN [1..pagecount]; IF (page == thispage); %] [% page; ELSE; %] [% link(page,page); END; END -%]
-[%- nextpage = thispage + 1; IF (thispage == pagecount); %] -> >|[% ELSE %] [% link('->',nextpage) %] [% link('>|',pagecount); END -%]
+[%- nextpage = thispage + 1; IF (thispage == pagecount); %] Next Last;|[% ELSE %] [% link('Next',nextpage) %] [% link('Last',pagecount); END -%]
</div>
More information about the Bast-commits
mailing list