Add zone switching
This commit is contained in:
@@ -70,6 +70,10 @@
|
||||
function doCancel() {
|
||||
send_get('/crash');
|
||||
}
|
||||
|
||||
function switchRegion(region_id) {
|
||||
send_get('/region/' + region_id);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
@@ -83,6 +87,12 @@
|
||||
|
||||
<label><input type="checkbox" id="looping" /><b> loop</b></label>
|
||||
</div>
|
||||
<div class="row">
|
||||
<p>Zone switch</p>
|
||||
{% for region in regions %}
|
||||
<button onclick="switchRegion({{ region }})">zone {{ region }}</button>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="row" id='loading' style="visibility: hidden"><b>LOADING!</b></div>
|
||||
<div class="section-rgb">
|
||||
<div class="row">
|
||||
|
||||
Reference in New Issue
Block a user