Default node, rename to exec.

This commit is contained in:
Flancian 2021-02-02 22:54:13 +01:00
parent 23eea3eed7
commit 1a35406003
2 changed files with 2 additions and 1 deletions

View File

@ -134,6 +134,7 @@ def push(node, other):
return Response(pushing) return Response(pushing)
@bp.route('/exec')
@bp.route('/search') @bp.route('/search')
@bp.route('/jump') @bp.route('/jump')
def jump(): def jump():

View File

@ -45,7 +45,7 @@
| <a href="/nodes">nodes</a> | <a href="/nodes">nodes</a>
| <a href="/users">@</a> | <a href="/users">@</a>
| <a href="/latest">Δ</a> | <a href="/latest">Δ</a>
| <form action="/jump" method="get" style="display: inline;"><a href="/node/agora-cli">CLI</a>: <input type="text" name="q"></form> | <form action="/exec" method="get" style="display: inline;"><a href="/node/agora-cli">exec</a>: <input type="text" value="{{node}}" name="q"></form>
| <a href="#" style="text-decoration: none;" class="theme-toggle">🌙</a> | <a href="#" style="text-decoration: none;" class="theme-toggle">🌙</a>
<!-- doesn't fit on mobile right now. <!-- doesn't fit on mobile right now.
| <a href="/node/agora-help" style="text-decoration: none;" class="help-button"></a> | <a href="/node/agora-help" style="text-decoration: none;" class="help-button"></a>