diff options
author | Aaron Parecki <aaron@parecki.com> | 2016-12-19 10:39:23 -0800 |
---|---|---|
committer | Aaron Parecki <aaron@parecki.com> | 2016-12-19 10:39:23 -0800 |
commit | 4aa06023f0c25a10d5eaeafaeb30034e0a4f2e95 (patch) | |
tree | e4a694fad5254166d01934aed9f344fc2903a2df /views/settings.php | |
parent | 53964f2622828bc5b67546dbc24bb455e4d165cb (diff) |
clean up note UI, show reply context
* shows reply context of the URL you're replying to
* autocomplete nicknames from the post when replying
* moved debug info to the settings screen to clean up the UI
Diffstat (limited to 'views/settings.php')
-rw-r--r-- | views/settings.php | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/views/settings.php b/views/settings.php index 46df0bf..5acc7dd 100644 --- a/views/settings.php +++ b/views/settings.php @@ -2,13 +2,33 @@ <?= partial('partials/header') ?> <h2>Signed In As</h2> - <code><?= session('me') ?></code> - <h3>Access Token</h3> - <input type="text" class="form-control" readonly="readonly" value="<?= $this->user->micropub_access_token ?>"> + <table class="table table-condensed"> + <tr> + <td>me</td> + <td><code><?= $this->user->url; ?></code> (should be your URL)</td> + </tr> + <tr> + <td>scope</td> + <td><code><?= $this->user->micropub_scope ?></code> (should be a space-separated list of permissions including "create")</td> + </tr> + <tr> + <td>micropub endpoint</td> + <td><code><?= $this->user->micropub_endpoint ?></code> (should be a URL)</td> + </tr> + <tr> + <td>media endpoint</td> + <td><?= $this->user->media_endpoint ? '<code>'.$this->user->media_endpoint.'</code>' : '<a href="https://www.w3.org/TR/micropub/#media-endpoint">no media endpoint</a>' ?></td> + </tr> + <tr> + <td width="140">access token</td> + <td><code style="word-break: break-word; white-space: pre-wrap;"><?= $this->user->micropub_access_token ?></code></td> + </tr> + </table> + <h3>Twitter</h3> - <p>Connecting a Twitter account will automatically "favorite" tweets on Twitter when you favorite a Twitter URL in Quill.</p> + <p>Connecting a Twitter account will automatically "favorite" and "retweet" tweets on Twitter when you favorite and retweet a Twitter URL in Quill.</p> <input type="button" id="twitter-button" value="Checking" class="btn"> </div> |