103 lines
5.3 KiB
Plaintext
103 lines
5.3 KiB
Plaintext
|
@model Bootstrap.Admin.Models.UserModel
|
||
|
@{
|
||
|
ViewBag.Title = "用户管理";
|
||
|
Layout = "~/Views/Shared/_Default.cshtml";
|
||
|
}
|
||
|
@section Javascript {
|
||
|
<script src="~/scripts/Users.js"></script>
|
||
|
<script src="~/scripts/Terminals.js"></script>
|
||
|
}
|
||
|
@section header {
|
||
|
@Html.Partial("Header", Model.Header)
|
||
|
}
|
||
|
@section navigator {
|
||
|
@Html.Partial("Navigator", Model.Navigator)
|
||
|
}
|
||
|
@section query {
|
||
|
<form class="form-horizontal" role="form">
|
||
|
<div class="form-group terminal-form-group">
|
||
|
<label class="control-label col-lg-1" for="txt_search_name">用户名</label>
|
||
|
<div class="col-lg-4">
|
||
|
<input type="text" class="form-control" id="txt_username" />
|
||
|
</div>
|
||
|
<div class="col-lg-2">
|
||
|
<button type="button" id="btn_query" class="btn btn-primary"><span class="glyphicon glyphicon-search" aria-hidden="true"></span>查询</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
}
|
||
|
@section modal {
|
||
|
<div class="modal-content">
|
||
|
<div class="modal-header terminal-dialog-header">
|
||
|
<button type="button" class="close terminal-close" data-dismiss="modal" aria-hidden="true">×</button>
|
||
|
<h4 class="modal-title" id="myModalLabel">输入口编辑窗口</h4>
|
||
|
</div>
|
||
|
<div class="modal-body">
|
||
|
<form class="form-horizontal terminal-form-group" id="dataForm" name="dataForm" role="form">
|
||
|
<div class="form-group">
|
||
|
<label class="control-label col-sm-2" for="terminalName">输入口名称</label>
|
||
|
<div class="col-sm-4">
|
||
|
<input type="text" class="form-control" id="terminalName" name="terminalName" size="20" maxlength="50" />
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label class="control-label col-sm-2" for="clientIP">工控机IP</label>
|
||
|
<div class="col-sm-4">
|
||
|
<input type="text" class="form-control" id="clientIP" name="clientIP" size="20" maxlength="15" />
|
||
|
</div>
|
||
|
<label class="control-label col-sm-2" for="clientPort">工控机Port</label>
|
||
|
<div class="col-sm-4">
|
||
|
<input type="text" class="form-control" id="clientPort" name="clientPort" size="20" maxlength="5" />
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label class="control-label col-sm-2" for="serverIP">服务器IP</label>
|
||
|
<div class="col-sm-4">
|
||
|
<input type="text" class="form-control" id="serverIP" name="serverIP" size="20" maxlength="15" />
|
||
|
</div>
|
||
|
<label class="control-label col-sm-2" for="serverPort">服务器Port</label>
|
||
|
<div class="col-sm-4">
|
||
|
<input type="text" class="form-control" id="serverPort" name="serverPort" size="20" maxlength="5" />
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label class="control-label col-sm-2" for="deviceIP">比对设备IP</label>
|
||
|
<div class="col-sm-4">
|
||
|
<input type="text" class="form-control" id="deviceIP" name="deviceIP" size="20" maxlength="15" />
|
||
|
</div>
|
||
|
<label class="control-label col-sm-2" for="devicePort">比对设备Port</label>
|
||
|
<div class="col-sm-4">
|
||
|
<input type="text" class="form-control" id="devicePort" name="devicePort" size="20" maxlength="5" />
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label class="control-label col-sm-2" for="databaseName">数据库名称</label>
|
||
|
<div class="col-sm-4">
|
||
|
<input type="text" class="form-control" id="databaseName" name="databaseName" maxlength="50" />
|
||
|
</div>
|
||
|
<div class="col-sm-1" style="display:none;">
|
||
|
<input type="text" class="form-control" id="terminalId" />
|
||
|
</div>
|
||
|
</div>
|
||
|
<div class="form-group">
|
||
|
<label class="control-label col-sm-2" for="databaseUserName">数据库用户名</label>
|
||
|
<div class="col-sm-4">
|
||
|
<input type="text" class="form-control" id="databaseUserName" name="databaseUserName" size="20" maxlength="50" />
|
||
|
</div>
|
||
|
<label class="control-label col-sm-2" for="databasePassword">数据库密码</label>
|
||
|
<div class="col-sm-4">
|
||
|
<input type="text" class="form-control" id="databasePassword" name="databasePassword" size="20" maxlength="50" />
|
||
|
</div>
|
||
|
</div>
|
||
|
</form>
|
||
|
</div>
|
||
|
<div class="modal-footer">
|
||
|
<button type="button" class="btn btn-default" data-dismiss="modal">
|
||
|
关闭
|
||
|
</button>
|
||
|
<button type="button" class="btn btn-primary" id="btnSubmit">
|
||
|
提交更改
|
||
|
</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
}
|