summaryrefslogtreecommitdiff
path: root/app/Template/config/api.php
blob: 037ea08d9ed77bf4f554ffd5e0e80d533f44c9c4 (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><?= Helper\escape($values['api_token']) ?></strong>
        </li>
        <li>
            <?= t('API endpoint:') ?>
            <input type="text" readonly="readonly" value="<?= Helper\get_current_base_url().'jsonrpc.php' ?>">
        </li>
        <li>
            <?= Helper\a(t('Reset token'), 'config', 'token', array('type' => 'api'), true) ?>
        </li>
    </ul>
</section>