This repository has been archived by the owner on Sep 20, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
/
index.html
125 lines (125 loc) · 6.27 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
<!DOCTYPE html>
<html>
<head>
<title>CV Maker</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="./style.css"/>
<script type="text/javascript" src="https://cdn.rawgit.com/gwendall/way.js/master/dist/way.js"></script>
</head>
<body>
<div id="wrapper">
<div id="left-wrapper" class="container">
<h2>Markdown CV Maker</h2>
<form id="inputData" way-data="inputData" way-persistent class="form-group">
<fieldset class="form-group">
<label>Full Name</label>
<input class="form-control" name="fullName">
<label>Email</label>
<input class="form-control" name="email">
<label>Avatar URL</label>
<input class="form-control" name="avatar">
</fieldset>
<hr>
<fieldset class="form-group">
<label>Title</label><input class="form-control" name="title">
<label>Location</label><input class="form-control" name="location">
<label>Homepage</label><input class="form-control" name="homepage">
<label>Twitter</label><input class="form-control" name="twitter">
<label>Tech you like to work with</label><input class="form-control" name="tech">
</fieldset>
<hr>
<fieldset class="form-group">
<label>About</label>
<textarea class="form-control" name="about" rows="4"></textarea>
</fieldset>
<hr>
<fieldset class="form-group">
<h3>Experience</h3>
<button way-action-push="inputData.experience" class="btn btn-primary">Add Experience</button>
<fieldset class="form-group" way-repeat="inputData.experience">
<label>Title</label>
<input class="form-control" way-presistent way-data="title" placeholder="Job title or something of that sorts">
<fieldset class="form-group form-inline">
<label>Since</label>
<input class="form-control" way-presistent way-data="since" placeholder="Some year">
<label>Till</label>
<input class="form-control" way-presistent way-data="till" placeholder="Defaults to current">
</fieldset>
<label>Tech involved</label>
<input class="form-control" way-presistent way-data="tech" placeholder="tech, you, worked, with">
<label>Details</label>
<textarea class="form-control" way-presistent way-data="about" placeholder="Explain your role etc."></textarea>
<button way-action-remove="inputData.experience.$$key" way-persistent class="btn btn-danger">Remove</button>
</fieldset>
</fieldset>
<hr>
<h3>Education</h3>
<button way-action-push="inputData.education" class="btn btn-primary">Add Education</button>
<fieldset class="form-group" way-repeat="inputData.education">
<label>Title</label>
<input class="form-control" way-persistent way-data="title" placeholder="Your course name?">
<fieldset class="form-group">
<label>Since</label>
<input class="form-control" way-persistent way-data="since" placeholder="Admitted in year?">
<label>Till</label>
<input class="form-control" way-persistent way-data="till" placeholder="Graduate(d) at?">
</fieldset>
<label>Tech involved</label>
<input class="form-control" way-persistent way-data="tech" placeholder="C, Java, PHP">
<label>Details</label>
<textarea class="form-control" way-persistent way-data="about" placeholder="Your heroic tales or skipping classes"></textarea>
<button way-action-remove="inputData.education.$$key" way-persistent class="btn btn-danger">Remove</button>
</fieldset>
<hr>
<fieldset class="form-group">
<h3>Open Source</h3>
<button way-action-push="inputData.projects" class="btn btn-primary">Add project</button>
<fieldset class="form-group" way-repeat="inputData.projects">
<label>Title</label><input class="form-control" way-persistent way-data="title" placeholder="Title">
<label>URL</label><input class="form-control" way-persistent way-data="url" placeholder="https://github.com/yourname/something">
<label>Details</label><textarea class="form-control" way-persistent way-data="desc" placeholder="boast about number of kitten gifs in readme here"></textarea>
<button way-action-remove="inputData.projects.$$key" way-persistent class="btn btn-danger">Remove</button>
</fieldset>
</fieldset>
<hr>
<fieldset class="form-group">
<h3>Writing</h3>
<label>Your writing habits</label>
<textarea class="form-control" name="writingHabits" placeholder="we know you love blogging and that you are busy"></textarea>
<button way-action-push="inputData.writing" class="btn btn-primary">Add</button>
<fieldset class="form-group" way-repeat="inputData.writing">
<label>Title</label>
<input class="form-control" way-persistent way-data="title" placeholder="what do you like to call it?">
<label>URL</label>
<input class="form-control" way-persistent way-data="url" placeholder="links or it didn't happen">
<button way-action-remove="inputData.writing.$$key" way-persistent class="btn btn-danger">Remove</button>
</fieldset>
</fieldset>
<hr>
<fieldset class="form-group">
<h3>Favorites</h3>
<label>Editor</label>
<input class="form-control" name="editor" placeholder="You have to write it only once, we will get it">
<label>Operating System</label>
<input class="form-control" name="os" placeholder="This too">
<label>Terminal</label>
<input class="form-control" name="terminal" placeholder="And we know your favs are the best">
</fieldset>
<hr>
</form>
</div>
<div id="right-wrapper">
<div class="container">
<button class="btn btn-default" id="btnMd">Markdown</button>
<button class="btn btn-default" id="btnLive">Live Preview</button>
<button class="btn btn-success" id="btnExport">Export JSON</button>
<button class="btn btn-success" id="btnDownload">Download Raw Markdown</button>
</div>
<pre id="previewer"></pre>
<div id="live-preview" class="hidden"></div>
</div>
</div>
<script src="./src.es5.js"></script>
<script src="https://cdn.rawgit.com/chjj/marked/master/lib/marked.js"></script>
</body>
</html>