Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
8386f107
Commit
8386f107
authored
Jul 26, 2018
by
ibuler
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'github/dev' into dev
parents
5ce3dd40
d649aacf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
asset.py
apps/assets/forms/asset.py
+2
-2
asset_create.html
apps/assets/templates/assets/asset_create.html
+1
-1
No files found.
apps/assets/forms/asset.py
View file @
8386f107
...
@@ -45,7 +45,7 @@ class AssetCreateForm(forms.ModelForm):
...
@@ -45,7 +45,7 @@ class AssetCreateForm(forms.ModelForm):
'root or other NOPASSWD sudo privilege user existed in asset,'
'root or other NOPASSWD sudo privilege user existed in asset,'
'If asset is windows or other set any one, more see admin user left menu'
'If asset is windows or other set any one, more see admin user left menu'
),
),
'platform'
:
_
(
"* required Must set exact system platform, Windows, Linux ..."
),
#
'platform': _("* required Must set exact system platform, Windows, Linux ..."),
'domain'
:
_
(
"If your have some network not connect with each other, you can set domain"
)
'domain'
:
_
(
"If your have some network not connect with each other, you can set domain"
)
}
}
...
@@ -85,7 +85,7 @@ class AssetUpdateForm(forms.ModelForm):
...
@@ -85,7 +85,7 @@ class AssetUpdateForm(forms.ModelForm):
'root or other NOPASSWD sudo privilege user existed in asset,'
'root or other NOPASSWD sudo privilege user existed in asset,'
'If asset is windows or other set any one, more see admin user left menu'
'If asset is windows or other set any one, more see admin user left menu'
),
),
'platform'
:
_
(
"* required Must set exact system platform, Windows, Linux ..."
),
#
'platform': _("* required Must set exact system platform, Windows, Linux ..."),
'domain'
:
_
(
"If your have some network not connect with each other, you can set domain"
)
'domain'
:
_
(
"If your have some network not connect with each other, you can set domain"
)
}
}
...
...
apps/assets/templates/assets/asset_create.html
View file @
8386f107
...
@@ -15,10 +15,10 @@
...
@@ -15,10 +15,10 @@
{% csrf_token %}
{% csrf_token %}
<h3>
{% trans 'Basic' %}
</h3>
<h3>
{% trans 'Basic' %}
</h3>
{% bootstrap_field form.hostname layout="horizontal" %}
{% bootstrap_field form.hostname layout="horizontal" %}
{% bootstrap_field form.platform layout="horizontal" %}
{% bootstrap_field form.ip layout="horizontal" %}
{% bootstrap_field form.ip layout="horizontal" %}
{% bootstrap_field form.protocol layout="horizontal" %}
{% bootstrap_field form.protocol layout="horizontal" %}
{% bootstrap_field form.port layout="horizontal" %}
{% bootstrap_field form.port layout="horizontal" %}
{% bootstrap_field form.platform layout="horizontal" %}
{% bootstrap_field form.public_ip layout="horizontal" %}
{% bootstrap_field form.public_ip layout="horizontal" %}
{% bootstrap_field form.domain layout="horizontal" %}
{% bootstrap_field form.domain layout="horizontal" %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment