store client name and last use time for tokens. show them in token management
[grauphel.git] / templates / oauthAuthorize.php
1 <link rel="stylesheet" href="<?php p(OCP\Util::linkTo('grauphel','grauphel.css')); ?>" type="text/css"/>
2 <form method="post" action="<?php p($_['formaction']); ?>" class="oauth-authorize">
3  <input type="hidden" value="<?php p($_['requesttoken']); ?>" name="requesttoken" />
4  <input type="hidden" value="<?php p($_['oauth_token']); ?>" name="oauth_token" />
5  <p class="msg">
6   Shall application
7   <strong><?php p($_['client']); ?></strong>
8   get full access to the notes?
9  </p>
10  <div class="buttons">
11   <button type="submit" name="auth" value="ok">Yes, authorize</button>
12   <button type="submit" name="auth" value="cancel">No, decline</button>
13  </div>
14 </form>