-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.htm
54 lines (52 loc) · 3.32 KB
/
main.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<html>
<head>
<title>
Launch Demo
</title>
<link rel="stylesheet" href="main.css">
<style>
@font-face {
font-family: 'ProductSans';
src: url('Product-Sans-Regular.ttf');
}
@font-face {
font-family: 'Roboto';
src: url('Roboto-Regular.ttf');
}
</style>
<script>
var $ = require( "jquery" );
</script>
</head>
<body onload="init()">
<object-button icon="./media/assets/add-white-18dp.svg" text="New Game" height="50" curve="20" id="addNewLinkButton"></object-button>
<dialog-panel id="testpanel">
<div id="newLinkFormBox">
<div class="textbox">Title:<input id="titleInput"></div>
<div class="textbox">Developer:<input id="devInput"></div>
<div class="textbox">Link:<input id="linkInput"></div>
<div class="textbox">Background:<input type="file" id="bgimgInput"></div>
<div class="textbox">Idle Logo:<input type="file" id="logoInput"></div>
<div class="textbox">Hover Logo (Optional):<input type="file" id="logoaltInput"></div>
<div class="textbox">Idle Logo Y-Offset:<input type="number" value="200" min="0" max="300" step="1" id="offsetInput"></div>
<div id="buttonCage">
<object-button icon="./media/assets/check-white-18dp.svg" text="Submit" height="40" curve="5" id="submitNewLinkButton"></object-button>
<object-button icon="./media/assets/close-white-18dp.svg" text="Cancel" height="40" curve="5" id="closeFormButton"></object-button>
</div>
</div>
</dialog-panel>
<div class="buttonView" id="mainButtonView">
<launch-button id="testbutton" href="D:\Games\Windows\Control\Control.exe" title="Control" developer="Remedy Entertainment" poster="media/control-bg.jpg" logo="media/control.png" y-offset="15px"></launch-button>
<launch-button href="" title="Quantum Break" developer="Remedy Entertainment" poster="media/quantumbreak-bg.jpg" logo="media/quantumbreak.png" hover-logo="media/quantumbreak-inv.png" y-offset="250px"></launch-button>
<launch-button href="" title="Resident Evil 4" developer="Capcom" poster="media/res4-bg.jpg" logo="media/residentevil4.png" y-offset="200px"></launch-button>
<launch-button href="" title="Super Mario 64" developer="Nintendo" poster="media/sm64-bg.jpg" logo="media/sm64.png" y-offset="210px"></launch-button>
<launch-button href="D:\Games\Windows\SteamLibrary\steamapps\common\RESIDENT EVIL 2 BIOHAZARD RE2\re2.exe" title="Resident Evil 2 (2018)" developer="Capcom" poster="media/res2-bg.jpg" logo="media/residentevil2.png" y-offset="160px"></launch-button>
<launch-button href="" title="Hypnospace Outlaw" developer="Tendershoot" poster="media/hypno-bg.jpg" logo="media/hypno.png" y-offset="250px"></launch-button>
</div>
<ul id="linklist"></ul>
<script src="app.js"></script>
<script src="LaunchButton.js"></script>
<script src="DialogPanel.js"></script>
<script src="ObjectButton.js"></script>
</body>
</html>