Skip to content

Commit

Permalink
Make save/cancel button for new wifi connection clearer
Browse files Browse the repository at this point in the history
  • Loading branch information
brickbots committed Feb 4, 2024
1 parent cf6e2df commit a6c0834
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions python/views/network.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -84,12 +84,15 @@

</div>
</div>
<div class="row">
<div class="input-field col s12">
<a href="#" class="btn modal-trigger" onClick="document.getElementById('new_network_form').submit();">Save</a>
&nbsp;
<a href="/network" class="btn modal-trigger">Cancel</a>
</div>
</div>
</form>
</td>
<td>
<a href="/network" class="grey-text"><i class="material-icons">cancel</i></a>
<a href="#" class="grey-text" onClick="document.getElementById('new_network_form').submit();"><i class="material-icons">save</i></a>
</td>
</tr>
% end
% for network in net.get_wifi_networks():
Expand Down

0 comments on commit a6c0834

Please sign in to comment.