Commit fa6cbaf2 authored by Christophe Dumez's avatar Christophe Dumez

2006-05-30 chris

* Improved buttons in diff page

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7542 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 3b4f50b4
......@@ -61,12 +61,22 @@
<input type=\'hidden\' name=\'modified\' tal:attributes="value python:context.REQUEST[\'modified\']"/>\n
<!-- End Hidden -->\n
<script src="js/movableMenu.js"></script>\n
<script src="js/menuico.js"></script>\n
<tal:js replace="structure \n
here/BusinessTemplate_doCreateJavaScriptDiff">JavaScript here</tal:js>\n
<tal:py replace="structure \n
here/BusinessTemplate_doSvnDiff">diff here</tal:py>\n
<center><button onclick="goBack()" value="Back" name="Back" type="button">Back</button>\n
<button onclick="doCommit(this.form)" value="commit" name="commit Changes" type="button">Commit Changes</button></center>\n
<center>\n
<script>\n
// Menu Customization\n
var MenuToolBar=new CreateToolBarMenu("#dae6e6", "#ffffff", "#b1bbbb", "#6699ff", "font-family:verdana;font-size:11px;color:black;font-weight:bold", 16, 16)\n
MenuToolBar.Add("imgs/revertoff.png", "imgs/reverton.png", "Back", "#", "goBack()");\n
MenuToolBar.Add("imgs/captionoff.png", "imgs/captionon.png", "Show Legend", "#", "winList[\'captionWindow\'].open();");\n
MenuToolBar.Add("imgs/execoff.png", "imgs/execon.png", "Commit Changes", "#", "doCommit(document.main_form);");\n
// Menu Display\n
MenuToolBar.Display();\n
</script>\n
</center>\n
\n
<div id="captionWindow" class="window" style="right:20px;left:auto;top:180px;width:120px;background-color:#dae6e6;border-color:#ebf8f8 #c0caca #c0caca #c0caca;">\n
<div class="titleBar" style="background-color:#dae6e6;color:black;">\n
......
......@@ -159,7 +159,7 @@ here/BusinessTemplate_doCreateJavaScriptStatus">javascript here</tal:js><br/>\n
<script>\n
// Menu Customization\n
var MenuToolBar=new CreateToolBarMenu("#dae6e6", "#ffffff", "#b1bbbb", "#6699ff", "font-family:verdana;font-size:11px;color:black;font-weight:bold", 16, 16)\n
MenuToolBar.Add("imgs/captionoff.png", "imgs/captionon.png", "Show Caption", "#", "winList[\'captionWindow\'].open();");\n
MenuToolBar.Add("imgs/captionoff.png", "imgs/captionon.png", "Show Legend", "#", "winList[\'captionWindow\'].open();");\n
MenuToolBar.Add("imgs/expandoff.png", "imgs/expandon.png", "Expand / Collapse", "#", "expandCollapse();");\n
MenuToolBar.Add("imgs/diffoff.png", "imgs/diffon.png", "View Diff", "#", "viewDiff(0,document.main_form);");\n
MenuToolBar.Add("imgs/execoff.png", "imgs/execon.png", "Commit Changes", "#", "commit(0,document.main_form);");\n
......
2006-05-30 chris
* Added legend in diff page
* Improved buttons in diff page
2006-05-24 chris
* XHTML compliant
......
0.7.8
\ No newline at end of file
0.7.9
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment