raspap-webgui-mirror/templates/restapi/general.php
2024-10-26 01:16:09 -07:00

25 lines
992 B
PHP

<div class="tab-pane active" id="restapisettings">
<h4 class="mt-3"><?php echo ("RestAPI settings") ;?></h4>
<div class="row">
<div class="mb-3 col-lg-12 mt-2">
<div class="row">
<div class="col-md-6">
<?php echo $docMsg; ?>
</div>
</div>
<div class="row mt-3">
<div class="mb-3 col-md-6" required>
<label for="txtapikey"><?php echo _("API Key"); ?></label>
<div class="input-group has-validation">
<input type="text" class="form-control" id="txtapikey" name="txtapikey" value="<?php echo htmlspecialchars($apiKey, ENT_QUOTES); ?>" required />
<div class="input-group-text" id="gen_apikey"><i class="fa-solid fa-wand-magic-sparkles"></i></div>
<div class="invalid-feedback">
<?php echo _("Please provide a valid API key."); ?>
</div>
</div>
</div>
</div>
</div>
</div>
</div><!-- /.tab-pane | general tab -->