[APPDB] Fix Manage Notes page layout

Rosanne DiMesio dimesio at earthlink.net
Tue May 2 13:05:05 CDT 2017


Fixes bug 42115.

Signed-off-by: Rosanne DiMesio <dimesio at earthlink.net>
---
 include/tagAssignmentMgr.php | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/include/tagAssignmentMgr.php b/include/tagAssignmentMgr.php
index 28c1566..37ddb7f 100644
--- a/include/tagAssignmentMgr.php
+++ b/include/tagAssignmentMgr.php
@@ -62,7 +62,6 @@ abstract class TagAssignmentMgr extends ObjectManagerBase
         
         $iSize = min(sizeof($this->aTaggedEntries), 10);
 
-        echo '<div style="float: left;">';
         $i = 0;
         $shOptions = '';
 
@@ -74,8 +73,8 @@ abstract class TagAssignmentMgr extends ObjectManagerBase
         }
         echo "<select size=\"$iSize\" name=\"iTagAssocList\">\n";
         echo $shOptions;
-        echo '</select></div>';
-        echo '<div style="margin-left: 10px; float: left;">';
+        echo '</select>';
+        echo '<div style="padding-bottom: 10px;">';
         echo "<script type=\"text/JavaScript\">\n";
         echo "function swap(index1, index2) {\n";
         echo "var selector = document.forms['sQform']['iTagAssocList'];\n";
@@ -104,8 +103,10 @@ abstract class TagAssignmentMgr extends ObjectManagerBase
         echo "swap(index, index + 1);\n";
         echo "}\n";
         echo "</script>\n";
-        echo '<button onclick="moveUp()" type="button">Move up</button><br />';
-        echo '<button onclick="moveDown()" type="button">Move down</button>';
+        echo '</div>';
+        echo '<div class="btn-toolbar";>';
+        echo '<button onclick="moveUp()" type="button" class="btn btn-default">Move up</button>';
+        echo '<button onclick="moveDown()" type="button" class="btn btn-default">Move down</button>';
         echo '</div>';
     }
     
@@ -140,4 +141,4 @@ abstract class TagAssignmentMgr extends ObjectManagerBase
     protected abstract function getTagObject($iId = null, $oRow = null);
 }
 
-?>
\ No newline at end of file
+?>
-- 
2.12.0




More information about the wine-patches mailing list