From 2bfb75b02c193a437830576b6f5ca18f5957b697 Mon Sep 17 00:00:00 2001
From: Nathan Febuary <nathan@bedheadcreative.com>
Date: Wed, 19 Aug 2015 09:35:49 -0500
Subject: [PATCH] ui: More mis-alignments and strange buttons on plugin add

---
 include/staff/apikey.inc.php     | 2 +-
 include/staff/page.inc.php       | 2 +-
 include/staff/plugin-add.inc.php | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/staff/apikey.inc.php b/include/staff/apikey.inc.php
index f88a4ae0e..9a39b814f 100644
--- a/include/staff/apikey.inc.php
+++ b/include/staff/apikey.inc.php
@@ -114,7 +114,7 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
         </tr>
     </tbody>
 </table>
-<p style="padding-left:225px;">
+<p style="text-align:center">
     <input type="submit" name="submit" value="<?php echo $submit_text; ?>">
     <input type="reset"  name="reset"  value="<?php echo __('Reset');?>">
     <input type="button" name="cancel" value="<?php echo __('Cancel');?>" onclick='window.location.href="apikeys.php"'>
diff --git a/include/staff/page.inc.php b/include/staff/page.inc.php
index 4a77dc8be..609066f86 100644
--- a/include/staff/page.inc.php
+++ b/include/staff/page.inc.php
@@ -190,7 +190,7 @@ else
         </tr>
     </tbody>
 </table>
-<p style="padding-left:225px;">
+<p style="text-align:center">
     <input type="submit" name="submit" value="<?php echo $submit_text; ?>">
     <input type="reset"  name="reset"  value="<?php echo __('Reset'); ?>">
     <input type="button" name="cancel" value="<?php echo __('Cancel'); ?>" onclick='window.location.href="pages.php"'>
diff --git a/include/staff/plugin-add.inc.php b/include/staff/plugin-add.inc.php
index a5aae19d0..ac4bfb375 100644
--- a/include/staff/plugin-add.inc.php
+++ b/include/staff/plugin-add.inc.php
@@ -17,7 +17,7 @@ foreach ($ost->plugins->allInfos() as $info) {
     if (isset($installed[$info['install_path']]))
         continue;
     ?>
-        <tr><td><button type="submit" name="install_path"
+        <tr><td><button class="button action-button" type="submit" name="install_path"
             value="<?php echo $info['install_path'];
             ?>"><?php echo __('Install'); ?></button></td>
         <td>
-- 
GitLab