Mercurial > kallithea
comparison rhodecode/templates/files/files_add.html @ 1720:48840976caa8 beta
button style fix on edit and add files
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Fri, 25 Nov 2011 20:23:47 +0200 |
parents | 623b228cf325 |
children | 60a00fd76d58 |
comparison
equal
deleted
inserted
replaced
1719:4a28aff31a15 | 1720:48840976caa8 |
---|---|
75 <textarea id="editor" name="content" style="display:none"></textarea> | 75 <textarea id="editor" name="content" style="display:none"></textarea> |
76 </div> | 76 </div> |
77 <div style="padding: 10px;color:#666666">${_('commit message')}</div> | 77 <div style="padding: 10px;color:#666666">${_('commit message')}</div> |
78 <textarea id="commit" name="message" style="height: 100px;width: 99%;margin-left:4px"></textarea> | 78 <textarea id="commit" name="message" style="height: 100px;width: 99%;margin-left:4px"></textarea> |
79 </div> | 79 </div> |
80 <div style="text-align: right;padding-top: 5px"> | 80 <div style="text-align: l;padding-top: 5px"> |
81 <input id="reset" type="button" value="${_('Reset')}" class="ui-button-small" /> | 81 ${h.submit('commit',_('Commit changes'),class_="ui-button-small")} |
82 ${h.submit('commit',_('Commit changes'),class_="ui-button-small-blue")} | 82 ${h.reset('reset',_('Reset'),class_="ui-button-small")} |
83 </div> | 83 </div> |
84 ${h.end_form()} | 84 ${h.end_form()} |
85 <script type="text/javascript"> | 85 <script type="text/javascript"> |
86 var reset_url = "${h.url('files_home',repo_name=c.repo_name,revision=c.cs.raw_id,f_path=c.f_path)}"; | 86 var reset_url = "${h.url('files_home',repo_name=c.repo_name,revision=c.cs.raw_id,f_path=c.f_path)}"; |
87 initCodeMirror('editor',reset_url); | 87 initCodeMirror('editor',reset_url); |