-
Notifications
You must be signed in to change notification settings - Fork 557
/
index_zh.html
221 lines (220 loc) · 11.1 KB
/
index_zh.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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
<!DOCTYPE html>
<html lang="en" xmlns:wb=“http://open.weibo.com/wb”>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="/images/favicon.ico">
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon.png">
<link rel="icon" type="image/png" href="https://paintschainer-cdn.preferred.tech/images/paintschainer-64x64.png" sizes="64x64">
<link rel="manifest" href="/manifest.json">
<link rel="mask-icon" href="/images/safari-pinned-tab.svg" color="#c90000">
<meta name="apple-mobile-web-app-title" content="PaintsChainer">
<meta name="application-name" content="PaintsChainer">
<meta name="theme-color" content="#ffffff">
<title>PaintsChainer -线稿自动上色服务-</title>
<!-- Canvas toBlob polyfill -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/javascript-canvas-to-blob/3.6.0/js/canvas-to-blob.min.js"></script>
<!-- jQuery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<!-- jQuery Cookie -->
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js"></script>
<!-- jQuery UI -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/themes/smoothness/jquery-ui.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script>
<!-- wColorPicker -->
<link rel="stylesheet" href="wPaint/lib/wColorPicker.min.css">
<script src="wPaint/lib/paletteGenerator.js"></script>
<script src="wPaint/lib/wColorPicker.min.js?ver3"></script>
<!-- wPaint -->
<link rel="stylesheet" href="wPaint/wPaint.min.css">
<script src="wPaint/wPaint.min.js"></script>
<script src="wPaint/plugins/main/src/wPaint.menu.main.js"></script>
<!-- bootstrap -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script src="//tjs.sjs.sinajs.cn/open/api/js/wb.js" type="text/javascript" charset="utf-8"></script>
<!-- font-awesome -->
<link rel="stylesheet" href="css/font-awesome.css">
<!-- main -->
<script src="paints_chainer.js?ver0.6"></script>
<!-- fileend -->
<style>
.wColorPicker-palettes-holder { white-space: nowrap; } /* wColorPicker workaround for Firefox */
</style>
<style>
body {
margin-bottom: 36px;
}
.footer {
position: fixed;
bottom: 0;
width: 100%;
/* Set the fixed height of the footer here */
height: 36px;
background-color: #f5f5f5;
font-size: 85%;
}
.container .text-muted {
margin: 8px 0;
}
.footer > .container {
padding-right: 15px;
padding-left: 15px;
}
.footer a {
color: #727272;
}
</style>
</head>
<body>
<nav class="navbar navbar-default navbar-static-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span>
</button>
<span class="navbar-brand"><img src="https://paintschainer-cdn.preferred.tech/images/paintschainer-64x64.png" width="24" style="display:inline" /> PaintsChainer</span>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="active"><a>Home</a></li>
<li><a href="howto_zh.html" >How to</a></li>
<li><a href="//paintschainer.preferred.tech/downloads/" target="_blank">Downloads</a></li>
<li><a href="//github.com/pfnet/PaintsChainer" target="_blank">GitHub</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<li>
<a href="https://twitter.com/paintschainer" target="_blank" style="padding: 6px 4px;">
<span class="fa-stack fa-lg" style="color:#55acee;">
<i class="fa fa-square-o fa-stack-2x"></i>
<i class="fa fa-twitter fa-stack-1x"></i>
</span>
</a>
</li>
<li>
<a href="https://facebook.com/PaintsChainer" target="_blank" style="padding: 6px 4px;">
<span class="fa-stack fa-lg" style="color:#3b5998;">
<i class="fa fa-square-o fa-stack-2x"></i>
<i class="fa fa-facebook fa-stack-1x"></i>
</span>
</a>
</li>
</ul>
</div>
</div>
</nav>
<div class="container">
<span class="label label label-info">欢迎来到自动上色服务!</span>
<div class="well" style="background-color: aliceblue">
<input id="blur_k" type="hidden" />
<div class="row">
<div class="col-md-6" style="margin-bottom: 10px;">
<i class="glyphicon glyphicon-picture"></i> 选择线稿: <input id="load_line_file" type="file" style="display: inline;">
</div>
<div class="col-md-6">
<button id="submit" class="btn btn-large btn-primary" disabled><i class="icon-edit icon-white"></i> 上色</button>
<span id="painting_status" style="display:none"></span>
</div>
</div>
</div>
<div class="row" style="margin-top:42px;">
<div class="col-xs-11 col-sm-6">
<div id="img_pane" style="display:none">
<div id="wPaint" style="position:relative; background-color:rgba(0,0,255,0); border:solid 1px">
<img id="background" style="max-width:100%" src="">
</div>
</div>
</div>
<div class="col-xs-1 visible-xs-block"></div><!-- for dragging on narrow screen(smartphones)-->
<div class="col-xs-11 col-sm-6">
<img id="output" style="display:none; max-width:100%; border:solid 1px black">
</div>
<div class="col-xs-1 visible-xs-block"></div>
</div>
<div class="row">
<div class="col-md-6">
<span class="label label-success">使用方法</span>
<div class="well well-small" >
<ol>
<li>请选择线稿</li>
<li>选择线稿后会立即自动上色</li>
<li>可以从调色板上选择颜色给线稿添加上色的提示颜色</li>
<li>重新上色时请按“上色”键</li>
</ol>
<span style="color:gray">※不支持gif以及含有透明部分的png文件</span>
</div>
<div class="well well-small" style="background-color:#f7fafa" >
<p> 提供:<a href="https://www.preferred-networks.jp/" target="_blank" style="color:#0060de;font-size:120%"><img src="//paintschainer-cdn.preferred.tech/images/PFN_logo.png" width="24"> Preferred Networks</a></p>
</div>
<div class="well well-small" style="background-color:#f7fafa" >
<p> 协助:
<a href="https://www.sakura.ad.jp/koukaryoku/" target="_blank" style="text-decoration:none;"><img src="//paintschainer-cdn.preferred.tech/images/koukaryoku-64.png" height="32" style="margin:-1em 0">高火力コンピューティング</a>
<a href="http://chainer.org/" target="_blank" style="text-decoration:none;"><img src="//paintschainer-cdn.preferred.tech/images/chainer-64.png" height="32" style="margin:-1em 0"> Chainer</a>
</p>
</div>
</div>
<div class="col-md-6">
<span class="label label label-info">微博话题</span>
<div style="border:solid silver 1px;border-radius: 4px;">
<wb:topic column="n" border="n" width="350" height="500" tags="paintschainer" color="333333%2Cffffff%2C0078b6%2Ccccccc%2C333333%2Cfafeff%2C0078b6%2Ccccccc%2Ccccccc%2Ce9f4fb" language="zh_cn" version="base" footbar="y" url="%23" filter="n" ></wb:topic>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="container">
<div class="col-md-offset-9 col-md-1 col-xs-4"><p class="text-muted"><a href="//paintschainer-cdn.preferred.tech/terms_ja.html" target="_blank">使用规则</a></p></div>
<div class="col-md-2 col-xs-6"><p class="text-muted"><a href="//paintschainer-cdn.preferred.tech/privacy_ja.html" target="_blank">隐私权政策</a></p></div>
</div>
</footer>
<div class="modal fade" id="info-dialog" tabindex="-1" role="dialog" aria-labelledby="infoDialogLabel">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="infoDialogLabel"><img src="//paintschainer-cdn.preferred.tech/images/paintschainer-64x64.png" width="24" style="display:inline" /> Information</h4>
</div>
<div class="modal-body">
<p><b>欢迎来到PaintsChainer!</b></p>
<p>利用PaintsChainer时,请您务必认可以下利用规则以及隐私权政策。</p>
<p>使用前必读。</p>
<ul>
<li><a href="//paintschainer-cdn.preferred.tech/terms_ja.html" target="_blank">利用规则</a></li>
<li><a href="//paintschainer-cdn.preferred.tech/privacy_ja.html" target="_blank">隐私权政策</a></li>
</ul>
<p>2017年3月8日</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary" data-dismiss="modal" id="info-button">同意</button>
</div>
</div>
</div>
</div>
<script>
(function() {
if (location.hostname === 'paintschainer.preferred.tech') {
if ($.cookie('info1') == null) {
$('#info-dialog').modal('show');
}
$('#info-button').click(function(e) {
$.cookie('info1', true, {expires: 365});
});
}
})();
</script>
<script>
if (location.hostname === 'paintschainer.preferred.tech') {
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-91036510-1', 'auto');
ga('send', 'pageview');
}
</script>
</body>
</html>