src/main/resources/templates/system/menu/edit.html

(开头部分) 8KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<link th:href="@{/ajax/libs/iCheck/custom.css}" rel="stylesheet"/>

<link href="/ajax/libs/jquery-layout/jquery.layout-latest.css"
      th:href="@{/ajax/libs/jquery-layout/jquery.layout-latest.css}" rel="stylesheet"/>

<link href="/ajax/libs/jquery-ztree/3.5/css/metro/zTreeStyle.css"
      th:href="@{/ajax/libs/jquery-ztree/3.5/css/metro/zTreeStyle.css}" rel="stylesheet"/>

<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
    <form class="form-horizontal m" id="form-menu-add" th:object="${permission}">
        <input id="treeId" name="parenId" type="text" hidden="hidden" th:value="*{parenId}"/>
        <input id="permissionId" name="permissionId" type="text" hidden="hidden" th:value="*{permissionId}"/>
        <div class="form-group">
            <label class="col-sm-3 control-label ">上级菜单:</label>
            <div class="col-sm-8">
                <input name="parentName" class="form-control" type="text"
                       th:onclick="'javascript:selectMenuTree('+*{parenId}+')'" id="treeName" readonly="true"
                       th:value="*{parentName == '' ? '无' : parentName}"/>
            </div>
        </div>
        <div class="form-group menuDiv" style="display: none">
            <label class="col-sm-3 control-label">菜单权限</label>
            <div class="col-sm-8">
                <div id="menuTrees" class="ztree"></div>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">菜单类型:</label>
            <div class="col-sm-8">
                <label class="checkbox-inline i-checks"> <input th:field="*{type}" type="radio" name="type" value="1"/>
                    目录 </label>
                <label class="checkbox-inline i-checks"> <input th:field="*{type}" type="radio" name="type" value="2"/>
                    菜单 </label>
                <label class="checkbox-inline i-checks"> <input th:field="*{type}" type="radio" name="type" value="3"/>
                    按钮 </label>
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">菜单名称:</label>
            <div class="col-sm-8">
                <input class="form-control" type="text" th:value="*{perName}" name="perName" id="perName">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">请求地址:</label>
            <div class="col-sm-8">
                <input id="url" name="url" th:value="*{url}" class="form-control" type="text">
            </div>
        </div>
        <div class="form-group">
            <label class="col-sm-3 control-label">权限标识:</label>
            <div class="col-sm-8">
                <input id="perms" th:value="*{code}" name="code" class="form-control" type="text">
            </div>
        </div>
后面还有 166 行代码,购买后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。