summaryrefslogtreecommitdiff
path: root/app/Template/config/api.php
blob: 9a3b06ce452182ddd0e46063a6023f45307ed5c1 (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>
<div class="panel">
    <ul>
        <li>
            <?= t('API token:') ?>
            <strong><?= $this->text->e($values['api_token']) ?></strong>
        </li>
        <li>
            <?= t('API endpoint:') ?>
            <strong><?= $this->url->base().'jsonrpc.php' ?></strong>
        </li>
    </ul>
</div>

<?= $this->url->link(t('Reset token'), 'ConfigController', 'token', array('type' => 'api'), true, 'btn btn-red') ?>