Improve styling of permission request page

This commit is contained in:
Tom Needham 2012-07-30 10:51:00 +00:00
parent 5933d43901
commit 138c66a2ba
2 changed files with 15 additions and 12 deletions

2
settings/css/oauth.css Normal file
View file

@ -0,0 +1,2 @@
.guest-container{ width:35%; margin: 2em auto 0 auto; }
#oauth-request button{ float: right; }

View file

@ -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>
<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>