-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.jade
112 lines (105 loc) · 3.18 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
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
doctype 5
html(lang="en")
head
title CloudCrontab
link(rel='stylesheet',href='css/bootstrap.min.css')
link(rel='stylesheet',href='css/app.css')
script(src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js')
script(src='http://cdnjs.cloudflare.com/ajax/libs/json2/20110223/json2.js')
script(src='http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.3.3/underscore-min.js')
script(src='http://cdnjs.cloudflare.com/ajax/libs/backbone.js/0.9.2/backbone-min.js')
script(src='http://cdnjs.cloudflare.com/ajax/libs/handlebars.js/1.0.0.beta2/handlebars.min.js')
script(src='js/bootstrap.min.js')
script(src='js/app.js')
body
.navbar.navbar-fixed-top
.navbar-inner
.container
a.brand CloudCrontab
ul.nav.pull-right
li.userbadge
.container#content
script#login(type='text/x-handlebars-template')
h2 {{title}}
form.form-horizontal
fieldset
{{#if register}}
.control-group.name
label.control-label(for='name') Name
.controls
input.input-xlarge(type='text',id='name')
{{/if}}
.control-group
label.control-label(for='email') E-Mail
.controls
input.input-xlarge(type='text',id='email')
.control-group
label.control-label(for='password') Password
.controls
input.input-xlarge(type='password',id='password')
.form-actions
button.btn(type='submit') {{button}}
a.register Register
script#task(type='text/x-handlebars-template')
h3 {{name}}
table.table
tbody
tr
td URL
td {{url}}
tr
td crontab
td {{schedule-crontab}}
h4 Logs
table.table#logs
thead
tr
th Name
th Date
th Code
th
tbody
script#log-line(type='text/x-handlebars-template')
td {{date}}
td {{duration}}
td {{code}}
td
a.delete(href='#')
i.icon-trash
script#tasks(type='text/x-handlebars-template')
a.btn.btn.create
i.icon-plus
span Add new task
table.table
thead
tr
th Name
th url
th crontab
th
tbody
script#task-line(type='text/x-handlebars-template')
td {{name}}
td {{url}}
td {{schedule-crontab}}
td
a.delete(href='#')
i.icon-trash
script#task-create(type='text/x-handlebars-template')
h2 Create
form.form-horizontal
fieldset
.control-group
label.control-label(for='name') Name
.controls
input.input-xlarge(type='text',id='name')
.control-group
label.control-label(for='url') URL
.controls
input.input-xlarge(type='text',id='url')
.control-group
label.control-label(for='url') crontab (* * * * *)
.controls
input.input-xlarge(type='text',id='crontab')
.form-actions
button.btn(type='submit') Create