-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.jade
44 lines (44 loc) · 1.77 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
doctype html
html(lang='en')
head
meta(charset='utf-8')
title
link(rel='stylesheet', type='text/css', href='min-css/normalize.min.css')
link(rel='stylesheet', type='text/css', href='min-css/magnify.min.css')
link(rel='stylesheet', type='text/css', href='min-css/style.min.css')
link(rel='stylesheet', type='text/css', href='min-css/jquery-ui.min.css')
script(src='min-js/jquery-3.1.0.min.js', defer)
// dragging and resizing
script(src='min-js/jquery-ui.min.js', defer)
// color animations
script(src='min-js/jquery.color-2.1.2.min.js', defer)
// ease-out animations
script(src='js/jquery-easing-1.3.js', defer)
// magnify images
script(src='js/magnify.js', defer)
script(src='js/script.js', defer)
body
header
h2 Try to Draw a Box Around Every Person and Vehicle
main
#settings
section.setting#color
#person Person
input#color1(type='color', value='#ffff00')
#automobile Automobile
input#color2(type='color', value='#9900ff')
section.setting#borderWidth
#onePX 1px
#twoPX 2px
section.setting#dragClick
#drag Drag
#clickAndDrag Click&Drag
section.setting#magnifyIcon
section.setting#countBoxes 0
#image
img.zoom(data-magnify-src='streets.jpg')
#buttons
for val in ['submit', 'undo', 'cancel']
input(type='button', id=val, value=val)
footer
p Best supported on a computer with Chrome, Opera, or Firefox.