-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
149 lines (140 loc) · 6.11 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
<!DOCTYPE html>
<html>
<head>
<title>fly-brid | A visual constructor for coding fluid-hybrid HTML emails</title>
<link rel="stylesheet" type="text/css" href="css/styles.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<!-- Modal overlay -->
<div class="modal fade" id="email_code" tabindex="-1" role="dialog" aria-labelledby="code_modal">
<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>
<h3 class="modal-title" id="myModalLabel">Your code</h3>
</div>
<div class="modal-body">
<textarea id="final-code"></textarea>
<p>Dont' forget to inline your code using <a href="http://inliner.cm" target="_blank">Campaign Monitor's Inliner Tool</a> or any other inlining method.</p>
</div>
</div>
</div>
</div>
<!-- /Modal -->
<div class="page-container">
<header>
<div class="container">
<div class="logo"><span class="logo-inner">fly<img class="logo-letter hyphen" src="img/hyphen.png">br<img class="logo-letter i" src="img/i.png">d</span></div>
</div>
</header>
<div class="container about">
<p>About <span class="logo-text">fly-brid</span>:</p>
<p><span class="logo-text">fly-brid</span> is a tool that allows developers to easily and quickly create HTML email layouts using the <a href="http://webdesign.tutsplus.com/tutorials/creating-a-future-proof-responsive-email-without-media-queries--cms-23919" target="_blank">fluid-hybrid</a> method by <a href="http://tutsplus.com/authors/nicole-merlin" target="_blank">Nicole Merlin</a> (last name oh-so-relevant) method without having to copy and paste each time. Simply choose the elements you need and click <span class="logo-text">fly-brid me!</span> to output your code!</p>
</div>
<div class="container app-outer">
<div class="row">
<div class="col-xs-12 col-md-3">
<div class="elements">
<p class="section-header">Select Components</p>
<p>Full-width Banner</p>
<button class="component" id="add-banner">
<p>Banner Image</p>
<div class="components">
<div class="banner"><span class="glyphicon glyphicon-picture"></span></div>
</div>
</button>
<p>Columns</p>
<button class="component" id="add-one-column">
<p>One-column</p>
<div class="components">
<div class="component-one-column"><div class="component-inner"></div></div>
</div>
</button>
<button class="component" id="add-two-column">
<p>Two-column</p>
<div class="components">
<div class="component-two-column"><div class="component-inner"></div></div>
<div class="component-two-column"><div class="component-inner"></div></div>
</div>
</button>
<button class="component" id="add-three-column">
<p>Three-column</p>
<div class="components">
<div class="component-three-column"><div class="component-inner"></div></div>
<div class="component-three-column"><div class="component-inner"></div></div>
<div class="component-three-column"><div class="component-inner"></div></div>
</div>
</button>
<p>Sidebars</p>
<button class="component" id="add-sidebar-n">
<p>Left Sidebar</p>
<div class="components">
<div class="component-sidebar-side"><div class="component-inner"></div></div>
<div class="component-sidebar-main normal"><div class="component-inner"></div></div>
</div>
</button>
<button class="component" id="add-sidebar-r">
<p>Right (reverse) Sidebar</p>
<div class="components">
<div class="component-sidebar-main reversed"><div class="component-inner"></div></div>
<div class="component-sidebar-side"><div class="component-inner"></div></div>
</div>
</button>
</div>
</div>
<div class="col-xs-12 col-md-9">
<div class="options">
<p class="section-header">Options</p>
<div class="options-box">
<div class="option"><input type="checkbox" id="media-query"><label for="media-query">Media query preview</label></div>
<div class="option"><label for="breakpoint-tablet">Tablet breakpoint</label><input type="text" id="breakpoint-tablet" value="600"></div>
<div class="option"><label for="breakpoint-mobile">Mobile breakpoint</label><input type="text" id="breakpoint-mobile" value="400"></div>
<div class="option">
<p class="alignment-label">Column alignment (mobile)</p>
<span><input type="radio" name="align-columns" value="left" id="align-left" class="alignment-radio"><label for="align-left">Left</label></span>
<span><input type="radio" name="align-columns" value="center" id="align-center" class="alignment-radio" checked><label for="align-center">Center</label></span>
</div>
</div>
</div>
<div class="preview">
<p class="section-header">Preview</p>
<div class="row">
<div class="col-xs-6">
<p class="section-header preview-header">Desktop</p>
<div class="preview-pane-outer">
<div class="desktop">
</div>
</div>
</div>
<div class="col-xs-4">
<p class="section-header preview-header">Tablet</p>
<div class="preview-pane-outer">
<div class="tablet align-center">
</div>
</div>
</div>
<div class="col-xs-2">
<p class="section-header preview-header">Mobile</p>
<div class="preview-pane-outer">
<div class="mobile">
</div>
</div>
</div>
</div>
<br>
<div class="row">
<div class="col-xs-4 col-xs-offset-4">
<button id="flybrid-me" type="button" data-toggle="modal" data-target="#email_code">fly-brid me!</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
<script type="text/javascript" src="js/script.js"></script>
</body>
</html>