summaryrefslogtreecommitdiff
path: root/app/Template/config/api.php
blob: 7ff292fa8e36c08607c654eadd171b1bbbdc0454 (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="panel">
    <ul>
        <li>
            <?= t('API token:') ?>
            <strong><?= $this->text->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'), 'ConfigController', 'token', array('type' => 'api'), true) ?>
        </li>
    </ul>
</section>