mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
Initial release
This commit is contained in:
33
resources/web/guide/4orca/4orca.css
Normal file
33
resources/web/guide/4orca/4orca.css
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
#Content
|
||||
{
|
||||
padding:0% 15%;
|
||||
}
|
||||
|
||||
#FeatureText
|
||||
{
|
||||
line-height: 30px;
|
||||
margin-top: 10mm;
|
||||
}
|
||||
|
||||
|
||||
#CheckArea
|
||||
{
|
||||
margin-top:10mm;
|
||||
line-height: 30px;
|
||||
}
|
||||
/* ORCA brokes shape of custom css checkbox
|
||||
#StealthMode
|
||||
{
|
||||
width: 30px;
|
||||
}
|
||||
*/
|
||||
#RestartText
|
||||
{
|
||||
padding-left:30px;
|
||||
}
|
||||
|
||||
.TextPoint
|
||||
{
|
||||
font-size:14px;
|
||||
}
|
||||
48
resources/web/guide/4orca/4orca.js
Normal file
48
resources/web/guide/4orca/4orca.js
Normal file
@@ -0,0 +1,48 @@
|
||||
|
||||
function OnInit()
|
||||
{
|
||||
TranslatePage();
|
||||
|
||||
SendStealthModeCheck();
|
||||
}
|
||||
|
||||
|
||||
|
||||
function SendStealthModeCheck()
|
||||
{
|
||||
let nVal="no";
|
||||
if( $('#StealthMode').is(':checked') )
|
||||
nVal="yes";
|
||||
|
||||
var tSend={};
|
||||
tSend['sequence_id']=Math.round(new Date() / 1000);
|
||||
tSend['command']="save_stealth_mode";
|
||||
tSend['data']={};
|
||||
tSend['data']['action']=nVal;
|
||||
|
||||
SendWXMessage( JSON.stringify(tSend) );
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
function GotoNetPluginPage()
|
||||
{
|
||||
let bRet=SendStealthModeCheck();
|
||||
|
||||
if(bRet)
|
||||
window.location.href="../5/index.html";
|
||||
}
|
||||
|
||||
|
||||
function FinishGuide()
|
||||
{
|
||||
var tSend={};
|
||||
tSend['sequence_id']=Math.round(new Date() / 1000);
|
||||
tSend['command']="user_guide_finish";
|
||||
tSend['data']={};
|
||||
tSend['data']['action']="finish";
|
||||
|
||||
SendWXMessage( JSON.stringify(tSend) );
|
||||
|
||||
//window.location.href="../6/index.html";
|
||||
}
|
||||
39
resources/web/guide/4orca/index.html
Normal file
39
resources/web/guide/4orca/index.html
Normal file
@@ -0,0 +1,39 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="Cache-Control" content="max-age=7200" />
|
||||
<title>引导_P1</title>
|
||||
<link rel="stylesheet" type="text/css" href="../../include/global.css" /> <!-- ORCA One for all-->
|
||||
<link rel="stylesheet" type="text/css" href="../css/common.css" />
|
||||
<link rel="stylesheet" type="text/css" href="../css/dark.css" />
|
||||
<link rel="stylesheet" type="text/css" href="4orca.css" />
|
||||
<script type="text/javascript" src="../js/jquery-2.1.1.min.js"></script>
|
||||
<script type="text/javascript" src="../js/json2.js"></script>
|
||||
<script type="text/javascript" src="../../data/text.js"></script>
|
||||
<script type="text/javascript" src="../js/globalapi.js"></script>
|
||||
<script type="text/javascript" src="../js/common.js"></script>
|
||||
<script type="text/javascript" src="4orca.js"></script>
|
||||
</head>
|
||||
<body onLoad="OnInit()">
|
||||
<div id="Title">
|
||||
<div class="trans" tid="orca3">Stealth Mode</div>
|
||||
</div>
|
||||
<div id="Content">
|
||||
|
||||
<div id="FeatureText">
|
||||
<div><a tid="orca4" class="trans TextS1">This stops the transmission of data to Bambu's cloud services. Users who don't use BBL machines or use LAN mode only can safely turn on this function.</a></div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- ORCA use label tag to allow checkbox to toggle when user clicked to text -->
|
||||
<label id="CheckArea"><input id="StealthMode" onClick="SendStealthModeCheck()" type="checkbox"><a tid="orca5" class="trans TextS1">Enable Stealth Mode.</a></label>
|
||||
<div id="RestartText" tid="t70" class="trans" ></div>
|
||||
|
||||
</div>
|
||||
<div id="AcceptArea">
|
||||
<div class="ButtonStyleRegular ButtonTypeChoice trans" tid="t8" id="PreBtn" onclick="window.history.back()">Back</div>
|
||||
<div class="ButtonStyleConfirm ButtonTypeChoice trans" tid="t9" id="GotoNetPluginBtn" onclick="GotoNetPluginPage()">Next</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user