Skip to content

Commit

Permalink
Misc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tvroom committed Aug 25, 2005
1 parent 92eb278 commit 1755257
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 33 deletions.
7 changes: 5 additions & 2 deletions themes/slashcode/htdocs/comments.css
Expand Up @@ -76,5 +76,8 @@ html > body .commentwrap table {
padding: .3em;
}



#commentlisting {
padding: 0px;
margin: 0px;
list-style: none;
}
42 changes: 21 additions & 21 deletions themes/slashcode/htdocs/slashcode.css
Expand Up @@ -3,7 +3,7 @@ body, div, form, #links ul li, #links ul, #topnav, img { font-size: 100%; }
body
{
font-family: Times, serif;
background: #e5e5e5 url("http://images.slashcode.com/bg2.gif") repeat-x;
background: #e5e5e5 url("/images/bg2.gif") repeat-x;
}
a { color: #600; }
a:visited { color: #000; }
Expand All @@ -21,7 +21,7 @@ a:visited { color: #000; }
{
width: 115px;
height: 80px;
background: url(http://images.slashcode.com/logo.gif) no-repeat;
background: url("/images/logo.gif") no-repeat;
text-indent: -700em;
display: block;
text-decoration: none;
Expand All @@ -39,20 +39,20 @@ a:visited { color: #000; }

/* links */
#links { background: #e5e5e5; }
#links div.block { background: #fff url("http://images.slashcode.com/cbl.gif") bottom left no-repeat; }
#links div.title { background: #b2b2b2 url("http://images.slashcode.com/ctl_grey.gif") top left no-repeat; }
#links div.block { background: #fff url("/images/cbl.gif") bottom left no-repeat; }
#links div.title { background: #b2b2b2 url("/images/ctl_grey.gif") top left no-repeat; }

#links h4
{
background: url("http://images.slashcode.com/ctr_grey.gif") top right no-repeat;
background: url("/images/ctr_grey.gif") top right no-repeat;
font-weight: bold;
font-size: 80%;
font-family: arial, helvetica, sans-serif;
}

#links div.content
{
background: url("http://images.slashcode.com/cbr.gif") bottom right no-repeat;
background: url("/images/cbr.gif") bottom right no-repeat;
padding: .3em .3em .6em .3em;
font-size: 75.5%;
line-height: 140%;
Expand All @@ -63,12 +63,12 @@ a:visited { color: #000; }

/* slashboxes */
#slashboxes { background: #e5e5e5; }
#slashboxes div.block { background: #fff url("http://images.slashcode.com/cbr.gif") bottom right no-repeat; }
#slashboxes div.title { background: #b2b2b2 url("http://images.slashcode.com/ctl_grey.gif") top left no-repeat; }
#slashboxes div.block { background: #fff url("/images/cbr.gif") bottom right no-repeat; }
#slashboxes div.title { background: #b2b2b2 url("/images/ctl_grey.gif") top left no-repeat; }

#slashboxes h4
{
background: url("http://images.slashcode.com/ctr_grey.gif") top right no-repeat;
background: url("/images/ctr_grey.gif") top right no-repeat;
font-weight: bold;
font-family: arial, helvetica, sans-serif;
font-size: 80%;
Expand All @@ -77,7 +77,7 @@ a:visited { color: #000; }

#slashboxes div.content
{
background: url("http://images.slashcode.com/cbl.gif") bottom left no-repeat;
background: url("/images/cbl.gif") bottom left no-repeat;
font-size: 75.5%;
line-height: 140%;
}
Expand All @@ -91,12 +91,12 @@ a:visited { color: #000; }
}

/* General */
.generaltitle { background: url("http://images.slashcode.com/bg_red.gif") #933 repeat-x; }
.generaltitle div.title { background: transparent url("http://images.slashcode.com/ctl_red.gif") top left no-repeat; }
.generaltitle { background: url("/images/bg_red.gif") #933 repeat-x; }
.generaltitle div.title { background: transparent url("/images/ctl_red.gif") top left no-repeat; }

.generaltitle h3
{
background: transparent url("http://images.slashcode.com/ctr_red.gif") top right no-repeat;
background: transparent url("/images/ctr_red.gif") top right no-repeat;
color: #fff;
font-family: arial, helvetica, sans-serif;
font-size: 100%;
Expand All @@ -118,18 +118,18 @@ a:visited { color: #000; }

.article
{
background: #933 url("http://images.slashcode.com/bg_red.gif") repeat-x;
background: #933 url("/images/bg_red.gif") repeat-x;
}


.article div.title
{
background: url("http://images.slashcode.com/ctl_red.gif") top left no-repeat;
background: url("/images/ctl_red.gif") top left no-repeat;
}

.article h3
{
background: url("http://images.slashcode.com/ctr_red.gif") top right no-repeat;
background: url("/images/ctr_red.gif") top right no-repeat;
color: #fff;
font-family: arial, helvetica, sans-serif;
font-size: 100%;
Expand All @@ -142,25 +142,25 @@ a:visited { color: #000; }
font-weight: normal;
font-family: verdana, arial, helvetica, sans-serif;
border: 1px solid #aaa;
background: #ddd url("http://images.slashcode.com/bg_details.gif") repeat-x;
background: #ddd url("/images/bg_details.gif") repeat-x;
}
.article .body
{
border: 1px solid #aaa;
border-top: none;
background: #fff url("http://images.slashcode.com/bg_white.gif") repeat-x;
background: #fff url("/images/bg_white.gif") repeat-x;
}

div.storylinks
{
background: #eee url("http://images.slashcode.com/bg_storylinks.gif") bottom repeat-x;
background: #eee url("/images/bg_storylinks.gif") bottom repeat-x;
font-size: 80%;
font-family: arial,helvetica,sans-serif;
height: 100%;
}

div.storylinks div { background: url("http://images.slashcode.com/cbr_ltgrey.gif") bottom right no-repeat; }
div.storylinks ul { background: url("http://images.slashcode.com/cbl_ltgrey.gif") bottom left no-repeat; }
div.storylinks div { background: url("/images/cbr_ltgrey.gif") bottom right no-repeat; }
div.storylinks ul { background: url("/images/cbl_ltgrey.gif") bottom left no-repeat; }
div.storylinks ul li { border-left: 1px solid #555; }

/* Footer */
Expand Down
1 change: 1 addition & 0 deletions themes/slashcode/templates/dispTheComments;metamod;default
Expand Up @@ -73,6 +73,7 @@ to do this unless you need more context to fairly meta moderate.<br><br></li>
[% IF reasons.${C.modreason}.unfairname; reasons.${C.modreason}.name; ELSE; "Fair"; END %]
</b>&nbsp;&nbsp;|&nbsp;
<a href="[% context_url %]">See Context</a><hr>
</li>
[% END %]
[% IF comments.size %]
</ul>
Expand Down
7 changes: 5 additions & 2 deletions themes/slashcode/templates/edit_comment;comments;default
Expand Up @@ -23,7 +23,10 @@ __template__
[% IF form.pid %]
[% PROCESS titlebar title="Reply to: $reply.subject" %]
<div class="generalbody">
<ul id="commentlisting">
[% Slash.dispComment(reply) %]
</li>
</ul>
</div>
[% END %]

Expand Down Expand Up @@ -121,7 +124,7 @@ END %]
[% section_select %]
[% END %]
[% PROCESS formLabel value=>'URL' %]
<input type="text" name="url" value="[% form.url | strip_attribute %]" size=50>
<input type="text" name="url" value="[% form.url | strip_attribute %]" size="50">
[% END %]

[% PROCESS formLabel value => 'Subject' %]
Expand All @@ -136,7 +139,7 @@ END %]
[% pulldown = extra.1 %]
[% Slash.createSelect(extra.1, Slash.db.getDescriptions('genericstring',pulldown), form.${extra.1}, 1, 1) %]
[% END %]

</b>
[% END %]

[% PROCESS formLabel value => 'Comment' %]
Expand Down
10 changes: 6 additions & 4 deletions themes/slashcode/templates/modCommentLog;misc;default
Expand Up @@ -45,6 +45,7 @@ bg_toggle = 0;
[% IF mods.size > 0 || show_uid_totals %]
[% IF user.is_admin and need_m2_form %]
<form method="post" action="[% gSkin.rootdir %]/comments.pl">
<div>
[% END %]
[% IF meta_mod_only %]
<input type="hidden" name="meta_mod_only" value="1">
Expand Down Expand Up @@ -192,7 +193,6 @@ bg_toggle = 0;
<td><b>[% this_user.stirred %] Stirred</b></td>
</tr>
[% END %]
</table>
[% IF user.is_admin and (need_m2_form || need_m2_button )%]
[% IF need_m2_button %]
<tr class="data_hl1"><td colspan="[% total_cols %]" align="right">
Expand All @@ -201,7 +201,9 @@ bg_toggle = 0;
</td></tr>
[% END %]
[% END %]
[% IF need_m2_form %]
</table>
[% IF need_m2_form %]
</div>
</form>
[% END %]
[% END %]
Expand Down Expand Up @@ -237,9 +239,9 @@ END;

IF num_modifiers > 0 %]

<table bgcolor="[% user.colors.bg_2 %]" align="center" border="0" cellpadding="2" cellspacing="0" width="300">
<table align="center" border="0" cellpadding="2" cellspacing="0" width="300">

<tr class="[% user.colors.bg_3 %]">
<tr class="data_head">
<th align="left">Starting Score:&nbsp;&nbsp;&nbsp;</th>
<th colspan="2" align="right">[% modifier_hr.score_start || 0 %]</th>
<th align="left">&nbsp;point[% IF modifier_hr.score_start != 1 %]s[% END %]</th>
Expand Down
5 changes: 2 additions & 3 deletions themes/slashcode/templates/preview_comm;comments;default
Expand Up @@ -13,10 +13,9 @@ en_US
__name__
preview_comm
__template__
<table border="0" cellpadding="0" cellspacing="0" width="95%" align="CENTER">
<ul id="commentlisting">
[% Slash.dispComment(preview) %]
</table>

</ul>

__seclev__
1000
Expand Down
1 change: 0 additions & 1 deletion themes/slashcode/templates/printCommComments;misc;default
Expand Up @@ -51,7 +51,6 @@ __template__
[% IF next %]
[% Slash.linkComment(next, 1) %]&gt;&gt;
[% END %]

[% Slash.moderatorCommentLog('cid', cid, { show_m2s => (form.show_m2s.defined ? form.show_m2s : user.m2_with_comm_mod), need_m2_form => !moderate_form, need_m2_button => 1, title=>" " }); %]
[% END %]

Expand Down

0 comments on commit 1755257

Please sign in to comment.