mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-06 05:24:01 -06:00
NEW: add model Depot Button
Change-Id: I64f3e54dab3cd66b400d7dc1519f3ce84eba2fae (cherry picked from commit 84e964bdd8eb63347a3fefcefe82c9cae6e52c5f)
This commit is contained in:
parent
ca9d1ad4ae
commit
9ec439c8f5
8 changed files with 62 additions and 27 deletions
BIN
resources/web/homepage/img/i6.png
Normal file
BIN
resources/web/homepage/img/i6.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.8 KiB |
Binary file not shown.
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 57 KiB |
|
@ -50,6 +50,13 @@
|
|||
<div id="ContentBoard" board="recent">
|
||||
<div style="height: 14px;"></div>
|
||||
<div id="MenuArea">
|
||||
<div class="MenuItem" onClick="OnClickModelDepot()">
|
||||
<div class="MenuIcon"><img src="img/i6.png"></div>
|
||||
<div>
|
||||
<div class="trans" tid="t90">3D Model</div>
|
||||
<div class="MenuDesc trans" tid="t91">Download 3D Models</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="MenuItem" onClick="OnClickNewProject()">
|
||||
<div class="MenuIcon"><img src="img/i4.png"></div>
|
||||
<div>
|
||||
|
|
|
@ -252,6 +252,14 @@ function OnLoginOrRegister()
|
|||
SendWXMessage( JSON.stringify(tSend) );
|
||||
}
|
||||
|
||||
function OnClickModelDepot()
|
||||
{
|
||||
var tSend={};
|
||||
tSend['sequence_id']=Math.round(new Date() / 1000);
|
||||
tSend['command']="homepage_modeldepot";
|
||||
|
||||
SendWXMessage( JSON.stringify(tSend) );
|
||||
}
|
||||
|
||||
function OnClickNewProject()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue