summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-12-12 13:03:09 +0100
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-12-12 17:38:01 +0100
commitc7c28d6e92051d86f8855a4006e2ebefbc0ec5cc (patch)
tree5455bdd3e087476acf9545353fbcda9c334b0d2a
parenta58587dc80f3406e7aa91eff46da6d19c881cf56 (diff)
templates: use "edit" instead of "update" in menus
Use "Edit" instead of "Update" for every menu except Update image in Commands view. Use "Command" instad of "Cmd" for shell run menu in Commands view.
-rw-r--r--ogcp/templates/commands.html2
-rw-r--r--ogcp/templates/images.html2
-rw-r--r--ogcp/templates/repos.html2
-rw-r--r--ogcp/templates/scopes.html8
-rw-r--r--ogcp/templates/servers.html2
5 files changed, 8 insertions, 8 deletions
diff --git a/ogcp/templates/commands.html b/ogcp/templates/commands.html
index c909ea3..88b7211 100644
--- a/ogcp/templates/commands.html
+++ b/ogcp/templates/commands.html
@@ -102,7 +102,7 @@
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<input class="btn btn-light dropdown-item{% block nav_run_script %}{% endblock %}" type="submit" value="{{ _('Script') }}"
form="scopesForm" formaction="{{ url_for('action_run_script') }}" formmethod="get">
- <input class="btn btn-light dropdown-item{% block nav_run_cmd %}{% endblock %}" type="submit" value="{{ _('Cmd') }}"
+ <input class="btn btn-light dropdown-item{% block nav_run_cmd %}{% endblock %}" type="submit" value="{{ _('Command') }}"
form="scopesForm" formaction="{{ url_for('action_run_cmd') }}" formmethod="get">
<input class="btn btn-light dropdown-item{% block nav_display_output %}{% endblock %}" type="submit" value="{{ _('Display output') }}"
form="scopesForm" formaction="{{ url_for('action_script_display_output') }}" formmethod="get">
diff --git a/ogcp/templates/images.html b/ogcp/templates/images.html
index a630c22..ada8515 100644
--- a/ogcp/templates/images.html
+++ b/ogcp/templates/images.html
@@ -72,7 +72,7 @@
form="imagesForm" formaction="{{ url_for('action_image_delete') }}" formmethod="get">
{% endif %}
{% if current_user.get_permission('IMAGE', 'UPDATE') %}
- <input class="btn btn-light" type="submit" value="{{ _('Update image') }}"
+ <input class="btn btn-light" type="submit" value="{{ _('Edit image') }}"
form="imagesForm" formaction="{{ url_for('action_image_config') }}" formmethod="get">
{% endif %}
{% endif %}
diff --git a/ogcp/templates/repos.html b/ogcp/templates/repos.html
index fd050c0..fd6e0b4 100644
--- a/ogcp/templates/repos.html
+++ b/ogcp/templates/repos.html
@@ -66,7 +66,7 @@
form="reposForm" formaction="{{ url_for('action_repo_delete') }}" formmethod="get">
{% endif %}
{% if current_user.get_permission('REPOSITORY', 'UPDATE') %}
- <input class="btn btn-light {% block nav_repo_update %}{% endblock %}" type="submit" value="{{ _('Update repo') }}"
+ <input class="btn btn-light {% block nav_repo_update %}{% endblock %}" type="submit" value="{{ _('Edit repo') }}"
form="reposForm" formaction="{{ url_for('action_repo_update') }}" formmethod="get">
{% endif %}
{% endif %}
diff --git a/ogcp/templates/scopes.html b/ogcp/templates/scopes.html
index 8236877..31de77d 100644
--- a/ogcp/templates/scopes.html
+++ b/ogcp/templates/scopes.html
@@ -28,7 +28,7 @@
<input class="btn btn-light dropdown-item {% block nav_client_add %}{% endblock %}" type="submit" value="{{ _('Add client') }}"
form="scopesForm" formaction="{{ url_for('action_client_add') }}" formmethod="get">
{% endif %}
- <input class="btn btn-light dropdown-item {% block nav_client_update %}{% endblock %}" type="submit" value="{{ _('Update client') }}"
+ <input class="btn btn-light dropdown-item {% block nav_client_update %}{% endblock %}" type="submit" value="{{ _('Edit client') }}"
form="scopesForm" formaction="{{ url_for('action_client_update') }}" formmethod="get">
{% if current_user.get_permission('CLIENT', 'UPDATE') %}
<input class="btn btn-light dropdown-item {% block nav_client_move %}{% endblock %}" type="submit" value="{{ _('Move client') }}"
@@ -56,7 +56,7 @@
form="scopesForm" formaction="{{ url_for('action_room_add') }}" formmethod="get">
{% endif %}
{% if current_user.get_permission('ROOM', 'UPDATE') %}
- <input class="btn btn-light dropdown-item {% block nav_room_update %}{% endblock %}" type="submit" value="{{ _('Update room') }}"
+ <input class="btn btn-light dropdown-item {% block nav_room_update %}{% endblock %}" type="submit" value="{{ _('Edit room') }}"
form="scopesForm" formaction="{{ url_for('action_room_update') }}" formmethod="get">
{% endif %}
{% if current_user.get_permission('ROOM', 'DELETE') %}
@@ -78,7 +78,7 @@
form="scopesForm" formaction="{{ url_for('action_center_add') }}" formmethod="get">
{% endif %}
{% if current_user.get_permission('CENTER', 'UPDATE') %}
- <input class="btn btn-light dropdown-item {% block nav_center_update %}{% endblock %}" type="submit" value="{{ _('Update center') }}"
+ <input class="btn btn-light dropdown-item {% block nav_center_update %}{% endblock %}" type="submit" value="{{ _('Edit center') }}"
form="scopesForm" formaction="{{ url_for('action_center_update') }}" formmethod="get">
{% endif %}
{% if current_user.get_permission('CENTER', 'DELETE') %}
@@ -101,7 +101,7 @@
form="scopesForm" formaction="{{ url_for('action_folder_add') }}" formmethod="get">
{% endif %}
{% if current_user.get_permission('FOLDER', 'UPDATE') %}
- <input class="btn btn-light dropdown-item {% block nav_folder_update %}{% endblock %}" type="submit" value="{{ _('Update folder') }}"
+ <input class="btn btn-light dropdown-item {% block nav_folder_update %}{% endblock %}" type="submit" value="{{ _('Edit folder') }}"
form="scopesForm" formaction="{{ url_for('action_folder_update') }}" formmethod="get">
{% endif %}
{% if current_user.get_permission('FOLDER', 'DELETE') %}
diff --git a/ogcp/templates/servers.html b/ogcp/templates/servers.html
index d555f71..7c6958d 100644
--- a/ogcp/templates/servers.html
+++ b/ogcp/templates/servers.html
@@ -27,7 +27,7 @@
{% block commands %}
{% if current_user.is_authenticated %}
- <input class="btn btn-light {% block nav_server_update %}{% endblock %}" type="submit" value="{{ _('Update server') }}"
+ <input class="btn btn-light {% block nav_server_update %}{% endblock %}" type="submit" value="{{ _('Edit server') }}"
form="serversForm" formaction="{{ url_for('server_update_get') }}" formmethod="get">
{% if btn_back %}
<button class="btn btn-danger ml-3" type="button" id="backButton" onclick="history.back()">