changeset 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 4a28aff31a15
children 05dbebede0d8
files rhodecode/templates/files/files_add.html rhodecode/templates/files/files_edit.html
diffstat 2 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/templates/files/files_add.html	Fri Nov 25 20:05:59 2011 +0200
+++ b/rhodecode/templates/files/files_add.html	Fri Nov 25 20:23:47 2011 +0200
@@ -77,9 +77,9 @@
 				<div style="padding: 10px;color:#666666">${_('commit message')}</div>
 				<textarea id="commit" name="message" style="height: 100px;width: 99%;margin-left:4px"></textarea>
 			</div>
-			<div style="text-align: right;padding-top: 5px">
-			<input id="reset" type="button" value="${_('Reset')}" class="ui-button-small" />
-			${h.submit('commit',_('Commit changes'),class_="ui-button-small-blue")}
+			<div style="text-align: l;padding-top: 5px">
+            ${h.submit('commit',_('Commit changes'),class_="ui-button-small")}
+            ${h.reset('reset',_('Reset'),class_="ui-button-small")}
 			</div>
 			${h.end_form()}
 			<script type="text/javascript">
--- a/rhodecode/templates/files/files_edit.html	Fri Nov 25 20:05:59 2011 +0200
+++ b/rhodecode/templates/files/files_edit.html	Fri Nov 25 20:23:47 2011 +0200
@@ -44,9 +44,9 @@
 				<div style="padding: 10px;color:#666666">${_('commit message')}</div>
 				<textarea id="commit" name="message" style="height: 60px;width: 99%;margin-left:4px"></textarea>
 			</div>
-			<div style="text-align: right;padding-top: 5px">
-			<input id="reset" type="button" value="${_('Reset')}" class="ui-button-small" />
-			${h.submit('commit',_('Commit changes'),class_="ui-button-small-blue")}
+			<div style="text-align: left;padding-top: 5px">
+            ${h.submit('commit',_('Commit changes'),class_="ui-button-small")}
+            ${h.reset('reset',_('Reset'),class_="ui-button-small")}
 			</div>
 			${h.end_form()}
 			<script type="text/javascript">