summaryrefslogtreecommitdiff
path: root/app/Template/config/api.php
blob: 489f196877af6bdf4882e3e1661d17237041cdc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<div class="page-header">
    <h2><?= t('API') ?></h2>
</div>
<section class="listing">
    <ul>
        <li>
            <?= t('API token:') ?>
            <strong><?= $this->e($values['api_token']) ?></strong>
        </li>
        <li>
            <?= t('API endpoint:') ?>
            <input type="text" class="auto-select" readonly="readonly" value="<?= $this->url->base().'jsonrpc.php' ?>">
        </li>
        <li>
            <?= $this->url->link(t('Reset token'), 'config', 'token', array('type' => 'api'), true) ?>
        </li>
    </ul>
</section>