Beginning of gollum redesign

This commit is contained in:
Eston Bond
2010-11-04 14:10:58 -07:00
parent c9870fb6cb
commit ca5bf8b31e
412 changed files with 9157 additions and 42316 deletions
+1 -38
View File
@@ -28,6 +28,7 @@
<fieldset>
<table>
<tbody>
<tr>
<td class="checkbox">
<input type="checkbox" name="revision" value="sha1">
@@ -48,45 +49,7 @@
</td>
</tr>
<tr class="alt-row">
<td class="checkbox">
<input type="checkbox" name="revision" value="sha1">
</td>
<td class="author">
<a href="javascript:void(0)">
<img src="" alt="avatar: username" class="mini-gravatar">
<span class="username">username</span>
</a>
</td>
<td class="commit-name">
<span class="time-elapsed">3 days ago:</span>&nbsp;
Rewrote home page as Markdown&hellip;
[<a href="javascript:void(0);" title="View commit">a45719f&hellip;</a>]
</td>
<td class="revert-action">
<a href="javascript:void(0);">Revert to <span>a45719f&hellip;</span></a>
</td>
</tr>
<tr>
<td class="checkbox">
<input type="checkbox" name="revision" value="sha1">
</td>
<td class="author">
<a href="javascript:void(0)">
<img src="" alt="avatar: username" class="mini-gravatar">
<span class="username">username</span>
</a>
</td>
<td class="commit-name">
<span class="time-elapsed">3 days ago:</span>&nbsp;
Rewrote home page as Markdown&hellip;
[<a href="javascript:void(0);" title="View commit">a45719f&hellip;</a>]
</td>
<td class="revert-action">
<a href="javascript:void(0);">Revert to <span>a45719f&hellip;</span></a>
</td>
</tr>
</tbody>
</table>
</fieldset>
+9
View File
@@ -30,6 +30,15 @@ $(document).ready(function() {
$('#wiki-history td.revert-action a').mouseenter(highlightOn);
$('#wiki-history td.revert-action a').mouseleave(highlightOff);
$('li.minibutton a.action-compare-revision').click(function( e ) {
e.preventDefault();
$('#version-form').submit();
});
$('li.minibutton a.action-back-to-top').click(function( e ) {
e.preventDefault();
$('body').scrollTop = 0;
});
};
});