This repository was archived by the owner on May 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmergeCSS.html
More file actions
197 lines (197 loc) · 7.89 KB
/
Copy pathmergeCSS.html
File metadata and controls
197 lines (197 loc) · 7.89 KB
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><html> <head> <title>mergeCSS v1.9.20130116 | © 2009~2013 by GhostZhang (CSSForest.org)</title> <link href="sample.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="lib/jquery/jquery-1.3.2.min.js"></script> <script type="application/x-shockwave-flash" src="lib/air/applicationupdater_ui.swf"></script> <script type="text/javascript" src="lib/air/AIRAliases.js"></script> <script type="text/javascript" src="lib/air/AIRMenuBuilder.js"></script> <script type="text/javascript" src="lib/air/main.js"></script> <script type="text/javascript" src="lib/air/batch.js"></script> </head> <body onDragOver="doOver(event);" onDrop="doDrop(event);"> <div id="main_div"> <fieldset> <legend> 当前处理模式 </legend> <div id="mode_now"> 单文件(压缩单个文件,包含内链文件) </div> </fieldset> <fieldset> <legend> 操作 </legend> <div id="mode_ckbox_set"> <label> <input type="checkbox" id="ckbox_set_import" />保留import </label> <label> <input type="checkbox" id="ckbox_set_cr" />压缩为一行 </label> <label> <input type="checkbox" id="ckbox_set_se" />输出标记 </label> <label id="set_qsave_div"> <input type="checkbox" id="ckbox_set_qsave" />快速保存 </label> <label> <input type="checkbox" id="ckbox_set_semicolon" />去除最后的分号 </label> </div> <div> <label id="set_import_path"> <input type="checkbox" id="ckbox_set_import_path" />转换路径 </label> </div> <div id="set_import_path_div"> 将路径中的:<input type="text" id="input_set_import_path" value="" /> 替换为:<input type="text" id="input_set_import_path2" value="" /> <label title="转换斜杠"> <input type="checkbox" id="ckbox_set_import_path_sg" />"/" </label><button id="save_set_import_path">确定 </button> </div> <hr/> <label> <input type="checkbox" id="ckbox_picpath_doit" />图片版本控制 </label> <div id="set_pic_path_div"> <div> <label> <input type="checkbox" id="ckbox_picpath_delver" />删除版本控制 </label> </div> <label> <input type="radio" name="radio_picpath" id="radio_picpath_all" />修改所有图片 </label> <label> <input type="radio" name="radio_picpath" id="radio_picpath_list" />只修改下列图片(样式中的路径,以分号分隔): </label> <textarea rows="5" cols="60" id="textarea_picpath_list"></textarea> <div id="set_pic_op_div"> <button id="save_set_pic_path">确定 </button> <button id="new_pic_vet">更新版本号 </button> </div> </div> <hr/> <div id="set_file_path_div"> 文件名: <input type="text" id="pre_new_css_name" value="原文件名+后缀.css" /> <button id="new_css_name">刷新 </button> <div> <div id="set_dir1"> 保存到: <label> <input type="radio" id="radio_desktop_path" name="radio_path" />桌面 </label> <label> <input type="radio" id="radio_dir_path" name="radio_path" />首个文件的目录 </label> <label> <input type="radio" id="radio_other_path" name="radio_path" />其它目录 </label> <div id="set_other_path_div"> <input type="text" id="other_path" /> <button id="set_other_path">更改</button> </div> </div> <div id="set_dir2"> 保存到:各文件原目录 </div> </div> <hr/> </div><input type="button" id="input_save" value="保存样式文件" /><input type="button" id="input_reset" value="清空文件" /><input type="button" id="input_batch_file" value="打开文件列表" /> <div style="float:right;"> <input type="button" id="input_set" value="自定义设置" /><input type="button" id="input_save_list" onclick="doSaveList();" value="保存为文件列表" /> </div> </fieldset> <fieldset id="mode_list_file"> <legend> 已添加文件 </legend> <div id="div_list_file"> </div> </fieldset> <fieldset id="mode_list_pro"> <legend> 样式预览 <button id="reset_pro" onclick="mergeFile();"> 刷新预览 </button> </legend> <div id="file_content"> </div> </fieldset> <fieldset> <legend> 信息 </legend> <div id="print_info"> </div> <p style="color:#D94A0B;"> 注意: <br/> 1.文件中如果有中文,请确认是否为样式文件<strong>申明了正确的编码</strong>,否则可能出现乱码! <br/> 2.背景图片路径请使用<strong>绝对路径</strong>(以 “http” 或 “/” 开头)! </p> </fieldset> <div id="floatBoxBg"> </div> <div id="pop_set" class="floatBox" style="display:none;"> <div class="title"> <h4>自定义设置</h4> </div> <div class="content"> <div> 输入编码: <label> <input type="radio" name="radio_charset_in" id="set_in_charset_utf8" checked="checked" />UTF8 </label> <label> <input type="radio" name="radio_charset_in" id="set_in_charset_gb2312" />GB2312 </label> <br/> 输出编码: <label> <input type="radio" name="radio_charset_out" id="set_out_charset_utf8" checked="checked" />UTF8 </label> <label> <input type="radio" name="radio_charset_out" id="set_out_charset_gb2312" />GB2312 </label> <br/> 后缀:<input type="text" id="set_hzname" /> <label> <input type="checkbox" id="set_time" />使用时间戳 </label> <label> <input type="checkbox" id="set_file_name" />原文件名保存 </label> <br/> 文件完整性验证(头部):<input type="text" id="set_cssStart" /> <br/> 文件完整性验证(底部):<input type="text" id="set_cssEnd" /> </div> <div> <button id="pop_set_ok">确定</button> <!--<button id="pop_set_save">保存为默认</button>--> <button onclick='$("#floatBoxBg").hide();$("#pop_set").hide();'>取消</button> </div> </div> </div> <div id="pop_save" class="floatBox" style="display:none;"> <div class="title"> <h4>读取文件列表</h4> </div> <div class="content"> <div> <button id="pop_save_batch_no">以多文件模式打开列表</button> <button id="pop_save_batch_yes">以批处理模式打开列表</button> <button onclick='$("#floatBoxBg").hide();$("#pop_save").hide();'>取消</button> </div> </div> </div> </div> <div id="hint_div"> <p>初始化成功,请重新启动mergeCSS。</p> </div> <script src="lib/air/UIUpdater.js" type="text/javascript" charset="utf-8"></script> </body></html>