1
0
Fork 0
mirror of https://github.com/Acamaeda/The-Modding-Tree.git synced 2024-11-24 09:21:46 +00:00
The-Modding-Tree/index.html

91 lines
5.6 KiB
HTML
Raw Normal View History

2020-08-19 02:50:24 +00:00
<!DOCTYPE html>
<head>
2020-08-19 02:50:24 +00:00
<link rel="stylesheet" type="text/css" href="style.css" />
2020-12-13 20:41:18 +00:00
<link rel="stylesheet" type="text/css" href="popup.css" />
2020-09-08 23:22:22 +00:00
<link href="https://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet">
2020-09-10 01:28:47 +00:00
<script src="https://cdn.jsdelivr.net/npm/vue@2.6.12"></script>
<script type="text/javascript" src="js/technical/break_eternity.js"></script>
<script type="text/javascript" src="js/technical/layerSupport.js"></script>
2020-10-29 18:57:42 +00:00
<script type="text/javascript" src="js/tree.js"></script>
2020-10-11 20:16:36 +00:00
<script type="text/javascript" src="js/layers.js"></script>
2020-10-17 04:21:59 +00:00
<script type="text/javascript" src="js/mod.js"></script>
<script type="text/javascript" src="js/technical/temp.js"></script>
2020-10-11 20:16:36 +00:00
<script type="text/javascript" src="js/game.js"></script>
2020-10-11 03:26:26 +00:00
<script type="text/javascript" src="js/utils.js"></script>
<script type="text/javascript" src="js/technical/systemComponents.js"></script>
<script type="text/javascript" src="js/components.js"></script>
<script type="text/javascript" src="js/technical/canvas.js"></script>
2020-10-25 01:01:36 +00:00
2020-08-19 02:50:24 +00:00
</head>
<body onload="load()">
<div id="app">
<canvas id="treeCanvas" class="canvas" v-if ="!(gameEnded && !player.keepGoing)"></canvas>
2020-10-29 18:57:42 +00:00
<div v-if="false" id="loadingSection" class="fullWidth">
<h1>Loading... (If this takes too long it means there was a serious error!)←</h1>
</div>
<div class="vl" v-if="player.navTab!= 'none' &&player.tab!='none'&&!(gameEnded && !player.keepGoing)"></div>
<div v-if="(gameEnded && !player.keepGoing)" class="fullWidth">
2020-09-14 19:26:10 +00:00
<br>
2020-09-29 23:47:47 +00:00
<h2>{{modInfo.name}} {{VERSION.withoutName}}</h2><br><br>
2020-12-05 19:52:29 +00:00
<h3 v-html="modInfo.winText"></h3><br>
<h3>Please check the Discord to see if there are new content updates!</h3><br><br>
2020-09-14 19:26:10 +00:00
<div v-if="!player.timePlayedReset">It took you {{formatTime(player.timePlayed)}} to beat the game.</div>
<br>
2020-09-10 01:39:08 +00:00
<button class="longUpg can" onclick="hardReset(true)">Play Again</button>&nbsp;&nbsp;&nbsp;&nbsp;<button class="longUpg can" onclick="keepGoing()">Keep Going</button>
2020-09-14 19:26:10 +00:00
<br><br><br>
2020-10-19 23:52:52 +00:00
<span v-if="modInfo.discordLink"><a class="link" v-bind:href="modInfo.discordLink" target="_blank">{{modInfo.discordName}}</a><br></span>
<a class="link" href="https://discord.gg/F3xveHV" target="_blank" v-bind:style="modInfo.discordLink ? {'font-size': '16px'} : {}">The Modding Tree Discord</a><br>
<a class="link" href="http://discord.gg/wwQfgPa" target="_blank" v-bind:style="{'font-size': '16px'}">Main Prestige Tree server</a><br>
2020-09-14 19:26:10 +00:00
<br><br>
</div>
<div id="treeOverlay" v-if="!(gameEnded && !player.keepGoing)" class="treeOverlay" onscroll="resizeCanvas()" v-bind:class="{ fullWidth: (player.tab == 'none' || player.navTab == 'none'), col: (player.tab !== 'none' && player.navTab !== 'none'), left: (player.tab !== 'none' && player.navTab !== 'none')}">
2020-12-05 19:52:29 +00:00
<div id="version" onclick="showTab('changelog-tab')" class="overlayThing" style="margin-right: 13px">{{VERSION.withoutName}}</div>
<button v-if= "player.navTab == 'none' && (tmp[player.tab].row == 'side' || tmp[player.tab].row == 'otherside')" class="other-back overlayThing" onclick="goBack()"></button>
<img id="optionWheel" class="overlayThing" v-if="player.tab!='options-tab'" src="options_wheel.png" onclick="showTab('options-tab')"></img>
<div id="info" v-if="player.tab!='info-tab'" class="overlayThing" onclick="showTab('info-tab')"><br>i</div>
<div id="discord" class="overlayThing">
<img onclick="window.open((modInfo.discordLink ? modInfo.discordLink : 'https://discord.gg/F3xveHV'),'mywindow')" src="discord.png" target="_blank"></img>
<ul id="discord-links">
<li v-if="modInfo.discordLink"><a class="link" v-bind:href="modInfo.discordLink" target="_blank">{{modInfo.discordName}}</a><br></li>
<li><a class="link" href="https://discord.gg/F3xveHV" target="_blank" v-bind:style="modInfo.discordLink ? {'font-size': '16px'} : {}">The Modding Tree Discord</a><br></li>
<li><a class="link" href="http://discord.gg/wwQfgPa" target="_blank" v-bind:style="{'font-size': '16px'}">Main Prestige Tree server</a></li>
</ul>
</div>
<overlay-head v-if="!(gameEnded && !player.keepGoing)"></overlay-head>
2020-10-14 23:34:15 +00:00
<div class="sideLayers" >
2020-12-10 06:11:18 +00:00
<div v-for="(node, index) in OTHER_LAYERS['side']"><tree-node :layer='node' :abb='tmp[node].symbol' :size="'small'" :key="'side' + index"></tree-node></div>
2020-10-14 23:34:15 +00:00
</div>
</div>
<div v-if="!(gameEnded && !player.keepGoing)" id="treeTab" style="z-index: 0" onscroll="resizeCanvas()" v-bind:class="{ fullWidth: (player.tab == 'none' || player.navTab == 'none'), col: (player.tab !== 'none' && player.navTab !== 'none'), left: (player.tab !== 'none' && player.navTab !== 'none')}">
<br><br><br><br>
<overlay-head id="fakeHead" style="visibility: hidden;">
</overlay-head>
2020-10-27 23:25:03 +00:00
2020-12-10 06:11:18 +00:00
<layer-tab :layer="player.navTab == 'none' ? player.tab : player.navTab" :key="'left'"></layer-tab>
</div>
2020-12-07 03:56:37 +00:00
<!-- Popups -->
<div class="popup-container">
<transition-group name="fade">
2020-12-10 06:11:18 +00:00
<div v-for="popup,index in activePopups" class="popup" v-bind:class="popup.type" v-bind:key="'p' + popup.id" v-bind:style="popup.color ? {'background-color': popup.color} : {}">
2020-12-07 03:56:37 +00:00
<h3>{{popup.title}}</h3><br>
<h2 v-html="popup.message"></h2>
</div>
</transition-group>
</div>
2020-12-13 02:43:22 +00:00
<div v-if="player.navTab !== 'none' && player.tab !== 'none' && !(gameEnded && !player.keepGoing)" onscroll="resizeCanvas()" v-bind:class="{ fullWidth: player.navTab == 'none', col: player.navTab != 'none', right: player.navTab != 'none', fast: true, tab: true}">
2020-11-22 22:23:20 +00:00
<div v-for="layer in LAYERS" >
<div v-if="player.tab==layer" >
2020-12-10 06:11:18 +00:00
<layer-tab :layer="layer" :back="'none'" :spacing="'50px'" :key="'left'"></layer-tab>
2020-11-22 22:23:20 +00:00
</div>
</div>
</div>
2020-08-19 02:50:24 +00:00
</div>
2020-10-25 01:01:36 +00:00
</body>