forked from naoxink/devlife
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
122 lines (120 loc) · 5.54 KB
/
index.html
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>DevLife</title>
<link id="css" rel="stylesheet" href="css/terminal.css">
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-38408823-2', 'auto');
ga('send', 'pageview');
</script>
</head>
<body>
<div class="navbar">
<div class="brand"><span>devlife Intranet</span></div>
<div class="menu">
<div class="dropdown">
<button class="dropdown-button">Menu</button>
<div class="dropdown-content">
<ul>
<li id="toggle-achievement-list">Achievements</li>
<li id="save" onclick="Core.save()">Save (test)</li>
<li id="load" onclick="Core.load()">Load (test)</li>
<li class="disabled"><hr></li>
<li id="reqNotifications" onclick="javascript:Notification.requestPermission()">Notifications on/off</li>
<li class="disabled"><hr></li>
<li><a href="https://github.com/naoxink/devlife/issues" target="_blank">Issue tracker</a></li>
<li><a href="https://github.com/naoxink/devlife/wiki" target="_blank">Wiki</a></li>
<li class="disabled"><hr></li>
<li id="reset" onclick="javascript:location.reload()">! Reset game</li>
<li class="disabled"><hr></li>
<li class="disabled">Developed by naoxink</li>
</ul>
</div>
</div>
</div>
</div>
<div class="left">
<div class="button-section">
<p class="header">Stats</p>
<div class="help stat" data-title="The amount of money you have.">Money: <span id="money"></span></div>
<div class="help stat" data-title="The money rate you earn.">Money rate: <span id="incPerPulse"></span></div>
<div class="help stat" data-title="Pulse speed">Pulse speed: <span id="pulseSpeed"></span></div>
<div class="help stat" data-title="Your computer version. The higher the better.">Computer Version: <span id="computerVersion"></span></div>
<div class="help stat" data-title="Number of jobs you have. Maximum 4 jobs.">Jobs: <span id="jobs"></span></div>
<div class="help stat" data-title="People hired">Employees: <span id="employees"></span></div>
<button id="shareTwitter">Tweet my stats!</button>
</div>
<div class="button-section" id="projects-section">
<p class="header">Projects</p>
<div class="help stat" data-title="Projects completed. You earn money by completing projects">Projects completed: <span id="projects">0</span></div>
<div class="spaced thin"></div>
<button class="startProject">Start project</button>
</div>
<div class="button-section" id="improvements-section">
<p class="header">Improvements</p>
</div>
<div class="button-section">
<p class="header">Upgrades</p>
<button id="upgradePC" disabled="disabled">Upgrade computer (<span id="PCCost"></span>)</button>
</div>
<div class="button-section" id="employees-section">
<p class="header">Recruiting</p>
<div class="help stat" data-title="Each minute your employees receive their salaries. This is the total cost.">Salaries cost: <span id="salariesCost"></span></div>
<div id="salaries-timer-bar-container">
<div class="salaries-timer-bar"></div>
</div>
<div id="employee-types"></div>
</div>
<div class="button-section">
<p class="header">Jobs</p>
<button id="takeJob" disabled="disabled">Take job oportunity</button>
</div>
</div>
<div class="right">
<div class="button-section jobList">
<p class="header">Actual jobs</p>
<ul class="job-list"></ul>
</div>
<div class="button-section">
<p class="header">Shop</p>
<button class="help" data-title="Have a coffee and increment 0.03% your earnings during 3 minutes." id="buyCoffee">Buy coffee (5¢)</button>
<button class="help" data-title="Have an Energy Drink and speed up your money rate pulse by 0.75% during 1 minute." id="buyEnergyDrink">Buy Energy Drink (15¢)</button>
</div>
<div class="button-section" id="lottery">
<p class="header">Lottery</p>
<button id="buyTicket" class="help" data-title="Everyone has the right to be millionaire. Win a 1.000.000¢ prize!">Buy a ticket (1¢)</button>
<div id="info">-</div>
<div id="owned">-</div>
<div id="winner">-</div>
</div>
<div class="button-section buildings">
<p class="header">Space</p>
<div class="stat">Rooms: <span id="rooms"></span></div>
<div class="stat">Floors: <span id="floors"></span></div>
<div class="stat">Buildings: <span id="buildings"></span></div>
<div class="stat">Warehouses: <span id="warehouses"></span></div>
<div class="help stat" data-title="Available seats you have for hiring people">Available spaces: <span id="availableSpaces"></span></div>
<div class="help stat" data-title="Each minute you have to pay the rent of all of your properties. This is the total cost.">Rents cost: <span id="rentsCost"></span></div>
<div id="rents-timer-bar-container"><div class="rents-timer-bar"></div></div>
<div class="spaced thin"></div>
<div id="renting-list"></div>
</div>
</div>
<div id="achievement-list"></div>
<script src="js/core.js"></script>
<script src="js/core.base.js"></script>
<script src="js/achievements.js"></script>
<script src="js/improvements.js"></script>
<script src="js/employees.js"></script>
<script src="js/rents.js"></script>
<script src="js/stats.js"></script>
<script src="js/jobs.js"></script>
<script src="js/shop.js"></script>
<script src="js/main.js"></script>
</body>
</html>