Skip to content

Commit

Permalink
ui: add back and top button
Browse files Browse the repository at this point in the history
  • Loading branch information
abev66 committed Jun 12, 2012
1 parent b115e9c commit 84dae15
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 2 deletions.
1 change: 1 addition & 0 deletions header.inc
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
<a name='top'></a>
<div class='header'>ybot</div>
<div class='subtitle'>The Control Panel of a Little Plurk Bot!</div>
2 changes: 1 addition & 1 deletion keyworddetail.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
}
?>
</table>
<a href='javascript:history.back()'>Back</a>
<a href='javascript:history.back()' class='back-btn'><img src='images/back.png'> Back</a>
</div>
</body>
</html>
Expand Down
1 change: 1 addition & 0 deletions keywordedit.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
}
?>
</div>
<div style='text-align: center'><a class='top-btn' href='#top'><img src='images/top.png' />Top</a></div>
</div>
</body>
</html>
2 changes: 1 addition & 1 deletion responsedetail.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
}
?>
</div>
<a href='javascript:history.back()'>Back</a>
<a href='javascript:history.back()' class='back-btn'><img src='images/back.png'> Back</a>

</body>
</html>
Expand Down
1 change: 1 addition & 0 deletions responseedit.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
}
?>
</table>
<div style='text-align: center'><a class='top-btn' href='#top'><img src='images/top.png' />Top</a></div>
</div>
</div>
</body>
Expand Down
9 changes: 9 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -331,4 +331,13 @@ span:hover {
}
.unlink-btn:hover {
background-color: #58B4FF;
}

.back-btn, .top-btn {
height: 32px;
}

.back-btn img, .top-btn img{
display: inline-block;
vertical-align: middle;
}

0 comments on commit 84dae15

Please sign in to comment.