小胡 77979b6ed5
更新至V2.3.2版本,离线升级的用户需要执行升级程序 (#278)
* 优化百度编辑器,修复编辑器插入的图片不能预览问题

* 处理系统异常时登录无反应问题

* 更新至V2.3.1版本,离线升级的用户需要执行升级程序
2025-01-16 21:17:09 +08:00

89 lines
4.4 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!--{template common/header_simple_start}-->
<link href="static/css/common.css?{VERHASH}" rel="stylesheet" media="all">
<link href="static/select2/select2.css?{VERHASH}" rel="stylesheet" media="all">
<link href="static/select2/select2-bootstrap.css?{VERHASH}" rel="stylesheet" media="all">
<link rel="stylesheet" href="static/switchery/switchery.min.css">
<link rel="stylesheet" href="static/css/checkbox.css">
<link href="static/css/app_manage.css?{VERHASH}" rel="stylesheet" media="all">
<script type="text/javascript" src="static/js/jquery.leftDrager.js?{VERHASH}"></script>
<script src="admin/scripts/admin.js?{VERHASH}"></script>
<script type="text/javascript" src="static/js/header.js"></script>
<!--{template common/header_simple_end}-->
<!--{template common/commer_header}-->
<div class="bs-container clearfix" style="border-top:1px solid #FFF">
<div class="bs-left-container clearfix">
<!--{template left}-->
</div>
<div class="left-drager">
<div class="left-drager-op">
<div class="left-drager-sub"></div>
</div>
</div>
<div class="bs-main-container">
<div class="main-header clearfix">
<h4 class="main-header-title navbar-left"><a href="{BASESCRIPT}?mod=appmarket">返回</a>&nbsp;&nbsp;|&nbsp;&nbsp;{lang import_type_app}</h4>
<div class="button_add_content">
<a href="{BASESCRIPT}?mod=appmarket&op=edit&do=add" id="button_add1" title="{lang add_app}" class="hide">+</a>
<a href="{BASESCRIPT}?mod=appmarket&op=cp&do=import" id="button_add2" class="hide" title="{lang import_type_app}" style="font-size:20px ;"><span class="glyphicon glyphicon-download-alt"></span></a>
<a href="javascript:;" class="" id="button_add">+</a>
</div>
</div>
<div class="main-content clearfix" style="padding:25px;border-top:1px solid #FFF">
<form id="importform" name="importform" class="form-horizontal form-horizontal-left" action="{BASESCRIPT}?mod=appmarket&op=cp&do=import" method="post" enctype="multipart/form-data">
<input type="hidden" name="importsubmit" value="true" />
<input type="hidden" name="formhash" value="{FORMHASH}" />
<dl>
<dt>{lang choose_import_way}</dt>
<dd class="clearfix">
<label class="radio radio-inline"><input type="radio" name="importtype" value="file" checked="checked" onclick="document.getElementById('importfile').style.display='';document.getElementById('importtxt').style.display='none';" />{lang uploading_files}</label>
<label class="radio radio-inline"><input type="radio" name="importtype" value="txt" onclick="document.getElementById('importfile').style.display='none';document.getElementById('importtxt').style.display='';" />{lang import_paste_text}</label>
</dd>
</dl>
<dl id="importfile">
<dt>{lang import_upload}</dt>
<dd class="clearfix"><input type="file" class="form-control" name="importfile" style="padding:5px;" /></dd>
</dl>
<dl id="importtxt" style="display:none">
<dt>{lang import_paste_data}</dt>
<dd class="clearfix"><textarea type="textarea" class="form-control" style="width:80%;" name="importtxt" rows="5"></textarea></dd>
</dl>
<dl>
<dt>忽略版本限制</dt>
<dd class="clearfix"><input type="checkbox" class="js-switch" name="ignoreversion"/> </dd>
</dl>
<input type="submit" class="btn btn-primary" value="{lang submit}" style="padding:6px 25px" />
</form>
</div>
</div>
</div>
<script type="text/javascript">
jQuery('.left-drager').leftDrager_layout();
jQuery('#button_add').click(function(){
if(jQuery("#button_add1").hasClass('hide')){
jQuery("#button_add").html("×");
jQuery("#button_add1").removeClass("hide");
jQuery("#button_add2").removeClass("hide");
jQuery("#button_add1").stop().animate({top:"-124px"},500);
jQuery("#button_add2").stop().animate({top:"-62px"},500);
}else{
jQuery("#button_add").html("");
jQuery("#button_add1").stop().animate({top:"0px"},500);
jQuery("#button_add2").stop().animate({top:"0px"},500);
setTimeout(function(){
jQuery("#button_add1").addClass("hide");
jQuery("#button_add2").addClass("hide");
},500)
}
});
//开关样式
jQuery.getScript('static/switchery/switchery.min.js',function(){
var elems = Array.prototype.slice.call(document.querySelectorAll('.js-switch'));
elems.forEach(function (html) {
var switchery = new Switchery(html);
});
});
</script>
<script src="static/bootstrap/js/bootstrap.min.js?{VERHASH}"></script>
<!--{template common/footer_simple}-->