-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.tpl
110 lines (103 loc) · 6.29 KB
/
app.tpl
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
<!doctype html>
<html>
<head>
<title> Main page</title>
<link href='http://fonts.googleapis.com/css?family=Lobster' rel='stylesheet' type='text/css'>
<link href='http://fonts.googleapis.com/css?family=Russo+One' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="css/home.css">
<link rel="stylesheet" type="text/css" href="css/demo.css">
<link rel="stylesheet" type="text/css" href="css/pure-min.css">
<link rel="stylesheet" type="text/css" href="css/font-awesome.min.css">
<script type="text/javascript" src="js/jquery-1.11.1.js" > </script>
<script type="text/javascript" src="js/paper.js"></script>
<script type="text/javascript" src="js/app-player.js"> </script>
<script type="text/javascript" src="js/jquery.awesome-cursor.min.js"> </script>
</head>
<body>
<div id="main_container">
<div id="header" class="pure-g">
<div id="logodiv"class="pure-u-1-12">
<img id="logo" src="images/logo.gif" alt="logo"/>
</div>
<div id="title" class="pure-u-1-3">
<p> CONWAY'S GAME OF LIFE </p>
</div>
<div id="menu_container"class="pure-u-1-3">
<div class="pure-menu pure-menu-horizontal">
<ul class="pure-menu-list" id="menu">
<!-- <li id="debug" class="custom-menu-item pure-menu-item">Parameters</li> -->
<li class="custom-menu-item pure-menu-item" id="btnHome"> <a href="/" class="pure-menu-link"><i class="fa fa-home"> </i>  Home </a></li>
<li class="custom-menu-item pure-menu-item" id="btnLogin"> <a href="/login" class="pure-menu-link"><i class="fa fa-users"> </i>  Login </a></li>
<li class="custom-menu-item pure-menu-item" id="btnDemo"> <a href="/demo" class="pure-menu-link"><i class="fa fa-youtube-play"> </i>  Demo</a></li>
<li class="custom-menu-item pure-menu-item" id="btnAbout"> <a href="/about" class="pure-menu-link"><i class="fa fa-info-circle"> </i>  About </a></li>
</ul>
</div>
</div>
</div>
<div id="content">
<div id = "examples" class="pure-menu custom-restricted-width">
<span class="pure-menu-heading"><i class="fa fa-bars"> </i> <b>MENU</b></span>
<ul id="demo_menu"class="pure-menu-list">
<li class="pure-menu-item"><a id="newlife-link" class="pure-menu-link demo-life-link"><i class="fa fa-bolt"></i>  New Life</a></li>
<li class="pure-menu-item"><a id="openlife-link" class="pure-menu-link demo-life-link"><i class="fa fa-folder"></i> Open Life</a></li>
<li class="pure-menu-item"><a id="gallery-link" class="pure-menu-link demo-life-link"><i class="fa fa-gears"> </i> Gallery</a></li>
<li class="pure-menu-item"><a id="savelife-link" class="pure-menu-link demo-life-link"><i class="fa fa-save"> </i> Save Life</a></li>
<li class="pure-menu-item"><a id="logout-link" class="pure-menu-link demo-life-link"><i class="fa fa-sign-out"> </i> Logout</a></li>
</ul>
</div>
<div id="player">
<canvas id="myCanvas"></canvas>
<div id="player-controls"class="pure-menu pure-menu-horizontal">
<ul class="pure-menu-list">
<li class="pure-menu-item"><a id="addpoint-link" class="pure-menu-link"> <i class="fa fa-plus"> </i>  AddCell</a></li>
<li class="pure-menu-item"><a id="rmpoint-link" class="pure-menu-link"> <i class="fa fa-remove"> </i>  RemoveCell</a></li>
<li class="pure-menu-item"><a id="updateseed-link" class="pure-menu-link"> <i class="fa fa-stack-overflow"> </i>  UpdateSeed</a></li>
<li class="pure-menu-item"><a id="start-link" class="pure-menu-link"> <i class="fa fa-play"> </i>  Start</a></li>
<li class="pure-menu-item"><a id="pause-link" class="pure-menu-link"> <i class="fa fa-pause"> </i> Pause</a></li>
<li class="pure-menu-item"><a id="forward-link" class="pure-menu-link"><i class="fa fa-step-forward"> </i> Step(+1) </a></li>
<li class="pure-menu-item"><a id="backward-link" class="pure-menu-link"><i class="fa fa-step-backward"> </i>Step(-1) </a></li>
<li class="pure-menu-item"><a id="reset-link" class="pure-menu-link"><i class="fa fa-refresh"> </i> Reset </a></li>
<li class="pure-menu-item">     <span id="iter_count"> iter_count : 0</span></li>
<li class="pure-menu-item">     <span id="cooridanates"> x:0 y:0</span></li>
</ul>
</div>
</div>
</div>
<div id="save-form">
<p class="dialog-title"> Life Seed Save Dialog</p>
<form class="pure-form pure-form-aligned" action="None">
<fieldset>
<div class="pure-control-group">
<label for="sf-lifename"> LifeName</label>
<input id="sf-lifename" type="text" placeholder="">
</div>
<div class="pure-control-group">
<label for="sf-visibility"> Visibility </label>
<select id="sf-visibility">
<option value="private">Private</option>
<option value="public">Public</option>
</select>
</div>
<div class="pure-controls">
<button type="button" id="sf-save" class= "pure-button pure-button-primary" /> <i class="fa fa-save"> </i>Save</button>
<button type="button" id="sf-cancel" class="pure-button pure-button-primary"/><i class="fa fa-remove"> </i> Cancel</button>
</div>
</fieldset>
</form>
</div>
<div id="openmenu">
<div class="pure-menu custom-restricted-width">
<span class="pure-menu-heading">Open a Life</span>
<ul id="open_menu_list"class="pure-menu-list">
</ul>
</div>
</div>
<div id="gallerymenu">
<div class="pure-menu custom-restricted-width">
<span class="pure-menu-heading">Open a Life</span>
<ul id="gallery_menu_list"class="pure-menu-list">
</ul>
</div>
</div>
</body>
</html>