fix: add isBaaS declaration in html

This commit is contained in:
Frank.R.Wu 2021-06-17 00:33:32 +08:00
parent 14960c3df2
commit 0b15e58938
7 changed files with 85 additions and 85 deletions

View File

@ -31,17 +31,17 @@
<link href="./css/staticAnalysis.css" rel="stylesheet">
<script src="./js/bootstrap.min.js"></script>
<!-- <script src="./js/echarts.min.js"></script>-->
<!-- <script src="./js/echartsTheme.js"></script>-->
<!-- <script src="./js/echarts-gl.min.js"></script>-->
<!-- <script src="./js/echarts.min.js"></script>-->
<!-- <script src="./js/echartsTheme.js"></script>-->
<!-- <script src="./js/echarts-gl.min.js"></script>-->
<script src="./js/sm2.js"></script>
<!-- <script src="./js/d3.v5.min.js"></script>-->
<!-- <script src="./js/dagre-d3.min.js"></script>-->
<!-- <script src="./js/d3.v5.min.js"></script>-->
<!-- <script src="./js/dagre-d3.min.js"></script>-->
<script src="./js/tipsy/jquery.tipsy.min.js"></script>
<link href="./js/tipsy/jquery.tipsy.css" rel="stylesheet">
<!-- <script src="./js/jspdf.min.js"></script>-->
<!-- <script src="./js/umd.js"></script>-->
<!-- <script src="./js/jspdf.min.js"></script>-->
<!-- <script src="./js/umd.js"></script>-->
<script src="./jqueryui1.12/jquery.contextMenu.js"></script>
<link href="./jqueryui1.12/jquery.contextMenu.min.css" rel="stylesheet">
@ -174,10 +174,10 @@
<div class="row">
<div class="col-12" style="padding: 0; overflow-x: visible">
<div class="tab-content">
<!-- <div class="tab-pane fade" role="tabpanel"-->
<!-- aria-labelledby="publicprojecttab" id="publicproject">-->
<!-- <div id="publicprojectAccordion" class="accordion"></div>-->
<!-- </div>-->
<!-- <div class="tab-pane fade" role="tabpanel"-->
<!-- aria-labelledby="publicprojecttab" id="publicproject">-->
<!-- <div id="publicprojectAccordion" class="accordion"></div>-->
<!-- </div>-->
<div class="tab-pane fade show active" id="privateproject" role="tabpanel"
aria-labelledby="privateprojecttab" style="">
<div id="privateprojectAccordion" class="accordion"></div>
@ -418,57 +418,57 @@
</div>
</div>
<!-- <div class="input-group mb-1">-->
<!-- <div class="btn-group btn-block" role="group">-->
<!-- <button class="btn btn-outline-primary" type="button"-->
<!-- id="button-addon2" title="刷新列表" onclick="listContracts()"-->
<!-- data-toggle="tooltip">-->
<!-- <img src="./images/onlineide/refresh.png" class="buttonimg"/>-->
<!-- </button>-->
<!-- <button type="button" class="btn btn-outline-primary"-->
<!-- title="数据预览" data-toggle="tooltip" onclick="genData()">-->
<!-- <img alt="Brand" src="./images/onlineide/data.png"-->
<!-- class="buttonimg">-->
<!-- </button>-->
<!-- <button type="button" class="btn btn-outline-primary"-->
<!-- title="查询当前合约DOI" data-toggle="tooltip"-->
<!-- onclick="queryContractInstanceDOI()">DOI-->
<!-- </button>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="input-group mb-1">-->
<!-- <div class="btn-group btn-block" role="group">-->
<!-- <button class="btn btn-outline-primary" type="button"-->
<!-- id="button-addon2" title="刷新列表" onclick="listContracts()"-->
<!-- data-toggle="tooltip">-->
<!-- <img src="./images/onlineide/refresh.png" class="buttonimg"/>-->
<!-- </button>-->
<!-- <button type="button" class="btn btn-outline-primary"-->
<!-- title="数据预览" data-toggle="tooltip" onclick="genData()">-->
<!-- <img alt="Brand" src="./images/onlineide/data.png"-->
<!-- class="buttonimg">-->
<!-- </button>-->
<!-- <button type="button" class="btn btn-outline-primary"-->
<!-- title="查询当前合约DOI" data-toggle="tooltip"-->
<!-- onclick="queryContractInstanceDOI()">DOI-->
<!-- </button>-->
<!-- </div>-->
<!-- </div>-->
<div class="input-group mt-1 mb-3">
<span id="stopResult"> </span>
</div>
<div class="input-group mb-1"></div>
<!-- <div class="input-group mb-3">-->
<!-- <input type="text" class="form-control"-->
<!-- id="contractInstanceDOIInput" placeholder="合约实例DOI"></input>-->
<!-- <div class="input-group-append">-->
<!-- <button class="btn btn-outline-primary"-->
<!-- onclick="queryContractInstanceInfoByDOI()" type="button" data-toggle="tooltip"-->
<!-- title="查询合约实例信息" id="button-addon2">查询-->
<!-- </button>-->
<!-- </div>-->
<!-- <div class="input-group-append">-->
<!-- <button class="btn btn-outline-primary"-->
<!-- onclick="importContractInstanceCodeByDOI()" type="button" data-toggle="tooltip"-->
<!-- title="导入合约实例代码" id="button-addon2">导入-->
<!-- </button>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="row">-->
<!-- <div class="col-sm-12">-->
<!-- 查询结果:<span id="contractInstanceInfoTitle"> </span>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="row">-->
<!-- <div class="col-sm-12" id="contractInstanceInfoAreaDiv">-->
<!-- <textarea id="contractInstanceInfoArea" class="form-control"-->
<!-- style="width: 100%; height: 150px;"></textarea>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="input-group mb-3">-->
<!-- <input type="text" class="form-control"-->
<!-- id="contractInstanceDOIInput" placeholder="合约实例DOI"></input>-->
<!-- <div class="input-group-append">-->
<!-- <button class="btn btn-outline-primary"-->
<!-- onclick="queryContractInstanceInfoByDOI()" type="button" data-toggle="tooltip"-->
<!-- title="查询合约实例信息" id="button-addon2">查询-->
<!-- </button>-->
<!-- </div>-->
<!-- <div class="input-group-append">-->
<!-- <button class="btn btn-outline-primary"-->
<!-- onclick="importContractInstanceCodeByDOI()" type="button" data-toggle="tooltip"-->
<!-- title="导入合约实例代码" id="button-addon2">导入-->
<!-- </button>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="row">-->
<!-- <div class="col-sm-12">-->
<!-- 查询结果:<span id="contractInstanceInfoTitle"> </span>-->
<!-- </div>-->
<!-- </div>-->
<!-- <div class="row">-->
<!-- <div class="col-sm-12" id="contractInstanceInfoAreaDiv">-->
<!-- <textarea id="contractInstanceInfoArea" class="form-control"-->
<!-- style="width: 100%; height: 150px;"></textarea>-->
<!-- </div>-->
<!-- </div>-->
</div>
<div class="tab-pane fade" id="execute" role="tabpanel"
aria-labelledby="execute-tab">
@ -501,20 +501,20 @@
<img src="./images/onlineide/execute.png" class="buttonimg"/>
</button>
</div>
<!-- <div class="input-group-append">-->
<!-- <button class="btn btn-outline-primary"-->
<!-- onclick="executeContractWithDynamicResult()" type="button"-->
<!-- data-toggle="tooltip" title="动态分析" id="button-addon2">-->
<!-- <img src="./images/onlineide/analysis.png" class="buttonimg"/>-->
<!-- </button>-->
<!-- </div>-->
<!-- <div class="input-group-append">-->
<!-- <button class="btn btn-outline-primary"-->
<!-- onclick="testEvaluates()" type="button"-->
<!-- data-toggle="tooltip" title="gas预估" id="button-addon2">-->
<!-- <img src="./images/onlineide/budget.png" class="buttonimg"/>-->
<!-- </button>-->
<!-- </div>-->
<!-- <div class="input-group-append">-->
<!-- <button class="btn btn-outline-primary"-->
<!-- onclick="executeContractWithDynamicResult()" type="button"-->
<!-- data-toggle="tooltip" title="动态分析" id="button-addon2">-->
<!-- <img src="./images/onlineide/analysis.png" class="buttonimg"/>-->
<!-- </button>-->
<!-- </div>-->
<!-- <div class="input-group-append">-->
<!-- <button class="btn btn-outline-primary"-->
<!-- onclick="testEvaluates()" type="button"-->
<!-- data-toggle="tooltip" title="gas预估" id="button-addon2">-->
<!-- <img src="./images/onlineide/budget.png" class="buttonimg"/>-->
<!-- </button>-->
<!-- </div>-->
</div>

View File

@ -458,12 +458,12 @@
<script>
const isBaaS = false
var h = document.body.clientHeight
- $("header").css("height").replace("px", "")
- $("footer").css("height").replace("px", "");
$("#main").css("height", h + "px");
init();
//initWSocket();
</script>

View File

@ -437,9 +437,9 @@
<div class="col-sm-12">
<div class="card ">
<div class="card-body">
<button onclick="killAllContract()" type="button"
class="btn btn-outline-primary">停止全部
</button>
<button onclick="killAllContract()" type="button"
class="btn btn-outline-primary">停止全部
</button>
</div>
<div class="card-body" id="cpTabDiv">
<div class="d-flex justify-content-center">
@ -1256,6 +1256,7 @@
<script>
const isBaaS = false
var h = document.body.clientHeight
- $("header").css("height").replace("px", "")
- $("footer").css("height").replace("px", "");
@ -1265,8 +1266,6 @@
//initWSocket();
</script>
</body>

View File

@ -727,10 +727,7 @@
- $("footer").css("height").replace("px", "");
$("#main").css("height", h + "px");
init();
//initWSocket();
</script>
</body>
</html>

View File

@ -693,6 +693,7 @@
<script>
const isBaaS = false
var h = document.body.clientHeight
- $("header").css("height").replace("px", "")
- $("footer").css("height").replace("px", "");

View File

@ -81,6 +81,7 @@
</script>
<script>
const isBaaS = false
init();
</script>
</body>

View File

@ -135,13 +135,15 @@
</script>
<br/>
<div
style="width: fit-content; margin-top: 2%; float: right; border-radius: 10px; font-size: 50%">
Icons made by <a href="https://www.flaticon.com/authors/monkik"
title="monkik" style="color: white;">monkik</a> from <a
href="https://www.flaticon.com/" title="Flaticon"
style="color: white;">www.flaticon.com</a>
<div style="width: fit-content; margin-top: 2%; float: right; border-radius: 10px; font-size: 50%">
Icons made by
<a href="https://www.flaticon.com/authors/monkik"
title="monkik" style="color: white;">monkik</a>
from
<a href="https://www.flaticon.com/" title="Flaticon"
style="color: white;">www.flaticon.com</a>
</div>
</div>
</body>
</html>
<!--