Skip to content

Commit

Permalink
refs #1249
Browse files Browse the repository at this point in the history
  * iphone UI 에 바로가기 기능 추가 준비
  * 댓글 목록 / 트랙백 목록 기능 추가 준비
  • Loading branch information
inureyes committed Nov 25, 2009
1 parent 23823bb commit 07c6286
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 9 deletions.
22 changes: 15 additions & 7 deletions interface/i/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,14 @@
<a id="backButton" class="button" href="#"></a>
<a class="button" href="#searchForm" id="searchButton" onclick="searchAction(true);">Search</a>
</div>
<div class="toolbar shortcut">
<ul>
<li><?php echo _text('글목록');?></li>
<li><?php echo _text('댓글');?></li>
<li><?php echo _text('트랙백');?></li>
<li><?php echo _text('방명록');?></li>
</ul>
</div>
<ul id="home" title="<?php echo htmlspecialchars(UTF8::lessenAsEm($blog['title'],30));?> Blog" selected="true">
<?php
$blogAuthor = User::getName($blogid);
Expand All @@ -27,19 +35,19 @@
$itemsView .= '</li>'.CRLF;
print $itemsView;
?>
<li><a href="<?php echo $blogURL;?>/entry" class="link">Posts</a></li>
<li><a href="#categories" class="link">Categories</a></li>
<li><a href="#archives" class="link">Archives</a></li>
<li><a href="#tags" class="link">Tags</a></li>
<li><a href="<?php echo $blogURL;?>/link" class="link">Links</a></li>
<li><a href="<?php echo $blogURL;?>/entry" class="link"><?php echo _text('글목록');?></a></li>
<li><a href="#categories" class="link"><?php echo _text('분류');?></a></li>
<li><a href="#archives" class="link"><?php echo _text('보관목록');?></a></li>
<li><a href="#tags" class="link"><?php echo _text('태그');?></a></li>
<li><a href="<?php echo $blogURL;?>/link" class="link"><?php echo _text('링크');?></a></li>
<?php
if (doesHaveOwnership()) {
?>
<li><a href="<?php echo $blogURL;?>/logout" class="link logout">Logout</a></li>
<li><a href="<?php echo $blogURL;?>/logout" class="link logout"><?php echo _text('로그아웃');?></a></li>
<?php
}else{
?>
<li><a href="<?php echo $blogURL;?>/#" class="link">Login</a></li>
<li><a href="<?php echo $blogURL;?>/#" class="link"><?php echo _text('로그인');?></a></li>
<?php
}
?>
Expand Down
28 changes: 26 additions & 2 deletions resources/style/iphone/iphone.css
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ body > *:not(.toolbar) {
margin: 0;
padding: 0;
left: 0;
top: 45px;
top: 75px;
width: 100%;
min-height: 372px;
-webkit-transition-duration: 300ms;
Expand Down Expand Up @@ -83,6 +83,30 @@ body[orient="landscape"] > .toolbar > h1 {
width: 250px;
}


body > .shortcut {
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
border-bottom: 1px solid #2d3642;
padding: 10px;
height: 30px !important;
background-color: #CCC !important;
background-image: none !important;
/*
background: url(image/toolbar2.png) #191919 repeat-x;
*/
}

body > .shortcut ul {
margin-top:0;
}

body > .shortcut ul li{
display:inline;
padding-right:15px;
}

.button {
position: absolute;
overflow: hidden;
Expand Down Expand Up @@ -912,4 +936,4 @@ ul > li > a.link > span.colorText > span.c4 {color:#FAA61A}
ul > li > a.link > span.colorText > span.c5 {color:#997A00}
ul > li > a.link > span.colorText > span.c6 {color:#C4151B}
ul > li > a.link > span.colorText > span.c7 {color:#C40075}
ul > li > a.link > span.colorText > span.c8 {color:#EC008C}
ul > li > a.link > span.colorText > span.c8 {color:#EC008C}

0 comments on commit 07c6286

Please # to comment.