diff --git a/apps/assets/templates/assets/admin_user_create.html b/apps/assets/templates/assets/admin_user_create_update.html similarity index 100% rename from apps/assets/templates/assets/admin_user_create.html rename to apps/assets/templates/assets/admin_user_create_update.html diff --git a/apps/assets/templates/assets/admin_user_detail.html b/apps/assets/templates/assets/admin_user_detail.html new file mode 100644 index 000000000..12a108f6c --- /dev/null +++ b/apps/assets/templates/assets/admin_user_detail.html @@ -0,0 +1,220 @@ +{% extends 'base.html' %} +{% load common_tags %} +{% load users_tags %} +{% load static %} +{% load i18n %} + +{% block custom_head_css_js %} + + +{% endblock %} +{% block content %} +
+
+
+
+ +
+
+
+
+ {{ admin_user.name }} +
+ + + + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +
{% trans 'Name' %}:{{ admin_user.name }}
{% trans 'Username' %}:{{ admin_user.username }}
{% trans 'Date created' %}:{{ admin_user.date_created }}
{% trans 'Created by' %}:{{ asset_group.created_by }}
{% trans 'Comment' %}:{{ admin_user.comment }}
+
+
+ +
+
+ {% trans 'Asset list of ' %} {{ admin_user.name }} +
+ + + + + + + + + + +
+
+
+ + + + + + + + + + + {% for asset in page_obj %} + + + + + + + {% endfor %} + +
{% trans 'Hostname' %}{% trans 'IP' %}{% trans 'Port' %}{% trans 'Alive' %}
{{ asset.hostname }}{{ asset.ip }}{{ asset.port }}Alive
+
+ {% include '_pagination.html' %} +
+
+
+
+
+
+
+ {% trans 'Quick update' %} +
+
+ + + + + + + + + + + + + + + + + +
{% trans 'Get install script' %}: + + + +
{% trans 'Retest asset connectivity' %}: + + + +
{% trans 'Reset private key' %}: + + + +
+
+
+ +
+
+ {% trans 'Replace asset admin user with this' %} +
+
+ + + + + + + + + + + +
+ +
+ +
+
+
+
+
+
+
+
+
+ + +{% endblock %} +{% block custom_foot_js %} + +{% endblock %} \ No newline at end of file diff --git a/apps/assets/templates/assets/admin_user_list.html b/apps/assets/templates/assets/admin_user_list.html index d7aae75aa..eeb4587bd 100644 --- a/apps/assets/templates/assets/admin_user_list.html +++ b/apps/assets/templates/assets/admin_user_list.html @@ -20,7 +20,7 @@ {{ admin_user.id }} - + {{ admin_user.name }} diff --git a/apps/assets/templates/assets/asset_group_detail.html b/apps/assets/templates/assets/asset_group_detail.html index 08272a04f..4c48867b9 100644 --- a/apps/assets/templates/assets/asset_group_detail.html +++ b/apps/assets/templates/assets/asset_group_detail.html @@ -69,7 +69,7 @@
- {% trans 'Asset list of ' %} {{ asset_group.name }} + {% trans 'Asset list of ' %} {{ asset_group.name }}
@@ -118,7 +118,7 @@
- {% trans 'Associate asset user(system/admin)' %} + {% trans 'Associate system user' %}
@@ -207,23 +207,23 @@ {% endblock %} {% block custom_foot_js %}