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