[svn] fix the revert and css

This commit is contained in:
goatchurch 2009-06-09 19:15:31 +01:00
parent 2927e27b6d
commit c2a72ab4f1
2 changed files with 18 additions and 3 deletions

View File

@ -345,3 +345,20 @@ h1 {
.noticeBox { .noticeBox {
border:thin black solid; width: 40%; color:#F00; margin-left:auto; margin-right:auto border:thin black solid; width: 40%; color:#F00; margin-left:auto; margin-right:auto
} }
div.codeframebit
{
border:thin black solid;
background-color: #ffffdf;
}
CodeMirror-line-numbers
{
background-color: #bbb;
}
div#difflistajax
{
margin-left: 5px;
background-color: #dfffdf;
border: thin green solid;
}

View File

@ -5,7 +5,6 @@
{% block head %} {% block head %}
<script src="{{ settings.MEDIA_URL }}js/base.js" type="text/javascript"></script> <script src="{{ settings.MEDIA_URL }}js/base.js" type="text/javascript"></script>
<script type="text/javascript" src="{{settings.MEDIA_URL}}js/jquery-1.3.2.js"></script>
<script type="text/javascript" src="{{settings.MEDIA_URL}}js/jquery.form.js"></script> <script type="text/javascript" src="{{settings.MEDIA_URL}}js/jquery.form.js"></script>
<script type="text/javascript" src="{{settings.MEDIA_URL}}CodeMirror-0.62/js/codemirror.js"></script> <script type="text/javascript" src="{{settings.MEDIA_URL}}CodeMirror-0.62/js/codemirror.js"></script>
@ -43,7 +42,6 @@ $(document).ready(function()
<div style="display:none">{{form.filename}} {{form.dirname}} {{form.datetime}} {{form.outputtype}}</div> <div style="display:none">{{form.filename}} {{form.dirname}} {{form.datetime}} {{form.outputtype}}</div>
<input type="submit" name="diff" value="Diffy" /> <input type="submit" name="diff" value="Diffy" />
<input type="submit" name="save" value="Save"/> <input type="submit" name="save" value="Save"/>
<input type="submit" name="revert" value="Revert"/>
<input type="submit" name="process" value="Process" title="executes cavern"/> <input type="submit" name="process" value="Process" title="executes cavern"/>
(Not implemented: <input type="submit" name="svncheckin" value="svn check-in"/>) (Not implemented: <input type="submit" name="svncheckin" value="svn check-in"/>)
<div class="codeframebit">{{form.code}}</div> <div class="codeframebit">{{form.code}}</div>