aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl
diff options
context:
space:
mode:
authorArne Georg Gleditsch <argggh@lxr.linpro.no>2010-08-06 22:12:55 +0200
committerArne Georg Gleditsch <argggh@lxr.linpro.no>2010-08-06 22:12:55 +0200
commit7cef7c08ebab0374f8dced2f047b5a8bf281c44c (patch)
tree77e355106206b39d311fab3849239d41e918189b /tmpl
parent1f63a948e0b2de15dba55610cd62f31f15e1167b (diff)
Add save button.
Diffstat (limited to 'tmpl')
-rw-r--r--tmpl/header.tt210
1 files changed, 9 insertions, 1 deletions
diff --git a/tmpl/header.tt2 b/tmpl/header.tt2
index 5360b4f..5e6f12d 100644
--- a/tmpl/header.tt2
+++ b/tmpl/header.tt2
@@ -55,7 +55,7 @@
%]<a href="[% elem.path | html %]">[% elem.node | html %]</a>[%
END %]
</span>
- <img src="../.static/gfx/rolldown.png" alt="History">
+ <!-- <img src="../.static/gfx/rolldown.png" alt="History"> -->
<span id="lxr_print"
[% IF is_ajax || node.name.match('/$') %]style="display: none;"[% END %]>
<form action="+print=[% node.name | html %]" method="post" id="print_form">
@@ -64,6 +64,14 @@
</button>
</form>
</span>
+ <span id="lxr_save"
+ [% IF is_ajax || node.name.match('/$') %]style="display: none;"[% END %]>
+ <form action="+save=[% node.name | html %]" method="post" id="save_form">
+ <button type="submit" class="save">
+ <img src="../.static/gfx/save.png" alt="Save">
+ </button>
+ </form>
+ </span>
</span>
<div class="lxr_menu">