You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jeecg/WebRoot/webpage/system/user/changestyle.jsp

41 lines
1.1 KiB

<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
<head>
<title>修改首页样式</title>
<t:base type="jquery,easyui,tools"></t:base>
</head>
<body style="overflow-y: hidden" scroll="no">
<t:formvalid formid="formobj" refresh="false" dialog="true" action="userController.do?savestyle" layout="table">
<table style="width: 550px" cellpadding="0" cellspacing="1" class="formtable">
<tbody>
<tr>
<td class="value">
<input type="radio" value="default" name="indexStyle" />
<span>经典风格</span>
</td>
</tr>
<tr>
<td class="value">
<input type="radio" value="bootstrap" name="indexStyle" />
<span>BootStrap风格</span>
</td>
</tr>
</tbody>
</table>
</t:formvalid>
</body>
<script type="text/javascript">
$(function(){
var val = "${indexStyle}";
$("input[name='indexStyle']").each(function(){
if($(this).val()==val){
$(this).attr("checked",true);
return false;
}
});
});
</script>
</html>