mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Improve styling of permission request page
This commit is contained in:
parent
5933d43901
commit
138c66a2ba
2 changed files with 15 additions and 12 deletions
2
settings/css/oauth.css
Normal file
2
settings/css/oauth.css
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
.guest-container{ width:35%; margin: 2em auto 0 auto; }
|
||||
#oauth-request button{ float: right; }
|
||||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue