-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
80 lines (57 loc) · 2.48 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
<!DOCTYPE html>
<html ng-app='xgen'>
<head>
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,300,600' rel='stylesheet' type='text/css' />
<link rel='stylesheet' href='css/bootstrap.min.css' />
<link rel='stylesheet' href='css/styles.css' />
<script src='libs/jquery-1.8.1.min.js'></script>
<script src='libs/angular-1.0.1.min.js'></script>
<script src='libs/bootstrap.min.js'></script>
<script src='app.js'></script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-7876652-18']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<div class='container' ng-controller='BundleCtrl'>
<div class='header row'>
<div class='span12'>
<h1>App.js Generator</h1>
<p>For more Express.js info take a look at <a href='http://expressjs.com'>expressjs.com</a> or the <a href='https://github.com/visionmedia/express/tree/master/examples'>examples directory</a> on github.</p>
</div>
</div>
<div class='row'>
<div class='span6'>
<h2>What do you need?</h2>
<ul class='bundles row'>
<li class='span2' ng-repeat='bundle in bundles'>
<div ng-class='getClass(bundle)' class='bundle' popover='bundle' ng-click='select(bundle)'>
{{bundle.name}}
</div>
<a title='info' class='info' ng-href='{{bundle.link}}' ng-show='hasLink(bundle)' target='_blank'>
<i class='icon-info-sign'></i>
</a>
</li>
</ul>
</div>
<div class='span6'>
<h2>App.js</h2>
<pre ng-repeat='bundle in bundles | filter: { selected: true }'>{{bundle.code}}</pre>
<a class='btn btn-inverse' ng-href='data:text/plain;charset=utf-8;base64,{{code}}' download='app.js'>Download <i class='icon-download-alt icon-white'></i></a>
</div>
</div>
<div class='footer row'>
<div class='span12'>
<a href='https://github.com/enome/application-generator'>fork me on github</a>
</div>
</div>
</div>
</body>
</html>