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
de226a92
Commit
de226a92
authored
Jan 06, 2015
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试查看 user_add.html
parent
fc162f14
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
161 deletions
+9
-161
user_add.html
templates/user_add.html
+9
-161
No files found.
templates/user_add.html
View file @
de226a92
...
...
@@ -62,7 +62,7 @@
<div
class=
"form-group"
>
<label
for=
"j_group"
class=
"col-lg-2 control-label"
>
属组
<span
class=
"red-fonts"
>
*
</span></label>
<div
class=
"col-sm-8"
>
<select
id=
"j_group"
name=
"j_group"
class=
"form-control m-b"
>
<select
id=
"j_group"
name=
"j_group"
class=
"form-control m-b"
multiple
>
<option>
Test1
</option>
<option>
Test2
</option>
</select>
...
...
@@ -76,6 +76,7 @@
<option>
Test role
</option>
<option>
Test role
</option>
</select>
</div>
</div>
<div
class=
"hr-line-dashed"
></div>
<div
class=
"form-group"
>
...
...
@@ -85,175 +86,22 @@
</div>
</div>
<div
class=
"hr-line-dashed"
></div>
<div
class=
"form-group"
><label
class=
"col-sm-2 control-label"
>
Inline checkboxes
</label>
<div
class=
"col-sm-8"
><label
class=
"checkbox-inline"
>
<input
type=
"checkbox"
value=
"option1"
id=
"inlineCheckbox1"
>
a
</label>
<label
class=
"checkbox-inline"
>
<input
type=
"checkbox"
value=
"option2"
id=
"inlineCheckbox2"
>
b
</label>
<label
class=
"checkbox-inline"
>
<input
type=
"checkbox"
value=
"option3"
id=
"inlineCheckbox3"
>
c
</label></div>
</div>
<div
class=
"hr-line-dashed"
></div>
<div
class=
"form-group"
><label
class=
"col-sm-2 control-label"
>
Checkboxes
&
radios
<br/><small
class=
"text-navy"
>
Custom elements
</small></label>
<div
class=
"col-sm-8"
>
<div
class=
"checkbox i-checks"
><label>
<input
type=
"checkbox"
value=
""
>
<i></i>
Option one
</label></div>
<div
class=
"checkbox i-checks"
><label>
<input
type=
"checkbox"
value=
""
checked=
""
>
<i></i>
Option two checked
</label></div>
<div
class=
"checkbox i-checks"
><label>
<input
type=
"checkbox"
value=
""
disabled=
""
checked=
""
>
<i></i>
Option three checked and disabled
</label></div>
<div
class=
"checkbox i-checks"
><label>
<input
type=
"checkbox"
value=
""
disabled=
""
>
<i></i>
Option four disabled
</label></div>
<div
class=
"radio i-checks"
><label>
<input
type=
"radio"
value=
"option1"
name=
"a"
>
<i></i>
Option one
</label></div>
<div
class=
"radio i-checks"
><label>
<input
type=
"radio"
checked=
""
value=
"option2"
name=
"a"
>
<i></i>
Option two checked
</label></div>
<div
class=
"radio i-checks"
><label>
<input
type=
"radio"
disabled=
""
checked=
""
value=
"option2"
>
<i></i>
Option three checked and disabled
</label></div>
<div
class=
"radio i-checks"
><label>
<input
type=
"radio"
disabled=
""
name=
"a"
>
<i></i>
Option four disabled
</label></div>
</div>
</div>
<div
class=
"hr-line-dashed"
></div>
<div
class=
"form-group"
><label
class=
"col-sm-2 control-label"
>
Inline checkboxes
</label>
<div
class=
"col-sm-8"
><label
class=
"checkbox-inline i-checks"
>
<input
type=
"checkbox"
value=
"option1"
>
a
</label>
<label
class=
"checkbox-inline i-checks"
>
<input
type=
"checkbox"
value=
"option2"
>
b
</label>
<label
class=
"checkbox-inline i-checks"
>
<input
type=
"checkbox"
value=
"option3"
>
c
</label></div>
</div>
<div
class=
"hr-line-dashed"
></div>
<div
class=
"form-group"
><label
class=
"col-sm-2 control-label"
>
Select
</label>
<div
class=
"col-sm-8"
><select
class=
"form-control m-b"
name=
"account"
>
<option>
option 1
</option>
<option>
option 2
</option>
<option>
option 3
</option>
<option>
option 4
</option>
</select>
<div
class=
"col-lg-4 m-l-n"
><select
class=
"form-control"
multiple=
""
>
<option>
option 1
</option>
<option>
option 2
</option>
<option>
option 3
</option>
<option>
option 4
</option>
</select></div>
</div>
</div>
<div
class=
"hr-line-dashed"
></div>
<div
class=
"form-group has-success"
><label
class=
"col-sm-2 control-label"
>
Input with success
</label>
<div
class=
"col-sm-8"
><input
type=
"text"
class=
"form-control"
></div>
</div>
<div
class=
"hr-line-dashed"
></div>
<div
class=
"form-group has-warning"
><label
class=
"col-sm-2 control-label"
>
Input with warning
</label>
<div
class=
"col-sm-8"
><input
type=
"text"
class=
"form-control"
></div>
</div>
<div
class=
"hr-line-dashed"
></div>
<div
class=
"form-group has-error"
><label
class=
"col-sm-2 control-label"
>
Input with error
</label>
<div
class=
"col-sm-8"
><input
type=
"text"
class=
"form-control"
></div>
</div>
<div
class=
"hr-line-dashed"
></div>
<div
class=
"form-group"
><label
class=
"col-sm-2 control-label"
>
Control sizing
</label>
<div
class=
"col-sm-8"
><input
type=
"text"
placeholder=
".input-lg"
class=
"form-control input-lg m-b"
>
<input
type=
"text"
placeholder=
"Default input"
class=
"form-control m-b"
>
<input
type=
"text"
placeholder=
".input-sm"
class=
"form-control input-sm"
>
</div>
</div>
<div
class=
"hr-line-dashed"
></div>
<div
class=
"form-group"
><label
class=
"col-sm-2 control-label"
>
Column sizing
</label>
<div
class=
"form-group"
><label
class=
"col-sm-2 control-label"
>
是否启用
</label>
<div
class=
"col-sm-8"
>
<div
class=
"row"
>
<div
class=
"col-md-2"
><input
type=
"text"
placeholder=
".col-md-2"
class=
"form-control"
></div>
<div
class=
"col-md-3"
><input
type=
"text"
placeholder=
".col-md-3"
class=
"form-control"
></div>
<div
class=
"col-md-4"
><input
type=
"text"
placeholder=
".col-md-4"
class=
"form-control"
></div>
<div
class=
"radio i-checks"
>
<label><input
type=
"radio"
value=
"1"
name=
"j_is_active"
>
启用
</label>
</div>
</div>
</div>
<div
class=
"hr-line-dashed"
></div>
<div
class=
"form-group"
><label
class=
"col-sm-2 control-label"
>
Input groups
</label>
<div
class=
"col-sm-8"
>
<div
class=
"input-group m-b"
><span
class=
"input-group-addon"
>
@
</span>
<input
type=
"text"
placeholder=
"Username"
class=
"form-control"
></div>
<div
class=
"input-group m-b"
><input
type=
"text"
class=
"form-control"
>
<span
class=
"input-group-addon"
>
.00
</span></div>
<div
class=
"input-group m-b"
><span
class=
"input-group-addon"
>
$
</span>
<input
type=
"text"
class=
"form-control"
>
<span
class=
"input-group-addon"
>
.00
</span></div>
<div
class=
"input-group m-b"
><span
class=
"input-group-addon"
>
<input
type=
"checkbox"
>
</span>
<input
type=
"text"
class=
"form-control"
></div>
<div
class=
"input-group"
><span
class=
"input-group-addon"
>
<input
type=
"radio"
>
</span>
<input
type=
"text"
class=
"form-control"
></div>
</div>
</div>
<div
class=
"hr-line-dashed"
></div>
<div
class=
"form-group"
><label
class=
"col-sm-2 control-label"
>
Button addons
</label>
<div
class=
"col-sm-8"
>
<div
class=
"input-group m-b"
><span
class=
"input-group-btn"
>
<button
type=
"button"
class=
"btn btn-primary"
>
Go!
</button>
</span>
<input
type=
"text"
class=
"form-control"
>
<div
class=
"radio i-checks"
>
<label><input
type=
"radio"
value=
"0"
name=
"j_is_active"
>
禁用
</label>
</div>
<div
class=
"input-group"
><input
type=
"text"
class=
"form-control"
>
<span
class=
"input-group-btn"
>
<button
type=
"button"
class=
"btn btn-primary"
>
Go!
</button>
</span></div>
</div>
</div>
<div
class=
"hr-line-dashed"
></div>
<div
class=
"form-group"
><label
class=
"col-sm-2 control-label"
>
With dropdowns
</label>
<div
class=
"col-sm-8"
>
<div
class=
"input-group m-b"
>
<div
class=
"input-group-btn"
>
<button
data-toggle=
"dropdown"
class=
"btn btn-white dropdown-toggle"
type=
"button"
>
Action
<span
class=
"caret"
></span></button>
<ul
class=
"dropdown-menu"
>
<li><a
href=
"#"
>
Action
</a></li>
<li><a
href=
"#"
>
Another action
</a></li>
<li><a
href=
"#"
>
Something else here
</a></li>
<li
class=
"divider"
></li>
<li><a
href=
"#"
>
Separated link
</a></li>
</ul>
</div>
<input
type=
"text"
class=
"form-control"
></div>
<div
class=
"input-group"
><input
type=
"text"
class=
"form-control"
>
<div
class=
"input-group-btn"
>
<button
data-toggle=
"dropdown"
class=
"btn btn-white dropdown-toggle"
type=
"button"
>
Action
<span
class=
"caret"
></span></button>
<ul
class=
"dropdown-menu pull-right"
>
<li><a
href=
"#"
>
Action
</a></li>
<li><a
href=
"#"
>
Another action
</a></li>
<li><a
href=
"#"
>
Something else here
</a></li>
<li
class=
"divider"
></li>
<li><a
href=
"#"
>
Separated link
</a></li>
</ul>
</div>
</div>
</div>
</div>
<div
class=
"hr-line-dashed"
></div>
<div
class=
"form-group"
><label
class=
"col-sm-2 control-label"
>
Segmented
</label>
<div
class=
"col-sm-8"
>
<div
class=
"input-group m-b"
>
<div
class=
"input-group-btn"
>
<button
tabindex=
"-1"
class=
"btn btn-white"
type=
"button"
>
Action
</button>
<button
data-toggle=
"dropdown"
class=
"btn btn-white dropdown-toggle"
type=
"button"
><span
class=
"caret"
></span></button>
<ul
class=
"dropdown-menu"
>
<li><a
href=
"#"
>
Action
</a></li>
<li><a
href=
"#"
>
Another action
</a></li>
<li><a
href=
"#"
>
Something else here
</a></li>
<li
class=
"divider"
></li>
<li><a
href=
"#"
>
Separated link
</a></li>
</ul>
</div>
<input
type=
"text"
class=
"form-control"
></div>
<div
class=
"input-group"
><input
type=
"text"
class=
"form-control"
>
<div
class=
"input-group-btn"
>
<button
tabindex=
"-1"
class=
"btn btn-white"
type=
"button"
>
Action
</button>
<button
data-toggle=
"dropdown"
class=
"btn btn-white dropdown-toggle"
type=
"button"
><span
class=
"caret"
></span></button>
<ul
class=
"dropdown-menu pull-right"
>
<li><a
href=
"#"
>
Action
</a></li>
<li><a
href=
"#"
>
Another action
</a></li>
<li><a
href=
"#"
>
Something else here
</a></li>
<li
class=
"divider"
></li>
<li><a
href=
"#"
>
Separated link
</a></li>
</ul>
</div>
</div>
</div>
</div>
<div
class=
"hr-line-dashed"
></div>
<div
class=
"form-group"
>
<div
class=
"col-sm-4 col-sm-offset-2"
>
<button
class=
"btn btn-white"
type=
"submit"
>
Cancel
</button>
<button
class=
"btn btn-primary"
type=
"submit"
>
Save changes
</button>
<button
class=
"btn btn-white"
type=
"submit"
>
取消
</button>
<button
class=
"btn btn-primary"
type=
"submit"
>
保存
</button>
</div>
</div>
</form>
...
...
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