From b348f7f1ce769d4f2b610d8e8590881d765a9ce4 Mon Sep 17 00:00:00 2001 From: yumaojun03 <719118794@qq.com> Date: Wed, 14 Dec 2016 09:54:16 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E4=BA=86=E9=83=A8=E5=88=86cr?= =?UTF-8?q?on=E7=9A=84list=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/ops/templates/cron/list.html | 53 ++++++++++++++----------------- apps/ops/templates/sudo/list.html | 6 ++-- apps/ops/views.py | 6 ++-- apps/static/js/jumpserver.js | 32 +++++++++++++++++++ 4 files changed, 60 insertions(+), 37 deletions(-) diff --git a/apps/ops/templates/cron/list.html b/apps/ops/templates/cron/list.html index e1fc05058..ca7f8404e 100644 --- a/apps/ops/templates/cron/list.html +++ b/apps/ops/templates/cron/list.html @@ -3,9 +3,9 @@ {% block table_search %} {% endblock %} {% block table_container %} -
{% trans "Create sudo" %}
-
{% trans "Import user" %}
- +
{% trans "Create cron" %}
+{#
{% trans "Import user" %}
#} +
- - - - + + + @@ -38,7 +37,7 @@ {% include "users/_user_bulk_update_modal.html" %} -{% include "users/_user_import_modal.html" %} +{#{% include "users/_user_import_modal.html" %}#} {% endblock %} {% block content_bottom_left %}{% endblock %} {% block custom_foot_js %} @@ -46,24 +45,19 @@
@@ -13,10 +13,9 @@ {% trans 'Name' %}{% trans 'Username' %}{% trans 'Role' %}{% trans 'User group' %}{% trans 'Active' %}{% trans 'Time' %}{% trans 'Job' %}{% trans 'User' %} {% trans 'Action' %}