-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodule.html
103 lines (96 loc) · 4.52 KB
/
module.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
<!DOCTYPE HTML>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="stylesheet.css">
<span style="font-family: Roboto;"></span>
<title>Basic Module Maker</title>
</head>
<body>
<nav>
<ul class="nav-ul">
<li><a href="index.html">Home</a></li>
<li><a href="index.html#cta">Calls to Action</a></li>
<li><a href="index.html#interactive">Interactive</a></li>
<li><a href="sample.html">Sample Email</a></li>
<li><a class="active" href="module.html">Creator</a></li>
</ul>
</nav>
<main>
<p id="demo"></p>
<div class="sidebar">
<div class="sidebar-content">
<h1 class="left">Module Creator</h1>
<form style="text-align: left">
<label for="title">Title</label><br>
<textarea class="text-boxes" rows = "2" cols = "40" name = "title" id="title"
placeholder="Don't miss an America Counts Story!"></textarea><br>
<label for="description">Description</label><br>
<textarea class="text-boxes" rows = "2" cols = "40" name = "description" id="description"
placeholder="Stay in the know about the stories behind the numbers."></textarea><br>
<label for="cta-text">Call to Action Text</label><br>
<input type="text" class="text-boxes" id="cta-text" name="cta-text"
placeholder="Call to action text"><br>
<label for="url">Call to Action URL</label><br>
<input type="url" name="url" id="url"
class="text-boxes"
placeholder="https://example.com"
pattern="https://.*">
<br>
<button id="reset" style="display: none" onclick="window.location.reload();">Reset</button>
</form>
<button onclick="showResult();">Submit</button>
</div>
</div>
<div class="maker">
<div>
<h2>Sample Module</h2>
<!--Grey background, orange button-->
<div style="background: #EEEEEE">
<table width="100%" border="0" cellspacing="0" cellpadding="5" bgcolor="#EEEEEE">
<tbody>
<tr><td> </td></tr>
<!--Title-->
<tr>
<td align="center" style="font-size:24px; font-weight:700">
<font face="'Roboto', Arial, sans-serif">
Don't miss an America Counts story!</font></td>
</tr>
<!--Description-->
<tr>
<td align="center" style="font-size:16px; font-weight:300">
<font face="'Roboto', Arial, sans-serif">
Stay in the know about the stories behind the numbers.</font></td>
</tr>
<!--Call to Action-->
<tr>
<td align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tbody><tr>
<td align="center" style="border-radius: 5px;" bgcolor="#e9703e" class="bg-orange">
<a href="https://public.govdelivery.com/accounts/USCENSUS/subscriber/new" target="_blank" style="font-size: 16px; color: #ffffff; text-decoration: none; text-decoration: none;border-radius: 5px;
padding: 12px 18px; border: 2px solid #e9703e; display: inline-block;">
<font face="'Roboto', Arial, sans-serif">Subscribe Here</font></a>
</td>
</tr>
</tbody></table>
</td>
</tr>
<tr><td> </td></tr>
</tbody>
</table>
</div>
</div>
<div id="module">
<h2>Preview Module</h2>
<div id="main"></div>
</div>
</div>
</main>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script type="text/javascript" src="script.js"></script>
<script type = "text/javascript" src = "/assets/prototype.js"></script>
</body>
</html>