-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
executable file
·202 lines (176 loc) · 7.75 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
<!DOCTYPE html>
<html lang="en" ng-app="zendocs">
<head>
<title>ZendDocs</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Zend documentation posts">
<meta name="author" content="Gregory Chris">
<link rel="icon" type="image/png" href="/img/icon.png" />
<!-- Bootstrap core CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css" integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous">
<!-- Custom fonts for this template -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.1/css/all.css" integrity="sha384-gfdkjb5BdAXd+lj+gudLWI+BXq4IuLW5IT+brZEZsLFm++aCMlF1V92rMkPaX4PP" crossorigin="anonymous">
<link href='https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic' rel='stylesheet' type='text/css'>
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800' rel='stylesheet' type='text/css'>
<!-- Custom styles for this template -->
<link href="/css/clean-blog.css" rel="stylesheet">
<!-- Bootstrap core JavaScript -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/js/bootstrap.min.js" integrity="sha384-ChfqqxuZUCnJSK3+MXmPNIyE6ZbWh2IMqE241rYiqJxyMiZ6OW/JmZQ5stwEULTy" crossorigin="anonymous"></script>
<script src="/js/bootstrap-notify.min.js"></script>
<!-- Custom scripts for this template -->
<script src="/js/clean-blog.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.7.5/angular.min.js"></script>
<script src="/angular/vendor/angular-ui-router.min.js"></script>
<!-- firebase -->
<script src="https://www.gstatic.com/firebasejs/5.6.0/firebase.js"></script>
<script src="/js/my.firebase.init.js"></script>
<!-- general tools and compatibility function -->
<script src="/js/compat.js"></script>
<!-- init app -->
<script src="/angular/app.js"></script>
<!-- services -->
<script src="/angular/services/modal-box.js"></script>
<script src="/angular/services/znotif.js"></script>
<script src="/angular/services/filters.js"></script>
<script src="/angular/services/markdown-editor.js"></script>
<!-- controllers -->
<script src="/angular/controllers/AuthController.js"></script>
<script src="/angular/controllers/SearchController.js"></script>
<script src="/angular/controllers/HomeController.js"></script>
<script src="/angular/controllers/PostController.js"></script>
</head>
<body>
<!-- Navigation -->
<nav class="navbar navbar-expand-lg navbar-light fixed-top" id="mainNav">
<div class="container">
<a class="navbar-brand" href="/#!/home">Zend Docs</a>
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
Menu
<i class="fas fa-bars"></i>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto">
</li>
<li class="nav-item" ng-if="!user">
<a class="nav-link" href="#!/user/login">Login</a>
</li>
<li class="nav-item" ng-if="!user">
<a class="nav-link" href="#!/user/signup">Sign up</a>
</li>
<li class="nav-item" ng-if="user">
<a class="nav-link" href="#!/post/new">New post</a>
</li>
<li class="nav-item" ng-if="user">
<a class="nav-link" href="#!/user/profile">Profile</a>
</li>
<li class="nav-item" ng-if="user">
<a class="nav-link" href="#!/user/logout">Logout</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- Page Header -->
<header class="masthead" ng-class="{'masthead-home': (currentState == 'home'), 'mb-3': (currentState != 'home')}">
<div class="overlay"></div>
<div class="container">
<div class="row">
<div class="col-lg-8 col-md-10 mx-auto" ng-class="{'inner-heading': (currentState != 'home')}">
<div class="site-heading" ng-if="currentState == 'home'">
<h1 style="white-space: nowrap;">Docs / Instructions / Notes</h1>
<span class="subheading">A bunch of helpful snippets for the devs</span>
</div>
</div>
</div>
</div>
</header>
<!-- Search bar -->
<nav ng-if="currentState == 'home'" class="navbar navbar-expand-lg navbar-dark bg-dark navbar-secondary mb-3" ng-controller="SearchController">
<div class="container">
<div class="row">
<div class="col-sm-12 mx-auto">
<form class="form-inline navbar-search-form" ng-submit="search.submit();">
<div class="input-group">
<input ng-model="search.string" class="form-control" type="search" placeholder="Search" aria-label="Search" autofocus>
<div class="input-group-append">
<button class="btn btn-secondary" type="submit"><i class="fa fa-search"></i></button>
</div>
</div>
</form>
</div>
</div>
</div>
</nav>
<!-- Main Content -->
<div class="container">
<div class="row">
<div class="col-12 mx-auto">
<div ui-view></div>
</div>
</div>
</div>
<hr>
<!-- Footer -->
<footer>
<div class="container">
<div class="row">
<div class="col-lg-8 col-md-10 mx-auto">
<ul class="list-inline text-center">
<!-- Download the DB -->
<li class="list-inline-item" ng-if="user">
<a href="#" title="Download the DB as a json file" ng-click="downloadDb($event);">
<span class="fa-stack fa-lg" ng-if="!downloadDbInProgress">
<i class="fas fa-circle fa-stack-2x"></i>
<i class="fas fa-database fa-stack-1x fa-inverse"></i>
</span>
<span class="fa-stack fa-lg" ng-if=" downloadDbInProgress">
<i class="fas fa-circle fa-stack-2x"></i>
<i class="fa fa-spinner fa-spin fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<!-- Twitter -->
<li class="list-inline-item">
<a href="https://twitter.com/zend" target="_blank">
<span class="fa-stack fa-lg">
<i class="fas fa-circle fa-stack-2x"></i>
<i class="fab fa-twitter fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<!-- GitHub -->
<li class="list-inline-item">
<a href="https://github.com/sgchris/zendocs" target="_blank">
<span class="fa-stack fa-lg">
<i class="fas fa-circle fa-stack-2x"></i>
<i class="fab fa-github fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<li class="list-inline-item" title="Zend Technologies">
<a href="http://www.zend.com/" target="_blank">
<span class="fa-stack fa-lg">
<i class="fas fa-circle fa-stack-2x"></i>
<i class="fas fa-link fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
<li class="list-inline-item" title="RogueWave">
<a href="https://www.roguewave.com/" target="_blank">
<span class="fa-stack fa-lg">
<i class="fas fa-circle fa-stack-2x"></i>
<i class="fas fa-link fa-stack-1x fa-inverse"></i>
</span>
</a>
</li>
</ul>
<p class="copyright text-muted">Copyright © Zend Technologies - the RogueWave company</p>
</div>
</div>
</div>
</footer>
</body>
</html>