84 lines
3.7 KiB
HTML
84 lines
3.7 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<title>
|
|
chatofpinus
|
|
</title>
|
|
<link rel="stylesheet" href="bootstrap.min.css" type="text/css" />
|
|
<link rel="stylesheet" href="style.css" type="text/css" />
|
|
<script src="js/lib/jquery-1.8.0.min.js" type="text/javascript">
|
|
</script>
|
|
|
|
<script src="js/lib/build/build.js" type="text/javascript">
|
|
|
|
</script>
|
|
<script type="text/javascript">
|
|
|
|
require('boot');
|
|
</script>
|
|
<script src="js/client.js">
|
|
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="app" class="container">
|
|
<div class="page-header"><h1>调试</h1></div>
|
|
<div class="row">
|
|
<div id="loginError"></div>
|
|
<div class="col-sm-6">
|
|
<form id="form">
|
|
<div class="form-group">
|
|
<label for="uid">uid (chat)</label>
|
|
<input type="text" class="form-control" id="uid" name="uid" placeholder="uid" value="asd">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="rid">rid (chat)</label>
|
|
<input type="text" class="form-control" id="rid" name="rid" placeholder="rid" value="123">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="route">接口</label>
|
|
<input type="text" class="form-control" id="route" name="route" placeholder="接口">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="route">token</label>
|
|
<input type="text" class="form-control" id="token" name="token" placeholder="token">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="route">serverId</label>
|
|
<input type="text" class="form-control" id="serverId" name="serverId" placeholder="serverId">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="params">参数</label>
|
|
<textarea class="form-control" name="params" id="params" cols="30" rows="10"></textarea>
|
|
</div>
|
|
<div class="text-right" aria-label="...">
|
|
<button type="button" id="add" class="btn btn-default btn-l">加入</button>
|
|
<button type="button" id="remove" class="btn btn-default btn-l" style="display: none;">离开</button>
|
|
<button type="button" id="send" class="btn btn-primary btn-l">发送</button>
|
|
</div>
|
|
</form>
|
|
<br /><br />
|
|
<div id="content"></div>
|
|
</div>
|
|
<div class="col-sm-6">
|
|
<form id="form2">
|
|
<div class="form-group">
|
|
<label for="tuisong"">接受推送</label>
|
|
<input type="text" class="form-control" id="tuisong" name="tuisong" placeholder="tuisong">
|
|
</div>
|
|
<div class="text-right" aria-label="...">
|
|
<button type="button" id="confirm" class="btn btn-primary btn-l">确认</button>
|
|
</div>
|
|
</form>
|
|
<br /><br />
|
|
<span id="time"></span>
|
|
<div id="content2"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
|
|
</html> |