Added home page structure

react
Daniel Scalzi 2017-08-29 16:40:42 -04:00
parent f9444858da
commit 0d013f7d6f
4 changed files with 74 additions and 8 deletions

View File

@ -58,4 +58,56 @@ body {
#frame_btn_minimize:hover {
background-color: #D6FFA6;
}
#main {
height: calc(100% - 22px);
}
#main > #upper {
height: 75%;
display: flex;
}
#main > #lower {
height: 25%;
}
#main > #upper > #left {
display: inline-flex;
width: 25%;
height: 100%;
}
#main > #upper > #content {
display: inline-flex;
width: 50%;
height: 100%;
}
#main > #upper > #right {
display: inline-flex;
width: 25%;
height: 100%;
}
#main > #lower > #top {
height: 50%;
}
#main > #lower > #bottom {
height: 50%;
display: flex;
}
#main > #lower > #bottom > #left {
height: 100%;
width: 50%;
display: inline-flex;
}
#main > #lower > #bottom > #right {
height: 100%;
width: 50%;
display: inline-flex;
}

View File

@ -31,10 +31,10 @@ document.onreadystatechange = function () {
window.minimize()
})
document.getElementById("test_btn").addEventListener('click', function(e){
/*document.getElementById("test_btn").addEventListener('click', function(e){
console.log('testing')
testdownloads()
})
})*/
}
}

View File

@ -229,7 +229,6 @@
"artifact": {
"size": 2106193,
"MD5": "82f495594cd50e1fda7a8aa0246239fc",
"------path": "OptiFine-1.11.2_HD_U_C3.jar",
"extension": ".jar",
"url": "http://mc.westeroscraft.com/WesterosCraftLauncher/prod-1.11.2/mods/OptiFine.jar"
}
@ -241,7 +240,6 @@
"artifact": {
"size": 538740,
"MD5": "f4d931f6db6210621a86fa1e7eae8016",
"------path": "jei.jar",
"extension": ".jar",
"url": "http://mc.westeroscraft.com/WesterosCraftLauncher/prod-1.11.2/mods/jei.jar"
}
@ -253,7 +251,6 @@
"artifact": {
"size": 16321712,
"MD5": "5a89e2ab18916c18965fc93a0766cc6e",
"----path": "WesterosBlocks.jar",
"extension": ".jar",
"url": "http://mc.westeroscraft.com/WesterosCraftLauncher/prod-1.11.2/mods/WesterosBlocks.jar"
}
@ -300,7 +297,6 @@
"artifact": {
"size": 37838,
"MD5": "0497a93e5429b43082282e9d9119fcba",
"---path": "mod_chatBubbles-1.0.1_for_1.11.2.litemod",
"extension": ".litemod",
"url": "http://mc.westeroscraft.com/WesterosCraftLauncher/files/1.11.2/mod_chatBubbles-1.0.1_for_1.11.2.litemod"
},

View File

@ -7,8 +7,26 @@
</head>
<body>
<% include frame.ejs %>
<div id="doc">
<button id="test_btn">Debug</button>
<div id="main">
<div id="upper">
<div id="left">
</div>
<div id="content">
</div>
<div id="right">
</div>
</div>
<div id="lower">
<div id="top">
<!-- Progress area/play button -->
</div>
<div id="bottom">
<div id="left">
</div>
<div id="right">
</div>
</div>
</div>
</div>
</body>
</html>