fixup the compare revisions page
This commit is contained in:
@@ -418,10 +418,14 @@ a:hover, a:visited {
|
|||||||
|
|
||||||
.compare .data {
|
.compare .data {
|
||||||
border: 1px solid #ddd;
|
border: 1px solid #ddd;
|
||||||
margin-top: 1em;
|
margin: 1em 0 2em;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.compare .data table {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.compare .data pre {
|
.compare .data pre {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
@@ -434,11 +438,15 @@ a:hover, a:visited {
|
|||||||
.compare .data tr td {
|
.compare .data tr td {
|
||||||
font-family: "Consolas", "Monaco", "Andale Mono", "Courier New", monospace;
|
font-family: "Consolas", "Monaco", "Andale Mono", "Courier New", monospace;
|
||||||
font-size: 1.2em;
|
font-size: 1.2em;
|
||||||
line-height: 1.8em;
|
line-height: 1.2em;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.compare .data tr td + td + td {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
.compare .data td.line_numbers {
|
.compare .data td.line_numbers {
|
||||||
background: #f7f7f7;
|
background: #f7f7f7;
|
||||||
border-right: 1px solid #999;
|
border-right: 1px solid #999;
|
||||||
@@ -452,6 +460,10 @@ a:hover, a:visited {
|
|||||||
margin-right: 0.6em;
|
margin-right: 0.6em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.compare #footer {
|
||||||
|
margin-bottom: 7em;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/* @control syntax */
|
/* @control syntax */
|
||||||
|
|||||||
@@ -6,8 +6,12 @@
|
|||||||
<li class="minibutton">
|
<li class="minibutton">
|
||||||
{{>searchbar}}
|
{{>searchbar}}
|
||||||
</li>
|
</li>
|
||||||
|
<li class="minibutton"><a href="/{{escaped_name}}"
|
||||||
|
class="action-view-page">View Page</a></li>
|
||||||
|
<li class="minibutton"><a href="/edit/{{escaped_name}}"
|
||||||
|
class="action-edit-page">Edit Page</a></li>
|
||||||
<li class="minibutton"><a href="/history/{{escaped_name}}"
|
<li class="minibutton"><a href="/history/{{escaped_name}}"
|
||||||
class="action-page-history">Back to Page History</a></li>
|
class="action-page-history">Page History</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -19,6 +23,8 @@
|
|||||||
|
|
||||||
{{#show_revert}}
|
{{#show_revert}}
|
||||||
<ul class="actions">
|
<ul class="actions">
|
||||||
|
<li class="minibutton"><a href="/history/{{escaped_name}}"
|
||||||
|
class="action-page-history">Back to Page History</a></li>
|
||||||
<li class="minibutton">
|
<li class="minibutton">
|
||||||
<form name="gollum-revert" action="/revert/{{escaped_name}}/{{before}}/{{after}}" method="post" id="gollum-revert-form">
|
<form name="gollum-revert" action="/revert/{{escaped_name}}/{{before}}/{{after}}" method="post" id="gollum-revert-form">
|
||||||
<a href="#" class="gollum-revert-button">Revert Changes</a>
|
<a href="#" class="gollum-revert-button">Revert Changes</a>
|
||||||
@@ -43,6 +49,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<ul class="actions">
|
<ul class="actions">
|
||||||
|
<li class="minibutton"><a href="/history/{{escaped_name}}"
|
||||||
|
class="action-page-history">Back to Page History</a></li>
|
||||||
{{#show_revert}}
|
{{#show_revert}}
|
||||||
<li class="minibutton">
|
<li class="minibutton">
|
||||||
<a href="#" class="gollum-revert-button">Revert Changes</a>
|
<a href="#" class="gollum-revert-button">Revert Changes</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user