Beginning of gollum redesign
This commit is contained in:
+1
-38
@@ -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>
|
||||
Rewrote home page as Markdown…
|
||||
[<a href="javascript:void(0);" title="View commit">a45719f…</a>]
|
||||
</td>
|
||||
<td class="revert-action">
|
||||
<a href="javascript:void(0);">Revert to <span>a45719f…</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>
|
||||
Rewrote home page as Markdown…
|
||||
[<a href="javascript:void(0);" title="View commit">a45719f…</a>]
|
||||
</td>
|
||||
<td class="revert-action">
|
||||
<a href="javascript:void(0);">Revert to <span>a45719f…</span></a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</fieldset>
|
||||
|
||||
@@ -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;
|
||||
});
|
||||
};
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user