change url input type bootstrap

pull/15/head
necro-nemesis 7 years ago
parent 01d3117c00
commit 6ace2c04e5

@ -364,7 +364,19 @@ function DisplayLokinetConfig(){
<div class="row">
<div class="form-group col-lg-12">
<label for="code">Update lokinet-bootstrap settings</label>
<input type="text" class="form-control" name="lokinetbootstrap" placeholder="http://206.81.100.174/n-st-5.signed" value="<?php echo htmlspecialchars($arrConfig['lokinetbootstrap'], ENT_QUOTES); ?>" />
<div class="container">
<h2>Form control: input</h2>
<p>The form below contains two input elements; one of type text and one of type password:</p>
<form>
<div class="form-group">
<label for="usr">Bootstrap:</label>
<input type="url" class="form-control" placeholder="http://206.81.100.174/n-st-5.signed" id="lokinetbootstrap">
</div>
</form>
</div>
// <input type="url" class="form-control" name="lokinetbootstrap" placeholder="http://206.81.100.174/n-st-5.signed" value="<?php echo htmlspecialchars($arrConfig['lokinetbootstrap'], ENT_QUOTES); ?>" />
<h5>Contact Loki user groups for the latest bootstrap file location</h5>
<input type="submit" class="btn btn-success" name="ApplyLokinetSettings" value="Apply Bootstrap" />
<?php
@ -621,6 +633,7 @@ function SaveTORAndVPNConfig(){
} elseif( isset($_POST['ApplyLokinetSettings']) ) {
//exec( 'sudo /home/pi/loki-network/lokilaunch.sh "gen" > /dev/null &', $return);
?>
echo 'lokinetbootstrap';
<div class="alert alert-warning">
Applying Bootstrap
</div>

Loading…
Cancel
Save