You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
110 lines
4.9 KiB
HTML
110 lines
4.9 KiB
HTML
2 years ago
|
<!DOCTYPE html>
|
||
|
<html><head>
|
||
|
<meta charset="utf-8">
|
||
|
<title>ThinkPHP5.0</title>
|
||
|
<meta name="description" content="Dashboard">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||
|
<!--Basic Styles-->
|
||
|
<link href="/static/admin/style/bootstrap.css" rel="stylesheet">
|
||
|
<link href="/static/admin/style/font-awesome.css" rel="stylesheet">
|
||
|
<link href="/static/admin/style/weather-icons.css" rel="stylesheet">
|
||
|
<!--Beyond styles-->
|
||
|
<link id="beyond-link" href="/static/admin/style/beyond.css" rel="stylesheet" type="text/css">
|
||
|
<link href="/static/admin/style/demo.css" rel="stylesheet">
|
||
|
<link href="/static/admin/style/typicons.css" rel="stylesheet">
|
||
|
<link href="/static/admin/style/animate.css" rel="stylesheet">
|
||
|
</head>
|
||
|
<body>
|
||
|
{include file="public/top" /}
|
||
|
<div class="main-container container-fluid">
|
||
|
<div class="page-container">
|
||
|
<!-- Page Sidebar -->
|
||
|
{include file="public/left" /}
|
||
|
<!-- /Page Sidebar -->
|
||
|
<!-- Page Content -->
|
||
|
<div class="page-content">
|
||
|
<!-- Page Breadcrumb -->
|
||
|
<div class="page-breadcrumbs">
|
||
|
<ul class="breadcrumb">
|
||
|
<li>
|
||
|
<a href="{:url('index/index')}">系统</a>
|
||
|
</li>
|
||
|
<li>
|
||
|
<a href="{:url('cate/lst')}">菜单管理</a>
|
||
|
</li>
|
||
|
<li class="active">添加菜单</li>
|
||
|
</ul>
|
||
|
</div>
|
||
|
<!-- /Page Breadcrumb -->
|
||
|
<!-- Page Body -->
|
||
|
<div class="page-body">
|
||
|
|
||
|
<div class="row">
|
||
|
<div class="col-lg-12 col-sm-12 col-xs-12">
|
||
|
<div class="widget">
|
||
|
<div class="widget-header bordered-bottom bordered-blue">
|
||
|
<span class="widget-caption">编辑菜单</span>
|
||
|
</div>
|
||
|
<div class="widget-body">
|
||
|
<div id="horizontal-form">
|
||
|
<form class="form-horizontal" role="form" action="" method="post">
|
||
|
<div class="form-group">
|
||
|
<label for="username" class="col-sm-2 control-label no-padding-right">选择上级菜单</label>
|
||
|
<div class="col-sm-6">
|
||
|
<select name="pid">
|
||
|
<option value="0">顶级菜单</option>
|
||
|
{volist name="cateres" id="v"}
|
||
|
<option value="{$cate.id}">{if condition="$v['level'] neq 0"}|{/if}<?php echo str_repeat('-',$v['level']*4)?>{$v.pidname}</option>
|
||
|
{/volist}
|
||
|
</select>
|
||
|
</div>
|
||
|
<p class="help-block col-sm-4 red">* 必填</p>
|
||
|
</div>
|
||
|
|
||
|
|
||
|
<div class="form-group">
|
||
|
<label for="username" class="col-sm-2 control-label no-padding-right">菜单名称</label>
|
||
|
<div class="col-sm-6">
|
||
|
<input class="form-control" style="width:200px" placeholder="" name="pidname" value="{$cate['pidname']}" required="" type="text">
|
||
|
</div>
|
||
|
<p class="help-block col-sm-4 red">* 必填</p>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label for="username" class="col-sm-2 control-label no-padding-right">链接地址</label>
|
||
|
<div class="col-sm-6">
|
||
|
<input class="form-control" style="width:200px" placeholder="" name="linkurl" value="{$cate['linkurl']}" required="" type="text">
|
||
|
</div>
|
||
|
<p class="help-block col-sm-4 red">* 必填</p>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<div class="col-sm-offset-2 col-sm-10">
|
||
|
<button type="submit" class="btn btn-default">保存信息</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
</div>
|
||
|
<!-- /Page Body -->
|
||
|
</div>
|
||
|
<!-- /Page Content -->
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
<!--Basic Scripts-->
|
||
|
<script src="/static/cssjs/js/jquery_002.js"></script>
|
||
|
<script src="/static/cssjs/js/bootstrap.js"></script>
|
||
|
<script src="/static/cssjs/js/jquery.js"></script>
|
||
|
<!--Beyond Scripts-->
|
||
|
<script src="/static/cssjs/js/beyond.js"></script>
|
||
|
|
||
|
|
||
|
|
||
|
</body></html>
|