-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.php
92 lines (57 loc) · 2.37 KB
/
index.php
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
<?php
set_include_path('partials/');
?>
<!DOCTYPE html>
<html ng-app="gemDealer">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<title>Gem Dealer</title>
<link rel="shortcut icon" href="">
<link rel="stylesheet" href="css/bootstrap.min.css">
<link rel="stylesheet" href="css/styles.css">
<script type="text/javascript" src="js/angular.min.js"></script>
<!--[if IE]>
<script src="https://cdn.jsdelivr.net/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://cdn.jsdelivr.net/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body ng-controller="gameController" ng-cloak ng-init="shuffle()">
<div class="container">
<div class="row"><h1 class="text-center">Gem Dealer <sup>v0.4</sup></h1></div>
<div class="row game-screen">
<div class="col-xs-5"><?php include 'buy-menu.html'; ?></div>
<div class="col-xs-2 text-center center-block" ng-hide="game.day > game.maxDays"><?php include 'middle-menu.html'; ?></div>
<div class="col-xs-5"><?php include 'sell-menu.html'; ?></div>
</div>
</div>
<div class="row">
<div class="col-xs-8 col-xs-offset-2">
<?php include 'achievement-list.html'; ?>
</div>
</div>
<?php include 'modal.html'; ?>
<?php include 'achievements.html'; ?>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js"></script>
<script src="js/angular-bs-ui.js"></script>
<script src="js/functions.js"></script>
<script src="js/standard-values.js"></script>
<script src="js/controllers.js"></script>
<script src="js/events.js"></script>
<script>
$('[title]').attr('data-toggle', 'tooltip').tooltip({container:'body', html:true});
$('.play-button').click(function(){$(this).addClass('hidden');$('.game-screen').fadeIn()});
$('tr:nth-child(1n+2)').attr('data-toggle','modal').attr('data-target','#modal');
$('.modal-footer button').click(function(){$('#modal').modal('hide')});
$(document).on('click', '.achievement span', function(){
var obj = $(this).closest('.achievement');
obj.fadeTo(200, 0, function(){
obj.slideUp();
});
})
</script>
</body>
</html>