Commit c15de659 authored by Wen Wei Li's avatar Wen Wei Li

add a button

parent 23663fd0
......@@ -16,3 +16,8 @@ td {
input.input_margin{
margin-right: 6%;
}
button .left{
float:right;
}
......@@ -28,9 +28,11 @@
{% endfor %}
</tbody>
</table>
<div class="col text-center">
<button type="button" id="button" class="btn btn-danger btn-lg">confirm</button>
<button type="button" id="prev" class="btn btn-danger btn-lg pull-left">previous</button>
<button type="button" id="button" class="btn btn-danger btn-lg pull-right">confirm</button>
</div>
<div> </div>
</div>
{% block footer %}
<footer class="footer" >
......@@ -67,6 +69,9 @@
$('#button').click(function(){
window.location.href= "http://localhost:8080/wifi_select/"+_ssid;
});
$('#prev').click(function(){
window.location.href = "http://localhost:8080/"
});
</script>
{% endblock %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment