Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
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
hujun
tl_estate
Commits
be13abb8
Commit
be13abb8
authored
Jan 16, 2018
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit
parent
4cd8149f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
53 deletions
+46
-53
roleedit.html
application/index/view/auth/roleedit.html
+46
-53
No files found.
application/index/view/auth/roleedit.html
View file @
be13abb8
{extend name="public/base"/}
{block name="style"}{/block}
{layout name="global/frame_tpl" /}
<div
id=
"page-content-wrapper"
>
<div
class=
"container"
>
<div
class=
"col-lg-10 col-lg-offset-0"
>
<div
class=
"builder-tabs builder-form-tabs"
>
<ul
class=
"nav nav-tabs"
>
<li
class=
"active"
><a
href=
"/admin.php/index/roleedit/1.html"
>
角色信息
</a></li>
<li
class=
""
><a
href=
"/admin.php/index/access/1.html"
>
权限分配
</a></li>
<li
class=
""
><a
href=
"/admin.php/index/accessUser/1.html"
>
成员授权
</a></li>
</ul>
<div
class=
"form-group"
></div>
</div>
<div
class=
"builder formbuilder-box panel-body bg-color-fff"
>
<div
class=
"row"
>
<div
class=
"col-md-7"
>
<form
action=
""
method=
"post"
class=
"form-builder form-horizontal"
>
<fieldset>
<input
type=
"hidden"
name=
"id"
value=
"3"
>
<div
class=
"form-group"
>
<label
for=
"title"
class=
"col-md-2 control-label"
>
名称:
</label>
<div
class=
"col-md-10"
>
<input
type=
"text"
class=
"form-control"
name=
"title"
placeholder=
"创建的角色名称"
value=
"普通用户"
>
<span
class=
"material-input"
></span>
</div>
</div>
<div
class=
"form-group item_description"
>
<label
for=
"description"
class=
"col-md-2 control-label"
>
描述:
</label>
<div
class=
"col-md-10"
>
<textarea
name=
"description"
class=
"form-control"
length=
"120"
rows=
"5"
>
这是普通用户的权限
</textarea>
<span
class=
"material-input"
></span>
</div>
</div>
{block name="main"}
{present name="group_id"}
<div
class=
"builder-tabs builder-form-tabs"
>
<ul
class=
"nav nav-tabs"
>
<li
class=
"active"
><a
href=
"{:url('role_edit',['group_id'=>$group_id])}"
>
角色信息
</a></li>
<li
class=
""
><a
href=
"{:url('access',['group_id'=>$group_id])}"
>
权限分配
</a></li>
<li
class=
""
><a
href=
"{:url('accessUser',['group_id'=>$group_id])}"
>
成员授权
</a></li>
</ul>
<div
class=
"form-group"
></div>
</div>
{/present}
<div
class=
"builder formbuilder-box panel-body bg-color-fff"
>
<div
class=
"row"
>
<div
class=
"col-md-7"
>
<form
action=
""
method=
"post"
class=
"form-builder form-horizontal"
>
<fieldset>
{notempty name="info"}
<input
type=
"hidden"
name=
"id"
value=
"{$info.id}"
>
{/notempty}
<div
class=
"form-group"
>
<label
for=
"title"
class=
"col-md-2 control-label"
>
名称:
</label>
<div
class=
"col-md-10"
>
<input
type=
"text"
class=
"form-control"
name=
"title"
placeholder=
"创建的角色名称"
value=
"{$info.title|default=''}"
>
<span
class=
"material-input"
></span>
</div>
<div
class=
"form-group"
>
<div
class=
"col-md-12 col-md-offset-2"
>
<div
class=
"col-md-3"
><button
class=
"btn btn-block btn-primary submit ajax-post"
type=
"submit"
target-form=
"form-builder"
>
确定
</button></div>
<div
class=
"col-md-3"
><button
class=
"btn btn-block btn-default return"
onclick=
"javascript:history.back(-1);return false;"
>
返回
</button></div>
</div>
</div>
</fieldset>
</form>
</div>
</div>
<div
class=
"form-group item_description"
>
<label
for=
"description"
class=
"col-md-2 control-label"
>
描述:
</label>
<div
class=
"col-md-10"
>
<textarea
name=
"description"
class=
"form-control"
length=
"120"
rows=
'5'
>
{$info.description|default=''}
</textarea>
<span
class=
"material-input"
></span>
</div>
</div>
<div
class=
"form-group"
>
<div
class=
"col-md-12 col-md-offset-2"
>
<div
class=
"col-md-3"
><button
class=
"btn btn-block btn-primary submit ajax-post"
type=
"submit"
target-form=
"form-builder"
>
确定
</button></div>
<div
class=
"col-md-3"
><button
class=
"btn btn-block btn-default return"
onclick=
"javascript:history.back(-1);return false;"
>
返回
</button></div>
</div>
</div>
</fieldset>
</form>
</div>
</div>
</div>
{/block}
\ No newline at end of file
</div>
</div>
</div>
</div>
\ No newline at end of file
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