Align droplists to testbtn style (already used)

This commit is contained in:
Alexandre
2024-06-20 17:47:54 +02:00
parent 26789ee7cf
commit f622b073dd
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -297,7 +297,7 @@ $newconfig = get_config();
<input name="extraction_length" oninput="this.setAttribute('max', document.getElementsByName('recording_length')[0].value);" type="number" style="width:3em;" min="3" value="<?php print($newconfig['EXTRACTION_LENGTH']);?>" /><br>
<p>Set Extraction Length to something less than your Recording Length. Min=3 Max=Recording Length</p>
<label for="audiofmt">Extractions Audio Format</label>
<select name="audiofmt">
<select name="audiofmt" class="testbtn">
<option selected="<?php print($newconfig['AUDIOFMT']);?>"><?php print($newconfig['AUDIOFMT']);?></option>
<?php
$formats = array("8svx", "aif", "aifc", "aiff", "aiffc", "al", "amb", "amr-nb", "amr-wb", "anb", "au", "avr", "awb", "caf", "cdda", "cdr", "cvs", "cvsd", "cvu", "dat", "dvms", "f32", "f4", "f64", "f8", "fap", "flac", "fssd", "gsm", "gsrt", "hcom", "htk", "ima", "ircam", "la", "lpc", "lpc10", "lu", "mat", "mat4", "mat5", "maud", "mp2", "mp3", "nist", "ogg", "paf", "prc", "pvf", "raw", "s1", "s16", "s2", "s24", "s3", "s32", "s4", "s8", "sb", "sd2", "sds", "sf", "sl", "sln", "smp", "snd", "sndfile", "sndr", "sndt", "sou", "sox", "sph", "sw", "txw", "u1", "u16", "u2", "u24", "u3", "u32", "u4", "u8", "ub", "ul", "uw", "vms", "voc", "vorbis", "vox", "w64", "wav", "wavpcm", "wv", "wve", "xa", "xi");
@@ -460,7 +460,7 @@ foreach($formats as $format){
<p style="margin-left: 40px">
<label for="freqshift_tool">Shifting tool: </label>
<select name="freqshift_tool">
<select name="freqshift_tool" class="testbtn">
<option selected="<?php print($newconfig['FREQSHIFT_TOOL']);?>"><?php print($newconfig['FREQSHIFT_TOOL']);?></option>
<?php
$formats = array("sox","ffmpeg");
+5 -5
View File
@@ -324,7 +324,7 @@ function sendTestNotification(e) {
<h2>Model</h2>
<label for="model">Select a Model: </label>
<select id="modelsel" name="model">
<select id="modelsel" name="model" class="testbtn">
<?php
$models = array("BirdNET_GLOBAL_6K_V2.4_Model_FP16", "BirdNET_6K_GLOBAL_MODEL");
foreach($models as $modelName){
@@ -569,7 +569,7 @@ https://discordapp.com/api/webhooks/{WebhookID}/{WebhookToken}
<table class="settingstable"><tr><td>
<h2>Localization</h2>
<label for="language">Database Language: </label>
<select name="language">
<select name="language" class="testbtn">
<?php
$langs = array(
'not-selected' => 'Not Selected',
@@ -623,7 +623,7 @@ https://discordapp.com/api/webhooks/{WebhookID}/{WebhookToken}
<table class="settingstable"><tr><td>
<h2>Additional Info </h2>
<label for="info_site">Site to pull additional species info from: </label>
<select name="info_site">
<select name="info_site" class="testbtn">
<?php
$info_site = array(
'ALLABOUTBIRDS' => 'allaboutbirds.org',
@@ -650,7 +650,7 @@ https://discordapp.com/api/webhooks/{WebhookID}/{WebhookToken}
<table class="settingstable"><tr><td>
<h2>Color scheme </h2>
<label for="color_scheme">Color scheme for the site : </label>
<select name="color_scheme">
<select name="color_scheme" class="testbtn">
<?php
$scheme = array("light", "dark");
foreach($scheme as $color_scheme){
@@ -700,7 +700,7 @@ https://discordapp.com/api/webhooks/{WebhookID}/{WebhookToken}
<input onclick="this.showPicker()" type="time" id="time" name="time" value="<?php echo $date->format('H:i'); ?>" <?php echo $disabledvalue; ?>><br>
<br>
<label for="timezone">Select a Timezone: </label>
<select name="timezone">
<select name="timezone" class="testbtn">
<option disabled selected>
Select a timezone
</option>