forked from mmcardle/django_builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·130 lines (123 loc) · 6.42 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
<!DOCTYPE html>
<!--[if lt IE 7]> <html lang="en" ng-app="builder" class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html lang="en" ng-app="builder" class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html lang="en" ng-app="builder" class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html lang="en" ng-app="builder" class="no-js"> <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Django Builder</title>
<meta name="description" content="Django Builder is a website to create and
build boiler plate code for Django apps. The output is python files including
models.py admin.py views.py and urls.py and template files. The output can be
downloaded as a tar file.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="app/build/django_builder.min.css"/>
<link rel="shortcut icon" href="app/img/favicon.ico" type="image/x-icon">
<link rel="icon" href="app/img/favicon.ico" type="image/x-icon">
</head>
<body>
<div class="container-fluid" ng-app="builder">
<!-- Static navbar -->
<div class="navbar navbar-default" role="navigation">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse"
data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand label-rotate" href="#!/home" title="always be in beta">
<span class="label label-info">Beta</span>
</a>
<a class="navbar-brand" href="#!/home">Django Builder
<i class="fa fa-cog fa-spin builder_icon"></i></a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="builder_nav"><a href="#!/models">Model Builder</a></li>
<li class="builder_nav"><a href="#!/project">Project Config</a></li>
<li class="builder_nav"><a href="#!/channels">Django Channels</a></li>
<li class="builder_nav"><a data-toggle="modal" data-target="#donateModal" role="button">
<i class="fa fa-info-circle" aria-hidden="true"></i> Donate</a>
</li>
</ul>
<div class="navbar-text pull-right">
<a href="https://github.com/mmcardle/django_builder" target="_blank"><i class="fa fa-github"></i> Django Builder on Github</a>
<a href="https://github.com/mmcardle/" target="_blank"><i class="fa fa-github"></i> mmcardle</a>
<a href="https://twitter.com/mmc4rdle" target="_blank"><i class="fa fa-twitter"></i> @mmc4rdle</a>
</div>
</div>
</div>
<div ng-view></div>
</div>
<div class="modal fade" id="donateModal" tabindex="-1" role="dialog" aria-labelledby="donateModalLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h2 class="modal-title modal-header-inner" id="donateModalLabel">Donations Welcome</h2>
</div>
<div class="modal-body">
<br/>
<p>Django builder is free to use, and a personal project worked on in my spare time.
Any donations are very much appreciated.
</p>
<br/>
<div class="text-center">
<em><i class="fa fa-btc" aria-hidden="true"></i> Bitcoin Address:</em>
<code>1J7JaUA5YhowVNtWCEoSh2tUD7pVJQfwcx</code>
<br/><br/>
<img class="thumbnail text-center" src="app/img/bitcoin_add.png" style="padding:10px;margin:auto" />
<br/>
<em><i class="fa fa-paypal" aria-hidden="true"></i> Donate with Paypal:</em>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_blank">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="hosted_button_id" value="J7LKKP24K42D8">
<input type="image" src="https://www.paypalobjects.com/en_GB/i/btn/btn_donate_SM.gif"
border="0" name="submit" alt="PayPal – The safer, easier way to pay online!"
style="margin-top:10px;">
<img alt="" border="0" src="https://www.paypalobjects.com/en_GB/i/scr/pixel.gif" width="1" height="1">
</form>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser.
Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<script>
var hostname = window.location.hostname;
if (hostname == '127.0.0.1' || hostname == 'localhost') {
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-58935053-2', 'auto');
console.debug(window.location.hostname, 'Dev');
} else {
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
// Live
console.debug(window.location.hostname, 'Live');
ga('create', 'UA-58935053-1', 'auto');
}
</script>
<script type="application/javascript">
//var base = document.createElement('base');
//base.setAttribute('href', window.location.pathname);
//console.log(window.location.pathname)
//document.getElementsByTagName('head')[0].appendChild(base);
</script>
<script src="app/build/django_builder.min.js"></script>
</body>
</html>