1
<!-- 图片上传弹出层 边框背景 模板 -->
2 <script id=
"uploadTemplate" type=
"text/x-jQuery-tmpl">
3 <div class=
"Dialog clearfix" style=
" margin-top:0px; background:#fff; border:0px solid red; height:500px;">
4 <div class=
"DialogTop clearfix" style=
"height:75px;">
5 <div class=
"DialogTopBottomLine"></div>
7 <li><a href=
"javascript:void(0)" id=
"collectToolTab">收纳工具
</a></li>
8 <li><a href=
"javascript:void(0)" id=
"copyLinkTab">粘贴网址抓取
</a></li>
9 <li><a href=
"javascript:void(0)" id=
"uploadTab">本地上传图片
</a></li>
12 <div id=
"holder" class=
"clearfix"></div>
18 <script id=
"uploadDialogTemplate" type=
"text/x-jQuery-tmpl">
19 <div class=
"Dialog_left float_l">
20 <div class=
"Dialog_pic" id=
"uploadFileControlHolder">
22 <div class=
"Dialog_description">
23 <textarea id=
"comment" rows=
"3" cols=
"80" class=
"Rounded" style=
"width:643px; height:70px;"></textarea>
24 {{tmpl
"#publishTemplate"}}
25 <input type=
"button" value=
" " id=
"uploadBtn" class=
"DialogRelease" onclick=
"addPicture()" /><span class=
"resultMessage"></span>
28 <div class=
"Dialog_right float_r">
29 <h1 style=
"margin-top:0px;">选择盒子:
</h1>
30 <div id=
"albumList" style=
"position: relative" data-album-id=
"${albums[0].id}" class=
"albumList Rounded textOver" >${albums[
0].name}
</div>
31 <div id=
"nameListHolder"></div>
32 <div id=
"tagPanelDialog" class=
"ConmmonLabel"></div>
36 <script id=
"publishTemplate" type=
"text/x-jQuery-tmpl">
37 <div style=
"height:15px; width:100%;">
39 <input type=
"checkbox" class=
"syncChkbox" data-party=
"${$value}"/>
40 {{if $value ==
1}}
<!-- sina -->
42 {{else $value ==
2}}
<!-- QQ -->
44 {{else $value ==
3}}
<!-- QQ weibo -->
51 <script id=
"collectToolTemplate" type=
"text/x-jQuery-tmpl">
52 <div class=
"collectGjBox">
53 <table width=
"884" border=
"0" cellspacing=
"5" cellpadding=
"5">
55 <td width=
"262" height=
"110"> </td>
56 <td width=
"305"> </td>
57 <td width=
"267" rowspan=
"2"><img src=
"/img/collectBigJt.jpg" width=
"220" height=
"156" /></td>
60 <td height=
"82"> </td>
61 <td><a href='javascript:void((function(){var d=document,e=d.createElement(
"script");e.setAttribute(
"charset",
"UTF-8");e.setAttribute(
"src",
"http://${host}/scripts/collectTool.js?"+Math.floor(new Date/
1E7));d.body.appendChild(e)})());'
><img alt=
"盒子工具" src=
"/img/collectBigBtn.jpg" width=
"305" height=
"72" /></a></td>
64 <td colspan=
"3" align=
"center">
65 <h1>拖拽【
<span class=
"ColorAacd60">分享到木头盒子
</span>】至浏览器收藏栏
</h1>
66 <h3 class=
"ColorC1 hide">(没看到浏览器收藏栏?快捷键 Ctrl+Shift+B 展开)
</h3>
67 <h2 class=
"ColorAacd60">添加后,可直接点击盒子工具抓取想收纳的图片哦!
</h2></td>
70 <span class=
"xq"><a href=
"/Aboutus/Explain.aspx" target=_blank
>查看详情
></a></span>
75 <script id=
"albumNamefileTemplate" type=
"text/x-jQuery-tmpl">
76 <div id=
"fileUploadControlMessage" class=
"error"></div>
77 <span class=
"FileUploadControl">
78 <form id=
"fileUploadForm" action=
"/Images/FileUpload.ashx" method=
"post" enctype=
"multipart/form-data">
79 <input type=
"file" name=
"fileUploadControl" value=
"" id=
"fileUploadControl" multiple
/>
85 <script id=
"albumNameDialogWebUrlTemplate" type=
"text/x-jQuery-tmpl">
86 <div class=
"DialogWebUrl">
87 <span>拷贝完整的网址,我们将帮你保存网页的图片和地址。
</span>
88 <input type=
"text" class=
"WebUrl" />
89 <input type=
"button" class=
"DialogWebSure" />
93 <!-- 图片上传 复制网址之后图片列表模板 -->
94 <script id=
"externalPageImageTemplate" type=
"text/x-jQuery-tmpl">
95 <div style=
"width:595px; text-align:left;">
96 <table width=
"595" border=
"0" cellspacing=
"5" cellpadding=
"0">
98 <td><div style=
"width:45px;">来源:
</div></td>
99 <td><span id=
"title">${title}
</span></td>
102 <td><div style=
"width:45px;">链接:
</div></td>
103 <td><a id=
"source" href=
"${url}" class=
"source_url textOver">${url}
</a></td>
109 <div style=
"" class=
"webUrlBox">
111 {{if list.length
> 0}}
114 <li class=
"linkImage">
115 <img src=
"${src}" alt=
"${alt}"/>
120 <div><br/><br/><br/>对不起,本页没有合适的图片
</div>
125 <script id=
"albumNameListTemplate" type=
"text/x-jQuery-tmpl">
126 <div id=
"albumNameList" class=
"albumNameList">
127 <div id=
"list" class=
"list">
129 {{tmpl(albums)
"#albumNameItemTemplate"}}
132 <div class=
"createAlbumBox">
134 <li><input type=
"text" id=
"newAlbum" class=
"newAlbumBox"/> </li>
135 <li><input type=
"button" value=
" " id=
"createAlbumBtn" class=
"createAlbumBtn"/></li>
141 <script id=
"albumNameItemTemplate" type=
"text/x-jQuery-tmpl">
142 <li data-album-id=
"${id}" class=
"albumName textOver">${name}
</li>
146 <script id=
"collectTemplate" type=
"text/x-jQuery-tmpl">
147 <div class=
"Dialog clearfix" style=
" margin-top:0px; background:#fff; border:0px solid red;">
148 <h1 class=
"clearfix ColorAacd60" style=
"font-size:24px; height:55px; line-height:55px; font-family:'微软雅黑'; font-weight:300;">木头盒子抓取工具
</h1>
149 <div class=
"Dialog_left float_l">
151 <div class=
"error">${error}
</div>
153 <table width=
"595" border=
"0" cellspacing=
"5" cellpadding=
"0">
155 <td><div style=
"width:45px;">来源:
</div></td>
156 <td><span id=
"title">${originalTitle}
</span></td>
159 <td><div style=
"width:45px;">链接:
</div></td>
160 <td><a id=
"source" href=
"${originalUrl}" class=
"source_url textOver">${originalUrl}
</a></td>
163 <div class=
"Dialog_pic" id=
"uploadFileControlHolder">
164 <div id=
"statusHolder"></div>
165 <img id=
"preview" width=
"800" height=
"600" src=
"${url}" />
167 <div class=
"Dialog_description">
168 <textarea id=
"comment" rows=
"3" cols=
"80" class=
"Rounded"></textarea>
169 {{tmpl
"#publishTemplate"}}
170 <input type=
"button" value=
" " id=
"uploadBtn" class=
"DialogRelease" onclick=
"addPicture()" /><span class=
"resultMessage"></span>
174 <div class=
"Dialog_right float_r">
175 <h1 style=
"margin-top:0px;">选择盒子:
</h1>
176 <div id=
"albumList" style=
"position: relative" data-album-id=
"${albums[0].id}" class=
"albumList Rounded textOver" >${albums[
0].name}
</div> <div id=
"nameListHolder"></div>
177 <div id=
"tagPanel" class=
"ConmmonLabel">
183 <script id=
"imagePreviewTemplate" type=
"text/x-jQuery-tmpl">
184 <img id=
"preview" width=
"800" height=
"600" />
188 <script id=
"uploadSuccessTemplate" type=
"text/x-jQuery-tmpl">
190 <div>查看
<a href=
"/picture/${pid}" class=
"ColorAacd60" target=
"_blank">我刚分享的
</a> 或去
<a href=
"/dashboard" class=
"ColorAacd60" target=
"_blank">我的房子
</a></div>