-
Notifications
You must be signed in to change notification settings - Fork 0
/
brush.html
60 lines (58 loc) · 2.89 KB
/
brush.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
<!DOCTYPE html>
<html>
<head>
<title>心情披萨</title>
<meta charset="utf-8" />
<link rel="stylesheet" href="/css/bootstrap.css" />
<link rel="stylesheet/less" type="text/css" href="/less/main.less" />
<script src="/js/less-1.3.3.min.js"></script>
</head>
<body>
<header class="jumbotron">
<h1>心 情 披 萨</h1>
<p class="lead">请用不同的颜色代表不同的心情,画画你一周的心情披萨</p>
</header>
<div class="container">
<div class="row">
<div class="toolbar">
<div class="btn-group" data-toggle="buttons-radio">
<button class="btn text-btn">添加文字</button>
<button class="btn hide brush-btn">画笔</button>
<button class="btn hide paint-btn">着色</button>
</div>
<div class="btn-group size-group" data-toggle="buttons-radio">
<button class="size btn" data-font-size="40" data-stroke-width="24">大</button>
<button class="size btn" data-font-size="25" data-stroke-width="12">中</button>
<button class="size btn" data-font-size="15" data-stroke-width="5">小</button>
</div>
<div class="btn-group color-group" data-toggle="buttons-radio"></div>
<div class="btn-group util-group">
<button class="btn reset-btn">重置</button>
<button data-loading-text="保存中..." class="btn save-btn">保存</button>
<a class="btn disabled download-btn">下载</a>
</div>
</div>
<div id="pizza"></div>
</div>
</div>
<div id="text-dialog" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h3>输入文字</h3>
</div>
<div class="modal-body">
<form>
<input id="user-input" type="text" autofocus>
</form>
</div>
<div class="modal-footer">
<button class="btn" data-dismiss="modal" aria-hidden="true">取消</button>
<button class="save btn btn-primary" data-dismiss="modal" aria-hidden="true">确定</button>
</div>
</div>
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="/js/bootstrap.js"></script>
<script src="http://d3lp1msu2r81bx.cloudfront.net/kjs/js/lib/kinetic-v4.5.1.min.js"></script>
<script type="text/javascript" src="/js/p.js"></script>
</body>
</html>