diff --git a/jasset/views.py b/jasset/views.py index 02f887b69..482ed8fad 100644 --- a/jasset/views.py +++ b/jasset/views.py @@ -5,7 +5,9 @@ from django.shortcuts import render_to_response from django.core.paginator import Paginator, EmptyPage from models import IDC, Asset, BisGroup +from juser.models import UserGroup from connect import PyCrypt, KEY +from jpermission.models import Permission cryptor = PyCrypt(KEY) @@ -20,6 +22,7 @@ def jadd_host(request): groups = [] eidc = IDC.objects.all() egroup = BisGroup.objects.all() + eusergroup = UserGroup.objects.all() if request.method == 'POST': j_ip = request.POST.get('j_ip') diff --git a/logs/connect/20150124/halcyon_192.168.196.73_133619.log b/logs/connect/20150124/halcyon_192.168.196.73_133619.log new file mode 100644 index 000000000..df5a91b5e --- /dev/null +++ b/logs/connect/20150124/halcyon_192.168.196.73_133619.log @@ -0,0 +1,8 @@ +PS1='[\u@192.168.196.73 \W]\$ ' +Last login: Sun Jan 4 13:30:11 2015 from 192.168.199.162 +clear;echo -e '\033[32mLogin 192.168.196.73 done. Enjoy it.\033[0m' +[halcyon@localhost ~]$ PS1='[\u@192.168.196.73 \W]\$ ' +[halcyon@192.168.196.73 ~]$ clear;echo -e '\033[32mLogin 192.168.196.73 done. Enjoy it.\033[0m' +[H[J[32mLogin 192.168.196.73 done. Enjoy it.[0m +[halcyon@192.168.196.73 ~]$ ls +[halcyon@192.168.196.73 ~]$ \ No newline at end of file diff --git a/templates/jasset/group_add.html b/templates/jasset/group_add.html index f610d740f..4b3d871ce 100644 --- a/templates/jasset/group_add.html +++ b/templates/jasset/group_add.html @@ -74,7 +74,6 @@ form.submit(); } }); - {% endblock %} \ No newline at end of file diff --git a/templates/jasset/host_add.html b/templates/jasset/host_add.html index dc862a315..224e0dc1f 100644 --- a/templates/jasset/host_add.html +++ b/templates/jasset/host_add.html @@ -103,6 +103,16 @@ +
+