Author: rjollos
Date: Tue Mar 12 07:28:30 2013
New Revision: 1455427

URL: http://svn.apache.org/r1455427
Log:
Changes to the `bh_wiki_diff.html` template:
 * `h1` was overflowing the `content` div.
 * Moved `Delete` button from bottom center of the page to the more customary 
location in bottom left.

Modified:
    
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_diff_view.html
    
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_diff.html

Modified: 
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_diff_view.html
URL: 
http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_diff_view.html?rev=1455427&r1=1455426&r2=1455427&view=diff
==============================================================================
--- 
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_diff_view.html 
(original)
+++ 
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_diff_view.html 
Tue Mar 12 07:28:30 2013
@@ -33,7 +33,7 @@
 
   <body>
     <div id="content" class="${resource.realm} row">
-      <h1 py:choose="">
+      <h1 class="span12" py:choose="">
         <py:when test="old_version"><i18n:msg params="old, new, name">Changes 
between
           <a href="${old_url or url_of(resource, 
version=old_version)}">Version $old_version</a> and
           <a href="${new_url or url_of(resource, 
version=new_version)}">Version $new_version</a> of

Modified: 
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_diff.html
URL: 
http://svn.apache.org/viewvc/incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_diff.html?rev=1455427&r1=1455426&r2=1455427&view=diff
==============================================================================
--- 
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_diff.html 
(original)
+++ 
incubator/bloodhound/trunk/bloodhound_theme/bhtheme/templates/bh_wiki_diff.html 
Tue Mar 12 07:28:30 2013
@@ -25,7 +25,7 @@
       xmlns:xi="http://www.w3.org/2001/XInclude"; py:strip="">
   <py:match path="div[@id='content']" once="true"><div py:attrs="select('@*')">
     ${select('*|text()')}
-    <div class="span9 offset3">
+    <div class="span12">
       <form py:if="'WIKI_DELETE' in perm(page.resource) and
                    (not changes[0].diffs or new_version == latest_version)"
           method="get" action="${href.wiki(page.name)}">
@@ -33,10 +33,12 @@
         <input type="hidden" name="version" value="$new_version" />
         <input type="hidden" name="old_version" value="$old_version" />
         <div class="control-group">
-          <py:choose>
-            <input py:when="new_version - old_version &gt; 1" type="submit" 
name="delete_version" value="${_('Delete version %(old_version)d to version 
%(version)d', old_version=(old_version + 1), version=new_version)}" class="btn" 
/>
-            <input py:otherwise="" type="submit" name="delete_version" 
value="${_('Delete version %(version)d', version=new_version)}" class="btn" />
-          </py:choose>
+          <div class="controls">
+            <py:choose>
+              <input py:when="new_version - old_version &gt; 1" type="submit" 
name="delete_version" value="${_('Delete version %(old_version)d to version 
%(version)d', old_version=(old_version + 1), version=new_version)}" class="btn" 
/>
+              <input py:otherwise="" type="submit" name="delete_version" 
value="${_('Delete version %(version)d', version=new_version)}" class="btn" />
+            </py:choose>
+          </div>
         </div>
       </form>
     </div>


Reply via email to