diff --git a/templates/dashboard.html b/templates/dashboard.html index 86afcc4..738e42e 100644 --- a/templates/dashboard.html +++ b/templates/dashboard.html @@ -87,7 +87,7 @@ Toggle user menu - + {{ render_partial('dashboard/http_functions/overview.html', http_functions=http_functions) }} diff --git a/templates/function_editor.html b/templates/function_editor.html index 9a6ab85..d5ae749 100644 --- a/templates/function_editor.html +++ b/templates/function_editor.html @@ -1,114 +1,53 @@ - Code + + {% if is_edit|default(false, true) %} + + {{ name }} + - - - Bold - - - - - - - - Bulleted List - - - - - - - - + + {% endif %} + {% if is_add|default(false, true) %} + Function + name + + {% endif %} + - {{ script }} + {{ script }} - - Environment + + + Bold + + + + + + Environment + @@ -206,9 +157,94 @@ {% endif %} + + Bold + + + + + Execute + + + + {% if is_edit|default(false, true) %}