<%@page contentType="text/html; charset=UTF-8"%>
<%
    String localPath = request.getContextPath();
%>
<style>
<!--
.app_lable{
 font-size:15px;
}
.app_field{
 margin-top:10px;
}
.lable_2{
 margin-left:40px;
}
textarea{
 width:485px;
 *width:470px;
 height:100px;
}
.textarea{
 float:left;
}
-->
</style>
<div id="app_content_main" style="height: 1111px">
	<div id="app_content_row">
	    <form id="app_content_form">
	    <input id="APP_ID" name="FIELD_APP_ID" type="hidden"/>
		<div style="border-bottom:1px solid #ccc;height:25px;margin-top:10px;">
			<span style="font-size:16px;font-weight:bold;">基本设置</span>
		</div>
		<div class="app_field">
			<span class="app_lable">应用名称：</span> <input id="NAME" name="FIELD_NAME" type="text" validate="required,maxlength" maxlengthvalue="20"/>
			<span class="app_lable lable_2">英文代码：</span> <input id="APP_CODE" name="FIELD_APP_CODE" type="text" validate="required,maxlength" maxlengthvalue="50"/>
		</div>
		<div class="app_field">
			<span class="app_lable">开发团队：</span> <input id="DEVELOPER" name="FIELD_DEVELOPER" type="text" validate="maxlength" maxlengthvalue="50"/>
			<span class="app_lable lable_2">应用版本：</span> <input id="VERSION" name="FIELD_VERSION" type="text"/>
		</div>
		<div class="app_field">
			<span class="app_lable">所属分类：</span> <select id="CATEGORY" name="FIELD_CATEGORY" validate="required">
				<option value="" selected fx="">请选择</option>
				<option value=1>教学类</option>
				<option value=2>管理类</option>
				<option value=3>服务类</option>
				<option value=4>娱乐类</option>
				<option value=5>默认应用</option>
			</select> 
			<a id="apptypemanage" >管理分类</a>
		</div>
		<div class="app_field">
			<span class="app_lable">开发时间：</span> <input id="PUB_DATE" name="FIELD_PUB_DATE" type="text" t="date" format="yyyy-MM-dd" readonly="readonly"/>
			<span class="app_lable lable_2">开放时间：</span> <input id="OPEN_TIME" name="FIELD_OPEN_TIME" type="text" t="date" format="yyyy-MM-dd" readonly="readonly" />
		</div>
		<div class="app_field">
			<span class="app_lable">应用链接：</span> <input style="width:405px;*width:390px;" id="LINK" name="FIELD_LINK" type="text"/>
		</div>
		<div class="app_field">
			<span class="app_lable" >应用描述：</span>
			<div>
			<textarea id="SUMMARY" name="FIELD_SUMMARY"></textarea>
			</div>
		</div>
		<div class="app_field">
			<span class="app_lable">应用特性：</span>
			<div>
			<textarea id="FEATURE" name="FIELD_FEATURE"></textarea>
			</div>
		</div>
		<div>
			<div style="border-bottom:1px solid #ccc;height:25px;margin-top:10px;">
				<span style="font-size:16px;font-weight:bold;">功能设置</span>
			</div>
			<div class="app_field">
			  <span class="app_lable">是否弹出：</span> 
			  <input id="IS_POPUP" name="FIELD_IS_POPUP" style="border:none;" type="checkbox" single="true" value="1"> <span>是</span> 
			  <input name="FIELD_IS_POPUP" style="border:none;" type="checkbox" value="0" single="true" checked> <span>否</span>
			</div>
			<div class="app_field">
			  <span class="app_lable">需要头尾：</span> 
			  <input id="NEED_HEAD" name="FIELD_NEED_HEAD" style="border:none;" type="checkbox" value="1" single="true"> <span>是</span> 
			  <input name="FIELD_NEED_HEAD" style="border:none;" type="checkbox" value="0" checked single="true" > <span>否</span>
			</div>
			<div class="app_field">
			  <span class="app_lable">默认安装：</span> 
			  <input id="IS_DEFAULT" name="FIELD_IS_DEFAULT" style="border:none;" type="checkbox" value="1" single="true"> <span>是</span> 
			  <input name="FIELD_IS_DEFAULT" style="border:none;" type="checkbox" value="0" checked single="true"> <span>否</span>
			</div>
		</div>
		<div id="app_content_image" style="margin-top:10px;">
			<span style="font-size:16px;font-weight:bold;">上传图片：</span>
			<div>
				<div class="app_field">
			       <span class="app_lable">左侧菜单图</span> 
			       <span>
			           <input class="xhebtn input_btn" onclick=$(this).next().click(); type=button value=上传> 
				       <input name="userFile" id="userFile" style="cursor: hand;display:none;" type=file>
				   </span>
				   <span style="padding-top: 0px; display: none">
				       <img id=img_pic1 style="height: 26px"> 
				   </span>
				</div>
				<div class="app_field">
			       <span class="app_lable">应用中心图</span> 
			       <span>
			         <input class="xhebtn input_btn" onclick=$(this).next().click(); type=button value=上传> 
			         <input name="userFile1" id="userFile1" style="cursor: hand;display:none;"  type=file>
					</span>
					<span style="padding-top: 0px; display: none">
					   <img id=img_pic2 style="height: 26px">
					</span>
				</div>
			</div>
		</div>
		<div>
			<div style="border-bottom:1px solid #ccc;height:25px;margin-top:10px;">
				<span style="font-size:16px;font-weight:bold;">权限设置</span>
			</div>
			<div class="app_field">
			  <span class="app_lable">是否需要权限：</span>
		      <input id="NEED_RIGHT" name="FIELD_NEED_RIGHT" id="clickyes" style="border:none;" type="radio" value="1"/> <span class=acd_input_span>是</span> 
			  <input name="FIELD_NEED_RIGHT" id="clickno" style="border:none;" type="radio"  value="0" checked/> <span class=acd_input_span>否</span>
			</div>
			<div id="app_content_resource" class="app_field">
			  <span class="app_lable">权限资源id：</span>
			  <input id="RES_RESOURCE_ID" name="FIELD_RES_RESOURCE_ID" type="text" style="width:405px;*width:360px;"/>
			</div>
		</div>
		<div>
			<div style="border-bottom:1px solid #ccc;height:25px;margin-top:10px;">
				<span style="font-size:16px;font-weight:bold;">认证设置</span>
			</div>
			<div class="app_field">
			<span class="app_lable">验证方式：</span> 
			<input id="VERIFY_TYPE" name="FIELD_VERIFY_TYPE" id="click1" style="border:none;" type="radio" checked value=""> <span>无验证</span>
            <input name="FIELD_VERIFY_TYPE" id="click2" style="border:none;" type="radio" value="1"> <span>协议</span>
            <input name="FIELD_VERIFY_TYPE" id="click3" style="border:none;" type="radio" value="0"> <span>模拟登录</span>
            </div>
		</div>
		<div class="app_field">
			<span class="app_lable">
			  <input class="xhebtn input_btn" id="do_cancel" type="button" value="放弃"/>
			  <input class="xhebtn input_btn" id="do_ok" type="button" value="保存"/>
			</span>
		</div>
		</form>
	</div>
</div>