incubator-bloodhound-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From g..@apache.org
Subject svn commit: r1352078 - /incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_view.html
Date Wed, 20 Jun 2012 13:02:17 GMT
Author: gjm
Date: Wed Jun 20 13:02:16 2012
New Revision: 1352078

URL: http://svn.apache.org/viewvc?rev=1352078&view=rev
Log:
theme: converting wiki view template input[type=submit] to button elements and removing .btn_*
classes for reduced colourfulness - towards #36

Modified:
    incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_view.html

Modified: incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_view.html
URL: http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_view.html?rev=1352078&r1=1352077&r2=1352078&view=diff
==============================================================================
--- incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_view.html (original)
+++ incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_view.html Wed Jun
20 13:02:16 2012
@@ -92,13 +92,13 @@
               <div class="btn-group">
                 <py:choose>
                   <py:when test="is_not_latest">
-                    <input class="btn" type="submit" value="${_('Revert to this version')}"/>
+                    <button class="btn" type="submit" name="revert_version_button">${_('Revert
to this version')}</button>
                   </py:when>
                   <py:when test="page.exists">
-                    <input class="btn" type="submit" value="${_('Edit this page')}" accesskey="e"
/>
+                    <button class="btn" type="submit" name="edit_page_button" accesskey="e">${_('Edit
this page')}</button>
                   </py:when>
                   <py:otherwise>
-                    <input class="btn" type="submit" value="${_('Create this page')}"
accesskey="e" />
+                    <button class="btn" type="submit" name="create_page_button" accesskey="e">${_('Create
this page')}</button>
                     <div py:if="templates" id="template" style="display:inline">
                       <label for="template">Using the template:</label>
                       <select name="template">
@@ -118,7 +118,7 @@
             <form method="get" style="display:inline" action="${href.wiki(page.name)}"
id="rename" py:if="page.exists and rename_perm">
               <input type="hidden" name="action" value="rename" />
               <div class="btn-group">
-                <input class="btn btn-warning" type="submit" value="${_('Rename page')}"
/>
+                <button class="btn" type="submit" name="rename_page_button">${_('Rename
page')}</button>
               </div>
             </form>
             <form method="get" style="display:inline" action="${href.wiki(page.name)}"
py:if="page.exists and delete_perm">
@@ -126,9 +126,9 @@
               <input type="hidden" name="version" value="$page.version" />
               <div id="delete" class="btn-group">
                 <py:if test="page.version == latest_version">
-                  <input class="btn btn-danger" type="submit" name="delete_version" value="${_('Delete
this version')}" />
+                  <button class="btn" type="submit" name="delete_version">${_('Delete
this version')}</button>
                 </py:if>
-                <input class="btn btn-danger" type="submit" value="${_('Delete page')}"
/>
+                <button class="btn" type="submit" name="delete_page_button">${_('Delete
page')}</button>
               </div>
             </form>
           </div>



Mime
View raw message