Auto-select input fields for copy/paste

This commit is contained in:
Frédéric Guillot
2014-12-06 10:35:44 -05:00
parent 7312a17aff
commit 10f4420401
6 changed files with 20 additions and 10 deletions

View File

@@ -9,7 +9,7 @@
</li>
<li>
<?= t('API endpoint:') ?>
<input type="text" readonly="readonly" value="<?= Helper\get_current_base_url().'jsonrpc.php' ?>">
<input type="text" class="auto-select" readonly="readonly" value="<?= Helper\get_current_base_url().'jsonrpc.php' ?>">
</li>
<li>
<?= Helper\a(t('Reset token'), 'config', 'token', array('type' => 'api'), true) ?>