<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>main_entiity</title>
<script src="./main_entity.js"></script>
<script>
	var request_config = {
		title: '实体数据类型服务测试',
		datatype: [
		        { "text" : "appinfo", "value" : "appinfo" },
				{ "text" : "catagoryinfo", "value" : "catagoryinfo" },
				{ "text" : "document", "value" : "document" },
				{ "text" : "appcatagorypermission", "value" : "appcatagorypermission" },
				{ "text" : "appcatagoryadmin", "value" : "appcatagoryadmin" },
				{ "text" : "log", "value" : "log" }
		]
	};
	
    $(document).ready(function() {
		data_query();
    });
</script>

<script id="data_query_template" type="text/html">
	<table border="1" width="100%">
    	<tr>
			<td>id:</td>
			<td><input type="text" id="id" style="width:95%"/></td>
		</tr>
    	<tr>
			<td>type:</td>
			<td>
    			<select id="type">
					{{each datatype as type i}}
        				<option value="{{type.value}}">{{type.text}}</option>
    				{{/each}}
    			</select>
    		</td>
		</tr>
    	<tr>
			<td colspan="2">
				<button id="get">get</button>&nbsp;
				<button id="put">put</button>&nbsp;
				<button id="post">post</button>&nbsp;
				<button id="uuid">UUID</button>
			</td>
		</tr>
		<tr>
			<td colspan="2">
				<textarea id="result" style="width:97%;height:600px"/>
			</td>
		</tr>
    </table>
</script>
</head>
<body>
<div style="float: left; width: 720px;">
	<div id="content" style="width: 100%;"></div>
</div>
		
		
</body>
</html>