diff options
-rw-r--r-- | settings/css/oauth.css | 2 | ||||
-rw-r--r-- | settings/templates/oauth.php | 25 |
2 files changed, 15 insertions, 12 deletions
diff --git a/settings/css/oauth.css b/settings/css/oauth.css new file mode 100644 index 00000000000..8bc8c8d428b --- /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 ce2584365b9..b9fa67d8a35 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> |