-
Notifications
You must be signed in to change notification settings - Fork 9
/
index.html
123 lines (97 loc) · 3.54 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>VanillaPress</title>
<link rel="stylesheet" href="dist/css/style.css">
</head>
<body>
<section id="wrapper">
<section id="editor" class="hidden">
<h1>VanillaPress</h1>
<nav id="primary">
<h3>Admin</h3>
<ul class="accordion">
<li><a href="#posts">Posts</a></li>
<li><a href="#pages">Pages</a></li>
<li><a href="#settings">Settings</a></li>
</ul>
</nav>
<nav id="secondary">
<h3>
<a class="go-home" href="#">Admin</a> /
<span>Title</span>
</h3>
<span id="addNew"><a href="#">+</a></span>
<ul class="accordion">
</ul>
</nav>
<nav id="edit">
<h3>
<a class="go-home" href="#">Admin</a> /
<span><a href="#edit">Title</a></span>
</h3>
<form action="">
<ul>
<li>
<label for="editTitle">Title</label>
<input type="text" name="editTitle" id="editTitle">
</li>
<li>
<label for="editContent">Content</label>
<textarea name="editContent" id="editContent"></textarea>
</li>
<li>
<button id="editUpdateBtn" type="submit" value="Update" class="btn primary">Update
</button>
</li>
</ul>
</form>
<p id="deletePost"><a href="#">Delete Post</a></p>
</nav>
</section>
<section id="view">
<div class="container">
<header class="page-header">
<h1 id="siteName"><a href="#">VanillaPress</a></h1>
<h2 id="siteDesription">A JS Front & Back End</h2>
</header>
<nav id="mainNav">
<ul>
<li><a href="#">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#blog">Blog</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</nav>
<div class="content">
<div class="primary">
<h2 id="pageTitle">Page Title</h2>
<div id="pageContent">
<p>Reprehenderit sit sunt nisi excepteur deserunt officia ipsum eu reprehenderits deserunt aliqua incididunt cillum dolore.</p>
<p>Dolor sit amet, consectetur adipisicing elit. Makingsum Lorem look coolsum. Sit temporibus sunt doloremque enim alias pariatur debitis dolorum excepturi fugiat assumenda at, totam delectus, possimus reprehenderit earum aliquid nihil, esse voluptatem.</p>
</div>
</div>
<div class="sidebar">
<h3>Hi!</h3>
<p>
I'm Zac, a WordPress developer learning JavaScript.
</p>
</div>
</div>
<div class="footer">
<p>Made with JavaScript ♥</p>
</div>
</div>
</section>
</section>
<div id="editorToggle" class="hidden">
<a href="#">
<span class="arrow"></span>
<label>Hide Editor</label>
</a>
</div>
<script src="dist/js/app.js"></script>
<a href="https://github.com/zgordon/vanillapress"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://camo.githubusercontent.com/e7bbb0521b397edbd5fe43e7f760759336b5e05f/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677265656e5f3030373230302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_green_007200.png"></a>
</body>
</html>