Append /servers/ on the input field

This commit is contained in:
amcmanu3 2023-01-30 15:30:11 -05:00
parent 863ded782a
commit 552ed8a5a6

View File

@ -243,10 +243,11 @@
<label for="global_server_path">Global Server Path <small class="text-muted ml-1"> - Where Crafty
stores all of your servers.</small>
</label>
<input type="text" id="global_server_path" class="form-control" name="global_server_path"
placeholder="/var/opt/servers" value="{{data['servers_dir']}}">
<input style="width: 85%;" type="text" id="global_server_path" class="form-control"
name="global_server_path" placeholder="/var/opt/servers" value="{{data['servers_dir']}}"><span
style="width: 15%;" type="button" class="btn btn-outline-default custom-picker">/servers/</span>
<button class="btn btn-success" type="submit">Submit</button>&nbsp;<span id="submit-status"></span>
<span class="btn btn-success" type="submit">Submit</button>&nbsp;<span id="submit-status"></span>
</form>
</div>
</div>
@ -261,6 +262,10 @@
</div>
<style>
.custom-picker {
border: 1px solid var(--outline);
}
.popover-body {
color: white !important;
;