mirror of
https://github.com/alextselegidis/easyappointments.git
synced 2024-11-10 18:12:26 +03:00
54 lines
2.2 KiB
PHP
54 lines
2.2 KiB
PHP
<?php extend('layouts/backend_layout') ?>
|
|
|
|
<?php section('content') ?>
|
|
|
|
<div id="api-settings-page" class="container backend-page">
|
|
<div id="api-settings">
|
|
<div class="row">
|
|
<div class="col-lg-8 offset-lg-2">
|
|
<form>
|
|
<fieldset>
|
|
<div class="d-flex justify-content-between align-items-center border-bottom mb-4 py-2">
|
|
<h4 class="text-black-50 mb-0 fw-light">
|
|
<?= lang('api') ?>
|
|
</h4>
|
|
|
|
<?php if (can('edit', PRIV_SYSTEM_SETTINGS)): ?>
|
|
<button type="button" id="save-settings" class="btn btn-primary">
|
|
<i class="fas fa-check-square me-2"></i>
|
|
<?= lang('save') ?>
|
|
</button>
|
|
<?php endif ?>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-12">
|
|
<div class="mb-3">
|
|
<label class="form-label" for="api-token">
|
|
<?= lang('api_token') ?>
|
|
</label>
|
|
<input id="api-token" class="form-control" data-field="api_token">
|
|
<div class="form-text text-muted">
|
|
<small>
|
|
<?= lang('api_token_hint') ?>
|
|
</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<?php section('content') ?>
|
|
|
|
<?php section('scripts') ?>
|
|
|
|
<script src="<?= asset_url('assets/js/utils/url.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/js/http/api_settings_http_client.js') ?>"></script>
|
|
<script src="<?= asset_url('assets/js/pages/api_settings.js') ?>"></script>
|
|
|
|
<?php section('scripts') ?>
|