agent-backend/contracts/LicenceManager/html/main.html

151 lines
5.9 KiB
HTML
Raw Normal View History

2021-09-26 04:49:24 +00:00
<div class="container">
<div class="col-sm-12 mt-3">
<div class="row ownerDIV" style="display:none" >
<div class="card">
<div class="card-body">
<div class="card-title" style="margin-bottom: 30px">
<h5 class="card-title" style="float: left">
申请列表
</h5>
<div style="float: right">
<button class='btn btn-outline-primary' onclick='flushApplylist()'>刷新
</button>
</div>
</div>
<div class="card-body" id="localContractLog">
<div class="row" >
<div class="col-sm-12 d-flex justify-content-center" id="unauthoriedDiv" >
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row ownerDIV mt-3" style="display:none">
<div class="card">
<div class="card-body">
<div class="card-title" style="margin-bottom: 30px">
<h5 class="card-title" style="float: left">
已授权列表
</h5>
<div style="float: right">
<button class='btn btn-outline-primary' onclick='flushAcceptlist()'>刷新
</button>
</div>
</div>
<div class="card-body" id="localContractLog">
<div class="row" >
<div class="col-sm-12 d-flex justify-content-center" id="authoriedDiv" >
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row ownerDIV mt-3" style="display:none">
<div class="card">
<div class="card-body">
<div class="card-title" style="margin-bottom: 30px">
<h5 class="card-title" style="float: left">
更新签名用的SM2公私钥
</h5>
</div>
<div class="card-body" >
<div class="row" >
<div class="col-sm-12 d-flex justify-content-center" >
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text" id="inputGroup-sizing-default">
SM2密钥
</span>
</div>
<input type="text" class="form-control" id="sm2Input" value="" >
<div class="input-group-append">
<button class="btn btn-outline-secondary" type="button"
onclick="updateSM2()">
更新
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="row" id="applyForm" style="display:none">
<div class="card ">
<div class="card-body">
<div class="card-title" style="margin-bottom: 30px">
<h5 class="card-title" style="float: left">
我的Licence
</h5>
</div>
<div class="card-body" id="localContractLog">
<div class="row">
<div class="col-sm-12 d-flex justify-content-center">
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text" id="inputGroup-sizing-default">
UUID
</span>
</div>
<input type="text" class="form-control" id="uuidInput" value="defasdafd" >
<div class="input-group-prepend">
<span class="input-group-text" id="inputGroup-sizing-default">
备注
</span>
</div>
<input type="text" class="form-control" id="remarkInput">
<div class="input-group-append">
<button class="btn btn-outline-secondary" type="button"
onclick="apply()">
我要申请
</button>
<button class="btn btn-outline-secondary" type="button"
onclick="refreshMyLicence()">
刷新
</button>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-sm-12 d-flex justify-content-center">
<div class="input-group mb-3">
<div class="input-group-prepend">
<span class="input-group-text" id="inputGroup-sizing-default">
我的Licence
</span>
</div>
<input type="text" class="form-control" id="licenceInput">
<span class="input-group-text" id="inputGroup-sizing-default">
过期时间
</span>
<input type="text" class="form-control" id="licenceExpriedInput">
<span class="input-group-text" id="inputGroup-sizing-default">
授权节点数
</span>
<input type="text" class="form-control" id="licenceNodeCountInput">
<div class="input-group-append">
<button class="btn btn-outline-secondary" type="button"
onclick="downloadMyLicence()">
下载
</button>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script fromContract="/DataTables/jquery.dataTables.min.js"></script>
<script fromContract="/DataTables/dataTables.bootstrap4.min.js"></script>
<link fromContract="/DataTables/datatables.min.css"/>
<link fromContract="/DataTables/datatables.extra.css"/>
<script fromContract="/html/datatableSet.js"></script>
<script fromContract="/html/main.js"></script>
</div>
</div>