-
Notifications
You must be signed in to change notification settings - Fork 0
/
templates.html
119 lines (114 loc) · 2.77 KB
/
templates.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
<!-- templates/layout.html -->
<!doctype html>
<html>
<head>
<title>Job Board</title>
</head>
<body>
<div class="container top">
<div class="content">
{% block content %}
{% endblock %}
</div>
</div>
</body>
</html>
<!-- templates/_marcos.html -->
<!-- show_job -->
<div class="card adjust-height">
<header class="card-header">
<p class="card-header-title">
</p>
</header>
<div class="card-content">
<div class="content">
</div>
</div>
</div>
<!-- templates/index.html -->
{% block content %}
<div class="columns">
<div class="column">
<h1>Jobs</h1>
</div>
<div class="column is-one-fifth">
</div>
</div>
{% endblock %}
<!-- templates/employer.html -->
{% block content %}
<h2>Jobs</h2>
<h2>Reviews</h2>
{# TODO: Remove comment and add for loop
{% %}
#}
<div class="box">
<article class="media">
<div class="media-left">
</div>
<div class="media-content">
<div class="content">
</div>
</div>
</article>
</div>
{# TODO: Remove comment and end for loop
{% %}
#}
<div class="columns">
<div class="column">
<a class="button is-info is-pulled-right">Create Review</a>
</div>
</div>
{% endblock %}
<!-- templates/review.html -->
{% block content %}
<h1>New Review</h1>
<form method="post">
<div class="field">
<label class="label">Job Title</label>
<div class="control">
<input class="input" type="text" name="title" id="title" required>
</div>
</div>
<div class="field">
<label class="label">Rating</label>
<div class="control">
<div class="select">
<select name="rating" id="rating">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
</select>
</div>
</div>
</div>
<div class="field">
<label class="label">Review</label>
<div class="control">
<textarea class="textarea" name="review" id="review" required></textarea>
</div>
</div>
<div class="field">
<label class="label">Employment Status</label>
<div class="control">
<div class="select">
<select name="status" id="status">
<option value="former">Former</option>
<option value="current">Current</option>
</select>
</div>
</div>
</div>
<div class="field is-grouped">
<div class="control">
<button class="button is-link">Submit</button>
</div>
<div class="control">
<a class="button is-text">Cancel</a>
</div>
</div>
</form>
{% endblock %}