-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
133 lines (124 loc) · 5.17 KB
/
index.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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<link href="css/bootstrap.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" media="all" href="styles.css" />
<script src="http://code.jquery.com/jquery-1.9.1.js"></script>
<script src="js/bootstrap.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<link type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1/themes/ui-lightness/jquery-ui.css" rel="stylesheet" />
</head>
<body>
<div id="wrap">
<div id="main">
<div id="jquery-ui-dialog" title="投稿しますか?" style='display:none'>
<form>
<fieldset>
<p>facebookに画像を投稿します。<br>詳細を入力してOKボタンを押してください。</p>
<label for="jquery-ui-dialog-form-memo"></label>
<input type="text" name="jquery-ui-dialog-form-memo" id="jquery-ui-dialog-form-memo" class="text ui-widget-content ui-corner-all" />
</p>
</fieldset>
</form>
</div>
<span id='jquery-ui-dialog-opener'></span>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="brand" href="#">kuroneco</a>
<div class="nav-collapse collapse">
<ul class="nav">
<li class="active"><a href="#">Home</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
<ul class="nav pull-right">
<li><fb:login-button autologoutlink="true" perms="user_likes" data-max-rows="1" data-width="200"></fb:login-button></li>
</ul>
</div>
</div>
</div>
</div>
<div id="drop">
<div class="container">
<form id="upload" action="index.html" method="POST" enctype="multipart/form-data">
<fieldset>
<!--
<legend>HTML File Upload</legend>
<input type="hidden" id="MAX_FILE_SIZE" name="MAX_FILE_SIZE" value="300000" />
-->
<div>
<!--
<label for="fileselect">Files to upload:</label>
-->
<input type="file" id="fileselect" name="fileselect[]" multiple />
<div id="filedrag" class=""></div>
</div>
<div id="submitbutton">
<button type="submit">Upload Files</button>
</div>
</fieldset>
</form>
</div>
<div class="row-fluid">
<figure>
<ul>
<li><div id="info">original</div></li>
<li><span id="img"></span></li>
<li class="square"><div id="info">grayscale</div>
<canvas id="grayscale" style="display: none; "></canvas>
</li>
<li class="square"><div id="info">brightness</div>
<canvas id="brightness" style="display: none; "></canvas>
</li>
<li class="square"><div id="info">threshold</div>
<canvas id="threshold" style="display: none; "></canvas>
</li>
<li class="square"><div id="info">sharpen</div>
<canvas id="sharpen" style="display: none; "></canvas>
</li>
<li class="square"><div id="info">blur</div>
<canvas id="blur" style="display: none; "></canvas>
</li>
<li class="square"><div id="info" class="square">sobel</div>
<canvas id="sobel" style="display: none; "></canvas>
</li>
<li class="square"><div id="info">reverse</div>
<canvas id="reverse" style="display: none; "></canvas>
</li>
<li class="square"><div id="info" class="square">boostred</div>
<canvas id="boostred" style="display: none; "></canvas>
</li>
<li class="square"><div id="info">boostgreen</div>
<canvas id="boostgreen" style="display: none; "></canvas>
</li>
<li class="square"><div id="info">boostblue</div>
<canvas id="boostblue" style="display: none; "></canvas>
</li>
<li class="square"><div id="info">boostall</div>
<canvas id="boostall" style="display: none; "></canvas>
</li>
<li class="square"><div id="info">necofilter</div>
<canvas id="kuroneco" style="display: none; "></canvas>
</li>
</ul>
</figure>
</div>
<div id="button" class="clear"><button onClick="execute()">Filtering the image</button></div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="upload.js"></script>
<script type="text/javascript" src="filter.js"></script>
<script type="text/javascript" src="exec.js"></script>
<script type="text/javascript" src="filedrag.js"></script>
<script type="text/javascript" src="fb.js"></script>
</body>
</html>