Well, that's Git integration working. Not complete; it ought to be possible

to view the log of the current page, and previous versions - but it's a start.
This commit is contained in:
Simon Brooke 2014-11-11 21:37:34 +00:00
parent d99ee25806
commit b25412991b
7 changed files with 60 additions and 17 deletions

View file

@ -11,6 +11,11 @@
<form action="{{servlet-context}}/edit" method="POST">
<input type="hidden" name="content" value="{{title}}"/>
<textarea name="src" id="src" rows="25" cols="80">{{content}}</textarea>
<p class="widget">
<label for="summary">What have you changed?</label>
<input name="summary" id="summary" type="text"
value="{%if exists%}{%else%}New file {{title}}{%endif%}"/>
</p>
<p class="widget">
<label for="submit">When you have finished editing</label>
<input name="submit" id="submit" type="submit" class="action" value="Save!"/>