From 138c66a2ba1fdc7b44297bfe8498c200d6d2f250 Mon Sep 17 00:00:00 2001
From: Tom Needham <tom@owncloud.com>
Date: Mon, 30 Jul 2012 10:51:00 +0000
Subject: [PATCH] Improve styling of permission request page

---
 settings/css/oauth.css       |  2 ++
 settings/templates/oauth.php | 25 +++++++++++++------------
 2 files changed, 15 insertions(+), 12 deletions(-)
 create mode 100644 settings/css/oauth.css

diff --git a/settings/css/oauth.css b/settings/css/oauth.css
new file mode 100644
index 0000000000..8bc8c8d428
--- /dev/null
+++ b/settings/css/oauth.css
@@ -0,0 +1,2 @@
+.guest-container{ width:35%; margin: 2em auto 0 auto; }
+#oauth-request button{ float: right; }
\ No newline at end of file
diff --git a/settings/templates/oauth.php b/settings/templates/oauth.php
index ce2584365b..b9fa67d8a3 100644
--- a/settings/templates/oauth.php
+++ b/settings/templates/oauth.php
@@ -5,15 +5,16 @@
  * See the COPYING-README file.
  */
 ?>
-
-<p><strong><?php echo $_['consumer']['name']; ?></strong> is requesting permission to read, write, modify and delete data from the following apps:</p>
-<ul>
-	<?php
-	// Foreach requested scope
-	foreach($_['consumer']['scopes'] as $app){
-		echo '<li>'.$app.'</li>';
-	}
-	?>
-</ul>
-<button>Disallow</button>
-<button>Allow</button>
\ No newline at end of file
+<div id="oauth-request" class="guest-container">
+	<p><strong><?php echo $_['consumer']['name']; ?></strong> is requesting permission to read, write, modify and delete data from the following apps:</p>
+	<ul>
+		<?php
+		// Foreach requested scope
+		foreach($_['consumer']['scopes'] as $app){
+			echo '<li>'.$app.'</li>';
+		}
+		?>
+	</ul>
+	<button>Allow</button>
+	<button>Disallow</button>
+</div>
-- 
GitLab