-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
232 lines (188 loc) · 8.46 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
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
<!--
flyerpenguin.com
@`$`@` '.
$@$@$@$ `0 ' . .
@$@ ` &@& . .`, /'
@$@' ' /'
@$@' ` \~~~~/
@$@' ` \ /
@$@$' ' ||
$@$@$@' ' ||
@$@$@$@' ' >><<
@$@$@$@' '&`$`@`$`@ =============
@$@$`@$` ' ' ' ' '
`$@` @$` '
`$@$@` @$' '
`@$@$@ @$.~~~. ;; '
`$@$@@ @; ;@ ;; '
`$@$@@ ;F&W; ;;; '
`$@$@$' ; ; '
`$@$@$@ ~~~ '
`@$@$@ '
,$@$@$ ;'
,@$@$@ ;;'
,$@$@$ ;;'
,@@$@$@$ ;;;;'
,@$$@$@$@$ : :: ;;
|| ` ` \\ . '
.`. \\ ` '
, . ', \.`,'
Hello! Feel free to check out the code.
Pull requests welcome!
http://github.com/ohEmily/flyerpenguin
ASCII art from: http://www.retrojunkie.com/asciiart/animals/penguins.htm
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Make a print-ready flyer for free from a Facebook event. Use our online editor to quickly and easily make design changes.">
<meta name="author" content="Emily Pakulski and Michael Garate">
<title>flyerpenguin - instantly make flyers for your Facebook events</title>
<!-- Bootstrap core CSS -->
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom styles for this template -->
<link href="css/app.css" rel="stylesheet">
<link href="css/flyer.css" rel="stylesheet">
<link href='http://fonts.googleapis.com/css?family=Tauri' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
<link rel="icon" href="/favicon.ico" type="image/x-icon">
<!-- aloha -->
<!-- load the jQuery and require.js libraries -->
<script type="text/javascript" src="aloha/lib/require.js"></script>
<script type="text/javascript" src="aloha/lib/vendor/jquery-1.7.2.js"></script>
<script type="text/javascript">
Aloha = {};
Aloha.settings = {
sidebar: { disabled: true },
plugins: {
format: {
hotKey: {formatPre: 'alt+ctrl+p',}
},
alignment: {
config: [ 'right', 'left', 'center', 'justify' ],
editables: {
'#one': [ 'right', 'left' ],
'#two': [ ],
'#three': [ 'left', 'right', 'top', 'middle', 'bottom' ]
}
}
}
};
</script>
<!-- load the Aloha Editor core and some plugins -->
<script src="aloha/lib/aloha.js"
data-aloha-plugins="common/ui,
common/format,
common/list,
common/link,
common/align ">
</script>
<!-- load the Aloha Editor CSS styles -->
<link href="aloha/css/aloha.css" rel="stylesheet" type="text/css" />
<link href="css/print.css" rel="stylesheet" media="print">
</head>
<body>
<!-- like button for Facebook -->
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-like no-print" id="fb_like_button" data-href="http://flyerpenguin.com" data-layout="button" data-action="like" data-show-faces="false" data-share="false"></div><br>
<div class="main_index">
<div class="container">
<div id="mobile-note" class="alert alert-warning">Hello! Please note that while <b>flyerpenguin</b>.com displays on mobile devices and tablets, only devices that can print can really benefit from <b>flyerpenguin</b>.</div>
<div class="row">
<div class="col-sm-5">
<img class="logo" alt="flyer penguin" src="images/penguin_300px.png">
</div>
<div class="form_column col-sm-6 col-sm-offset-1">
<h1 class="main_title">flyer penguin</h1>
<p class="main_description">
Make a print-ready flyer from a Facebook event.
</p>
<div id="link_field" class="form-group has-feedback form-elements">
<input type="text" name="url_field" class="event_url_field form-elements form-control" placeholder="paste a Facebook event link" data-toggle="tooltip" data-placement="right" title="please enter an event url.">
</div>
<button type="button" class="fb_login_button button form-elements form-control" data-toggle="tooltip" data-placement="right" title="You're in!">login to Facebook</button>
<button type="button" class="generate_button form-elements form-control button">customize flyer</button>
</div><!-- /form_column -->
</div><!-- /row -->
</div><!-- /container -->
<div class="footer">
<div class="container">
<p class="text-muted"><b>flyer penguin</b> is made by <a href="http://michaelgarate.com" target="_blank">Michael</a> and <a href="http://emilypakulski.com" target="_blank">Emily</a>.</p>
</div>
</div>
</div>
<div id="overlay_wrapper" class="overlay_wrapper">
<div class="top-toolbar no-print">
<div class="container">
<div class="row">
<div class="col-sm-4">
<img class="mini-logo pull-left" alt="flyer penguin" src="images/penguin_300px.png">
<p class="toolbar-text">
Click a section below to edit.
</p>
</div>
<div class="col-sm-8">
<button type="button" class="btn btn-danger btn-md close-flyer pull-right">
<span class="glyphicon glyphicon-remove"></span> Close
</button>
<button type="button" class="btn btn-success btn-md print-button pull-right">
<span class="glyphicon glyphicon-print"></span> Print
</button>
<button type="button" class="btn btn-primary btn-md start-over pull-right">
<span class="glyphicon glyphicon-repeat"></span> Start Over
</button>
<button type="button" class="btn btn-primary btn-md toggle-image pull-right">
<span class="glyphicon glyphicon-picture"></span> Toggle Image
</button>
</div>
</div>
</div>
</div>
<div class="overlay">
<div class="flyer_main">
<div class="flyer_when editable"></div>
<div class="flyer_title editable"></div>
<div class="flyer_image">
<div class="flyer_image_overlay hidden">
Click to remove image.
</div>
</div>
<div class="flyer_where editable"></div>
<div class="flyer_description editable"></div>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
<script src="js/fb.js"></script>
<script src="js/flyer_writer.js"></script>
<script src="js/app.js"></script>
<!-- make all elements with class="editable" editable with Aloha Editor -->
<script type="text/javascript">
Aloha.ready( function() {
var $ = Aloha.jQuery;
$('.editable').aloha();
$('.aloha-ui-pin').trigger('click');
});
</script>
<script>
(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-49717852-1', 'flyerpenguin.com');
ga('send', 'pageview');
</script>
</body>
</html>