Compare commits
1 Commits
proj/nanni
...
proj/zhizh
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cd9319883b |
@@ -2,7 +2,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta http-equiv="Cache-Control" content="no-cache" />
|
<meta http-equiv="Cache-Control" content="no-cache" />
|
||||||
<title>可信共享浏览器</title>
|
<title>数瑞浏览器</title>
|
||||||
<script src="./js/createWS.js"></script>
|
<script src="./js/createWS.js"></script>
|
||||||
<script src="./js/cryptico.js"></script>
|
<script src="./js/cryptico.js"></script>
|
||||||
<script src="./js/jquery-2.1.4.js"></script>
|
<script src="./js/jquery-2.1.4.js"></script>
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
<div class="input-group">
|
<div class="input-group">
|
||||||
<a class="navbar-brand" href="#"> <img alt="Brand"
|
<a class="navbar-brand" href="#"> <img alt="Brand"
|
||||||
src="./img/logo-1.png" style="height: 30px">
|
src="./img/logo-1.png" style="height: 30px">
|
||||||
</a><a class="navbar-brand">可信共享浏览器 </a> <input id="urlInput"
|
</a><a class="navbar-brand">智能合约浏览器 </a> <input id="urlInput"
|
||||||
type="text" class="form-control" placeholder="输入地址" style="display: none;">
|
type="text" class="form-control" placeholder="输入地址" style="display: none;">
|
||||||
|
|
||||||
<button class="btn btn-outline-secondary" type="button"
|
<button class="btn btn-outline-secondary" type="button"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||||
<meta http-equiv="Cache-Control" content="no-cache"/>
|
<meta http-equiv="Cache-Control" content="no-cache"/>
|
||||||
<title>可信共享浏览器</title>
|
<title>智能合约浏览器</title>
|
||||||
<script src="./js/createWS.js"></script>
|
<script src="./js/createWS.js"></script>
|
||||||
<script src="./js/cryptico.js"></script>
|
<script src="./js/cryptico.js"></script>
|
||||||
<script src="./js/jquery-2.1.4.js"></script>
|
<script src="./js/jquery-2.1.4.js"></script>
|
||||||
@@ -23,7 +23,7 @@
|
|||||||
<img alt="Brand"
|
<img alt="Brand"
|
||||||
src="./img/logo-1.png" style="height: 30px">
|
src="./img/logo-1.png" style="height: 30px">
|
||||||
</a>
|
</a>
|
||||||
<a class="navbar-brand">可信共享浏览器 </a>
|
<a class="navbar-brand">智能合约浏览器 </a>
|
||||||
<div class="input-group-prepend">
|
<div class="input-group-prepend">
|
||||||
<input id="urlInput" style="border-top-left-radius: 5px; border-bottom-left-radius: 5px"
|
<input id="urlInput" style="border-top-left-radius: 5px; border-bottom-left-radius: 5px"
|
||||||
type="text" placeholder="输入地址">
|
type="text" placeholder="输入地址">
|
||||||
|
|||||||
2
css/bootstrap.min.css
vendored
2
css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@@ -9,7 +9,7 @@
|
|||||||
border: 1px solid rgba(0, 0, 0, .125);
|
border: 1px solid rgba(0, 0, 0, .125);
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
background: white;
|
background: white;
|
||||||
color: #2E324C;
|
color: #304156;
|
||||||
}
|
}
|
||||||
|
|
||||||
.userName:hover {
|
.userName:hover {
|
||||||
@@ -85,16 +85,16 @@ div .card {
|
|||||||
|
|
||||||
.projectLine.collapsed {
|
.projectLine.collapsed {
|
||||||
background: #D5D6DB;
|
background: #D5D6DB;
|
||||||
color: #2E324C;
|
color: #304156;
|
||||||
}
|
}
|
||||||
|
|
||||||
.projectLine {
|
.projectLine {
|
||||||
background: #2E324C;
|
background: #304156;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.projectLine.collapsed:hover {
|
.projectLine.collapsed:hover {
|
||||||
background: #2E324C;
|
background: #304156;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -113,7 +113,7 @@ div .card {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.headerFooter {
|
.headerFooter {
|
||||||
background: #2E324C;
|
background: #304156;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
BIN
img/logo-1.png
Executable file → Normal file
BIN
img/logo-1.png
Executable file → Normal file
Binary file not shown.
|
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 37 KiB |
@@ -399,10 +399,7 @@ function changeAppInternal(requireRendering) {
|
|||||||
+ " <div class=\"row\">\n"
|
+ " <div class=\"row\">\n"
|
||||||
+ " <div class=\"col-sm-12 d-flex justify-content-center\">\n"
|
+ " <div class=\"col-sm-12 d-flex justify-content-center\">\n"
|
||||||
+ " <div class=\"input-group mb-2\">\n"
|
+ " <div class=\"input-group mb-2\">\n"
|
||||||
+ " <div class=\"input-group-prepend input-group-text\">\n"
|
+ " <div class=\"input-group-prepend\">\n"
|
||||||
+ "<input type=\"checkbox\" id=\"showIOInput\" onchange=\"filterIOFunction()\" checked=\"on\" aria-label=\"Checkbox for ShowIO\" data-toggle=\"tooltip\" title=\"仅显示有IO函数\"></input>"
|
|
||||||
+ " </div>\n"
|
|
||||||
+ " <div class=\"input-group-append\">\n"
|
|
||||||
+ " <select id=\"selectAction\" onchange=\"showDescription()\" class=\"custom-select\" style=\"-webkit-appearance: none;\"><option value=\"-1\">选择方法</option></select> \n"
|
+ " <select id=\"selectAction\" onchange=\"showDescription()\" class=\"custom-select\" style=\"-webkit-appearance: none;\"><option value=\"-1\">选择方法</option></select> \n"
|
||||||
+ " </div>\n"
|
+ " </div>\n"
|
||||||
+ " <input type=\"text\" class=\"form-control\" id=\"argInput\" placeholder=\"填写参数\" >\n"
|
+ " <input type=\"text\" class=\"form-control\" id=\"argInput\" placeholder=\"填写参数\" >\n"
|
||||||
@@ -440,17 +437,11 @@ function changeAppInternal(requireRendering) {
|
|||||||
+ " </div>\n"
|
+ " </div>\n"
|
||||||
+ " </div></div>\n" + "";
|
+ " </div></div>\n" + "";
|
||||||
$("#mainDiv")[0].innerHTML = html;
|
$("#mainDiv")[0].innerHTML = html;
|
||||||
filterIOFunction();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
function filterIOFunction(){
|
|
||||||
var showIO = showIOInput.checked;
|
|
||||||
$('#selectAction').html("<option value=\"-1\">选择方法</option>");
|
|
||||||
for (const f of global.currentContract.exportedFunctions) {
|
for (const f of global.currentContract.exportedFunctions) {
|
||||||
if (!showIO || f.relatedPermission.length!=0)
|
|
||||||
$('#selectAction')
|
$('#selectAction')
|
||||||
.append(`<option value="${f.functionName}">${f.functionName}</option>`);
|
.append(`<option value="${f.functionName}">${f.functionName}</option>`);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function getContractDesp() {
|
function getContractDesp() {
|
||||||
@@ -835,7 +826,6 @@ function getRequestParameters() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
function changeRender() {
|
function changeRender() {
|
||||||
if (global.urlparam["noRender"] === "true") {
|
if (global.urlparam["noRender"] === "true") {
|
||||||
global.urlparam["noRender"] = undefined;
|
global.urlparam["noRender"] = undefined;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ var getDateDaysBefore = function (daysAgo) {
|
|||||||
return new Date(dateStr).getTime() - daysAgo * 24 * 3600 * 1000;
|
return new Date(dateStr).getTime() - daysAgo * 24 * 3600 * 1000;
|
||||||
};
|
};
|
||||||
|
|
||||||
let primaryColor = "#2E324C";
|
let primaryColor = "#304156";
|
||||||
|
|
||||||
// ======Vue start
|
// ======Vue start
|
||||||
var headerVue = "";
|
var headerVue = "";
|
||||||
|
|||||||
Reference in New Issue
Block a user