diff --git a/jperm/perm_api.py b/jperm/perm_api.py index 7366ea284..11a26a079 100644 --- a/jperm/perm_api.py +++ b/jperm/perm_api.py @@ -296,11 +296,9 @@ def get_role_push_host(role): asset_all = Asset.objects.all() asset_pushed = {} for push in pushs: - print push.result asset_pushed[push.asset] = {'success': push.success, 'key': push.is_public_key, 'password': push.is_password, 'result': push.result} asset_no_push = set(asset_all) - set(asset_pushed.keys()) - print asset_no_push, asset_pushed return asset_pushed, asset_no_push diff --git a/templates/jasset/asset_add.html b/templates/jasset/asset_add.html index ac7b9e71c..74efb345d 100644 --- a/templates/jasset/asset_add.html +++ b/templates/jasset/asset_add.html @@ -76,9 +76,9 @@
-
- -
+
+ +
@@ -118,14 +118,23 @@ {% block self_footer_js %}