Reorder final setup steps
This commit is contained in:
parent
0fcac545e6
commit
2b882cc313
2 changed files with 13 additions and 10 deletions
|
@ -6,21 +6,28 @@
|
|||
<span id="helpBlock" class="help-block help-message"></span>
|
||||
<p>
|
||||
Looks like you're almost done! As a final step, run the following commands from the terminal:<br/>
|
||||
<code>sudo service airtime-playout start</code>, <code>sudo service airtime-liquidsoap start</code>,
|
||||
<code>sudo service airtime-media-monitor start</code>.
|
||||
<code>sudo service airtime-playout start</code><br/>
|
||||
<code>sudo service airtime-liquidsoap start</code><br/>
|
||||
<code>sudo service airtime-media-monitor start</code>
|
||||
</p>
|
||||
<p>
|
||||
Click "Done!" to bring up the Airtime configuration checklist; if your configuration is all green,
|
||||
you're ready to get started with your personal Airtime station!
|
||||
</p>
|
||||
<p>
|
||||
If you need to re-run the web installer, just remove <code>/etc/airtime/airtime.conf</code>.
|
||||
</p>
|
||||
<div>
|
||||
<input type="submit" formtarget="finishSettingsForm" class="btn btn-primary btn-next" value="Done!"/>
|
||||
<input type="button" class="btn btn-primary btn-back" value="❰ Back"/>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
$("#finishSettingsForm").submit(function(e) {
|
||||
$(document).ready(function() {
|
||||
submitForm(e, "FinishSetup");
|
||||
});
|
||||
|
||||
$("#finishSettingsForm").submit(function(e) {
|
||||
window.location.replace("/?config");
|
||||
});
|
||||
</script>
|
|
@ -9,12 +9,8 @@ function cleanupStep(data, e) {
|
|||
// If there are no errors, we can continue with
|
||||
// the installation process
|
||||
if (data.errors.length == 0) {
|
||||
if ($(e.target).attr("id") == "finishSettingsForm") {
|
||||
window.location.replace("/?config");
|
||||
} else {
|
||||
// Call nextSlide from the submit button's context
|
||||
nextSlide.call($(e.target));
|
||||
}
|
||||
// Call nextSlide from the submit button's context
|
||||
nextSlide.call($(e.target));
|
||||
}
|
||||
removeOverlay();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue