timeline 추가

git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4733 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
haneul 2008-10-30 10:15:25 +00:00
parent 2fd078ff5c
commit 82068ec7c1
12 changed files with 156 additions and 1 deletions

View file

@ -263,3 +263,13 @@ fieldset.history ul li.content { padding:10px; color:#444444;}
.pagination.c2 a.next{ background:url(../images/arrowNextC1.gif) no-repeat center;}
.pagination.c2 a.prev span,
.pagination.c2 a.next span{ position:absolute; width:0; height:0; overflow:hidden; visibility:hidden;}
/* Timeline */
h4 { background: #F7F7F7 none repeat scroll 0 0; border-bottom:1px solid #D7D7D7; font-size:1.05em; }
dt .time { color: #999999; font-size: 0.90em; }
dt em { border-bottom: 1px dotted #BBBBBB; color: #BB0000; font-style:normal; text-decoration: none; }
dt .author { color: #666666; }
dd { color: #777766; font-size: 0.90em; }
dl { line-height: 1.3em; margin: 0; }
dt { padding: 5px 4px 2px 0 }
dd.changeset p { margin: 0; padding: 0; }

View file

@ -0,0 +1,20 @@
<!--#include('header.html')-->
<h2> Timeline </h2>
{@ $curDate = null }
<!--@foreach($changesets as $changeset)-->
<!--@if($curdate || strcmp(zdate($changeset->date, "Ymd"), $curDate))-->
<h4>{zdate($changeset->date, "Y-m-d")}</h4>
<!--@if($curDate)-->
</dl>
<!--@end-->
<dl>
{@ $curDate = zdate($changeset->date, "Ymd") }
<!--@end-->
<dt class="changeset">
<span class="time">{zdate($changeset->date,"H:i")}</span>
Changeset <em>[{$changeset->revision}]</em> by <span class="author">{$changeset->author}</span>
</dt>
<dd class="changeset"> <p>{$changeset->message}</p> </dd>
<!--@end-->
</dl>