1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no">
- <meta http-equiv="x-ua-compatible" content="ie=edge">
- <title>项目-计量支付</title>
- <link rel="stylesheet" href="/public/css/bootstrap/bootstrap.min.css">
- <link rel="stylesheet" href="/public/css/wap/main.css">
- <link rel="stylesheet" href="/public/css/toast.css">
- <link rel="stylesheet" href="/public/css/font-awesome/font-awesome.min.css">
- <link rel="stylesheet" href="/public/css/toastr.css">
- <link rel="shortcut icon" href="/public/images/favicon.ico">
- <style>
- html{height:100%;}
- body {
- padding: 0;
- }
- </style>
- <!-- JS. -->
- <% for (const file of jsFiles) { %>
- <script type="text/javascript" src="<%- file %>"></script>
- <% } %>
- </head>
- <body>
- <div class="container">
- <!--顶部-->
- <nav class="fixed-top bg-dark">
- <div class="my-2 d-flex justify-content-between">
- <span class="text-white ml-3">项目</span>
- <div class="mr-3">
- <div class="dropdown">
- <button class="btn btn-sm btn-light dropdown-toggle" type="button" data-toggle="dropdown">
- <%- ctx.session.sessionUser.name.substr(ctx.session.sessionUser.name.length > 2 ? ctx.session.sessionUser.name.length - 2 : 0) %>
- </button>
- <div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
- <a class="dropdown-item" href="/wap/logout">退出登录</a>
- </div>
- </div>
- </div>
- </div>
- </nav>
- <div class="py-6">
- <div class="c-body">
- <% if (!projectList || projectList.length === 0) { %>
- <div class="jumbotron" id="no-project">
- <h3 class="display-6">还没有项目数据</h3>
- </div>
- <% } else { %>
- <table class="table">
- <thead>
- <tr class="text-center"><th>项目名称</th></tr>
- </thead>
- <tbody id="projectList">
- </tbody>
- </table>
- <% } %>
- </div>
- </div>
- <!--底栏菜单-->
- <nav class="fixed-bottom navbar-dark bg-light border-top">
- <ul class="nav nav-fill my-2">
- <li class="nav-item">
- <a class="nav-link text-muted show-loading" href="/wap/dashboard"><i class="fa fa-check-square-o"></i> 待审批</a>
- </li>
- <li class="nav-item">
- <a class="nav-link active show-loading" href="/wap/subproj"><i class="fa fa-list-ul"></i> 项目</a>
- </li>
- </ul>
- </nav>
- </div>
- <script>
- const projectList = JSON.parse(unescape('<%- escape(JSON.stringify(projectList)) %>'));
- </script>
|