-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (63 loc) · 2.69 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<!doctype html>
<html lang="en">
<head>
<title>ng-editor</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- <base href="/ng-editor/">-->
<link rel="icon" type="image/png" href="https://static.expertite.com/com/img/v2/logo/favicon.ico" sizes="16x16">
<link href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.1/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/main.min.css">
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script type="text/javascript"
src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.4.1/js/bootstrap.min.js"></script>
</head>
<body>
<div ng-app="editor" ng-controller="mainCtrl">
<header>
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#headerNav">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" ui-sref="home">ng-editor</a>
</div>
<div class="collapse navbar-collapse" id="headerNav">
<ul class="nav navbar-nav navbar-right">
<li><a ui-sref="installation" ui-sref-active="active">Installation</a></li>
<li><a ui-sref="demo" ui-sref-active="active">Demo</a></li>
</ul>
</div>
</div>
</nav>
</header>
<div class="page-content">
<div ui-view></div>
</div>
<footer>
<p>
<span class="cr">© 2019</span>
</p>
</footer>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.7.8/angular.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular-ui-router/1.0.22/angular-ui-router.min.js"></script>
<script type="text/javascript" src="js/htmlEditor.min.js"></script>
<script type="text/javascript" src="js/main.min.js"></script>
<script>
function setHeight() {
$('.page-content').css('min-height', $(window).height() - ($('header').outerHeight() + $('footer').outerHeight()))
}
$(document).ready(function () {
setHeight();
$('body').css('visibility', 'visible')
});
$(window).resize(function () {
setHeight()
})
</script>
</body>
</html>