summaryrefslogtreecommitdiff
path: root/app/Template/config/api.php
blob: 0df90835e2b0629e882742992c2f987e637e32eb (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->getCurrentBaseUrl().'jsonrpc.php' ?>">
        </li>
        <li>
            <?= $this->a(t('Reset token'), 'config', 'token', array('type' => 'api'), true) ?>
        </li>
    </ul>
</section>