Skip to content

Commit

Permalink
fixed layout and classes from live
Browse files Browse the repository at this point in the history
  • Loading branch information
barbie committed Jan 1, 2013
1 parent ac62a3e commit b65bcaa
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion vhost/cgi-bin/config/settings.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ mailhost=
cookiename=session
timeout=3600
autoguest=1
copyright=© 1999-2011 CPAN Testers.
copyright=© 1999-2013 CPAN Testers.
lastpagereturn=0
minpasslen=6
maxpasslen=20
Expand Down
2 changes: 1 addition & 1 deletion vhost/cgi-bin/templates/articles/arts-item.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[% IF item %]
[% IF item.type == 1 %]
[% IF item.link %]
[% IF item.align %][% class = item.align %][% ELSE %][% class = "inline" %][% END %]
[% IF item.align %][% class = 'thumb' _ item.align %][% ELSE %][% class = "inline" %][% END %]
[% IF item.href %]
<a href='[% item.href %]'><img class="[% class %]" src="[% webpath %]/[% item.link %]" alt="[% item.tag %]"
[% IF item.align %]align="[% item.align %]"[% END %]
Expand Down
2 changes: 1 addition & 1 deletion vhost/cgi-bin/templates/articles/arts-preview.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ <h1>Preview: [% preview.data.title %]</h1>
[% ELSE %]
[% IF item.type == 1 %]
[% IF item.link %]
[% IF item.align %][% class = item.align %][% ELSE %][% class = "inline" %][% END %]
[% IF item.align %][% class = 'thumb' _ item.align %][% ELSE %][% class = "inline" %][% END %]
[% IF item.href %]
<a href='[% item.href %]'><img class="[% class %]" src="[% webpath %]/[% item.link %]" alt="[% item.tag %]"
[% IF item.align %]align="[% item.align %]"[% END %]
Expand Down
3 changes: 1 addition & 2 deletions vhost/cgi-bin/templates/diary/diary-adminedit.html
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ <h2>[% preview.data.title %]</h2>
[% IF item.type == 1 %]

[% IF item.link %]
[% IF item.align %][% class = item.align %][% ELSE %][% class = "inline" %][% END %]
[% IF item.align %][% class = item.align %][% ELSE %][% class = "inline" %][% END %]
[% IF item.href %]
<div class="thumb[% item.align %]" >
<a href='[% item.href %]'><img class="[% class %]" src="/[% item.link %]" alt="[% item.tag %]"
Expand All @@ -152,7 +152,6 @@ <h2>[% preview.data.title %]</h2>
[% IF item.width %]width="[% item.width %]"[% END %]
[% IF item.height %]height="[% item.height %]"[% END %]
/>
[% IF item.tag %]<p>[% item.tag %]</p>[% END %]
</div>
[% END %]
[% END %]
Expand Down
14 changes: 13 additions & 1 deletion vhost/html/css/layout2_text.css
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ table.blocker th.named { width: 100px; }
padding-top: 5px;
}

.main-content .thumb1,
.main-content .thumbleft {
float: left;
margin: 0 5px 4px 0;
Expand All @@ -337,6 +338,7 @@ table.blocker th.named { width: 100px; }
text-align: center;
}

.main-content .thumb2,
.main-content .thumbcenter {
display: block;
margin: 0 auto 4px auto;
Expand All @@ -345,28 +347,38 @@ table.blocker th.named { width: 100px; }
text-align: center;
}

.main-content .thumb3,
.main-content .thumbright {
float: right;
margin: 0 0 4px 5px;
margin: 0 0 5px 10px;
padding: 4px;
border: 1px solid #a0a0a0;
text-align: center;
}

.main-content .thumb1 p,
.main-content .thumb2 p,
.main-content .thumb3 p,
.main-content .thumbleft p,
.main-content .thumbcenter p,
.main-content .thumbright p {
margin: 0;
padding: 0 0 -15px 0;
}

.main-content .thumb1 img,
.main-content .thumb2 img,
.main-content .thumb3 img,
.main-content .thumbleft img,
.main-content .thumbcenter img,
.main-content .thumbright img {
margin: 0px;
padding: 0px;
}

.main-content .thumb1 a img,
.main-content .thumb2 a img,
.main-content .thumb3 a img,
.main-content .thumbleft a img,
.main-content .thumbcenter a img,
.main-content .thumbright a img {
Expand Down

0 comments on commit b65bcaa

Please sign in to comment.