backend/app/assets/export/html/index.html

95 lines
3.6 KiB
HTML
Raw Normal View History

2020-10-15 04:13:09 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<title>{{ PAGE_TITLE }} | {{ GROUP_TITLE }}</title>
<script src="vendor/aggrid/ag-grid-community.min.noStyle.js"></script>
2020-10-15 04:13:09 +00:00
<!-- Bootstrap core CSS -->
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="vendor/aggrid/ag-grid.css">
<link rel="stylesheet" href="vendor/aggrid/ag-theme-balham.css">
2020-10-15 04:13:09 +00:00
<!-- Custom styles for this template -->
<link href="css/simple-sidebar.css" rel="stylesheet">
</head>
<body>
<div class="d-flex" id="wrapper">
<!-- Sidebar -->
<div class="bg-light border-right" id="sidebar-wrapper">
<div class="sidebar-heading">{{ GROUP_TITLE }}</div>
<div class="list-group list-group-flush" id="sidebar-container"></div>
</div>
<!-- /#sidebar-wrapper -->
<!-- Page Content -->
<div id="page-content-wrapper">
<nav class="navbar navbar-expand-lg navbar-light bg-light border-bottom">
<button class="btn btn-primary" id="menu-toggle">Menu</button>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav ml-auto mt-2 mt-lg-0">
<!-- <li class="nav-item active">-->
<!-- <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>-->
<!-- </li>-->
<!-- <li class="nav-item">-->
<!-- <a class="nav-link" href="#">Link</a>-->
<!-- </li>-->
<!-- <li class="nav-item dropdown">-->
<!-- <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">-->
<!-- Dropdown-->
<!-- </a>-->
<!-- <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdown">-->
<!-- <a class="dropdown-item" href="#">Action</a>-->
<!-- <a class="dropdown-item" href="#">Another action</a>-->
<!-- <div class="dropdown-divider"></div>-->
<!-- <a class="dropdown-item" href="#">Something else here</a>-->
<!-- </div>-->
<!-- </li>-->
</ul>
</div>
</nav>
<div class="container-fluid" style="margin-bottom: 50px;">
<h1 class="mt-4">{{ PAGE_TITLE }}</h1>
{{ PAGE_CONTENT }}
</div>
</div>
<!-- /#page-content-wrapper -->
</div>
<!-- /#wrapper -->
<!-- Bootstrap core JavaScript -->
<script src="vendor/jquery/jquery.min.js"></script>
<script src="vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
<script src="vendor/monaco/index.js" type="module"></script>
<!-- Menu Toggle Script -->
<script>
$("#menu-toggle").click(function(e) {
e.preventDefault();
$("#wrapper").toggleClass("toggled");
});
const manifest = {{ MANIFEST }};
manifest.sidebar.forEach(item => {
const elem = $('<a href="' + item.link + '" class="list-group-item list-group-item-action bg-light"' + (item.level ? ' style="padding-left: ' + (20 * (item.level + 1)) + 'px;"' : '') + '>' + item.title + '</a>')
$('#sidebar-container').append(elem)
})
</script>
</body>
</html>