-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.jade
24 lines (22 loc) · 1.12 KB
/
index.jade
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
link(rel="stylesheet", href = "bower_components/bootstrap/dist/css/bootstrap.min.css")
script(type="text/javascript", src="bower_components/angular/angular.js")
script(type="text/javascript", src="bower_components/angular-resource/angular-resource.js")
script(type="text/javascript", src="/app/app.js")
script(type="text/javascript", src="/app/jobFactory.js")
body(ng-app="app")
.container
div(ng-controller="testController")
h1 Post a New Job!
form(ng-submit="submit()")
.form-group
input.form-control(placeholder="Job Title", ng-model="title")
.form-group
textarea.form-control(placeholder="Job Description", ng-model="description")
.form-group
button.btn.btn-primary(type="submit") Post
h1 Find a Job Today!
.list-group
a.list-group-item(href="#")(ng-repeat="job in jobs | orderBy:'title'")
h4.list-group-item-heading {{job.title}}
p.list-group-item-text {{job.description}}
div {{test}}