-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmenu.html
More file actions
176 lines (138 loc) · 7.25 KB
/
menu.html
File metadata and controls
176 lines (138 loc) · 7.25 KB
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
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<html>
<head>
<title>Garry's Mod Main Menu</title>
<link rel="stylesheet" type="text/css" href="css/menu/Menu.css" />
<link rel="stylesheet" type="text/css" href="css/menu/NavBar.css" />
<link rel="stylesheet" type="text/css" href="css/menu/PageOptions.css" />
<link rel="stylesheet" type="text/css" href="css/menu/NewGame.css" />
<link rel="stylesheet" type="text/css" href="css/menu/Servers.css" />
<link rel="stylesheet" type="text/css" href="css/Workshop.css" />
<script type="text/javascript" src="js/thirdparty/jquery.js"></script>
<script type="text/javascript" src="js/thirdparty/angular.js"></script>
<script type="text/javascript" src="js/thirdparty/angular-route.js"></script>
<script type="text/javascript" src="js/menu/WorkshopFiles.js"></script>
<script type="text/javascript" src="js/menu/Subscriptions.js"></script>
<script type="text/javascript" src="js/menu/menuApp.js"></script>
<script type="text/javascript" src="js/menu/common.js"></script>
<script type="text/javascript" src="js/menu/control.Menu.js"></script>
<script type="text/javascript" src="js/menu/control.Main.js"></script>
<script type="text/javascript" src="js/menu/control.NewGame.js"></script>
<script type="text/javascript" src="js/menu/control.Servers.js"></script>
<script type="text/javascript" src="js/menu/control.Addons.js"></script>
<script type="text/javascript" src="js/menu/control.Demos.js"></script>
<script type="text/javascript" src="js/menu/control.Saves.js"></script>
<script type="text/javascript" src="js/menu/control.Dupes.js"></script>
<script type="text/javascript" src="js/svc.Tranny.js"></script>
<script type="text/javascript" src="js/menu/TestData.js"></script>
<script type="text/javascript" src="js/menu/TestServers.js"></script>
<script type="text/javascript" src="js/menu/TestWorkshop.js"></script>
<script type="text/javascript" src="js/server-button.js"></script>
</head>
<body ng-app="MenuApp" ng-controller="MenuController">
<div id="version" ng-click="ShowNews()" ng-show="Branch"><span ng-show="Branch != 'unknown'">You are on the
{{Branch}} branch. Click here to find out more. ( </span>{{Version}}<span ng-show="Branch != 'unknown'">
)</span></div>
<div ng-view>
</div>
<div id="NavBar">
<div class="group left">
<a href="#/" class="button ui_sound_return" ng-show="ShowBack" id="BackToMenu"><img
src='img/back_to_main_menu.png' loading="lazy"><span ng-Tranny="'back_to_main_menu'"></span></a>
</div>
<div class="group center">
<!--
<div class="button" ng-show="InGame" ng-click="Disconnect()"><a href="#/"><img src='img/disconnect.png'><span ng-Tranny="'disconnect'"></span></a></div>
-->
<div class="button bigicon" ng-show="InGame" ng-click="BackToGame()"><a href="#/"><img
src='img/back_to_game.png' loading="lazy"><span ng-Tranny="'back_to_game'"></span></a></div>
<div class="button bigicon hidelabel" ng-show="InGame && ShowFavButton && !IsCurrentServerFav"
ng-click="ToggleServerFavorites( true )"><a href="#/"><img src='img/favourite_server.png'
loading="lazy"><span ng-Tranny="'favorite_this_server'"></span></a></div>
<div class="button bigicon hidelabel" ng-show="InGame && ShowFavButton && IsCurrentServerFav"
ng-click="ToggleServerFavorites( false )"><a href="#/"><img src='img/favourite_server_del.png'
loading="lazy"><span ng-Tranny="'unfavorite_this_server'"></span></a></div>
</div>
<div class="group right">
<div class="button smallicon" onmousedown="handleServerButton(event)" oncontextmenu="return false"
style="position: relative; right: 10px;">
<img src='img/zarp.png' loading="lazy"
style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; margin: 0; border-radius: 4px;">
</div>
<div class="button smallicon hidelabel" style="overflow: visible;" ng-click="ToggleProblems()"><img
ng-src='img/error.png'>
<span ng-Tranny="'problems'"></span>
<number ng-show="ProblemCount > 0"
class="{{IfElse( ProblemSeverity > 0, 'severity' + ProblemSeverity, '' )}}">{{ProblemCount}}
</number>
</div>
<div class="button smallicon" ng-click="TogglePopup('.kinect_settings')" ng-show="kinect.available"><img
ng-src='img/kinect.png' loading="lazy"><span></span></div>
<div class="button smallicon hidelabel" ng-click="ToggleGames()"><img ng-src='img/games.png'><span
ng-Tranny="'games'"></span></div>
<div class="button smallicon" ng-click="ToggleLanguage()"><img style="margin-top: 9px;"
ng-src='../resource/localization/{{Language}}.png'><span></span></div>
<div class="button bigicon" ng-click="ToggleGamemodes()"><img
ng-src='../gamemodes/{{Gamemode}}/icon24.png'><span>{{GamemodeTitle}}</span></div>
</div>
</div>
<ul class="gamemode_list popup">
<li ng-repeat="gm in Gamemodes|filter:{menusystem:true}|orderBy:'name'" ng-click="SelectGamemode( gm )">
<img ng-src='../gamemodes/{{gm.name}}/icon24.png' loading="lazy"><span>{{gm.title}}</span>
</li>
</ul>
<ul class="language_list popup">
<li ng-repeat="lang in Languages" ng-click="SelectLanguage( lang )">
<img ng-src='../resource/localization/{{lang}}.png' loading="lazy">
</li>
</ul>
<ul class="games_list popup">
<li class="notowned"><img src='img/notowned.png' width="16" height="16" loading="lazy"> <span
ng-Tranny="'game_not_owned'"></span></li>
<li class="notinstalled"><img src='img/notinstalled.png' width="16" height="16" loading="lazy"> <span
ng-Tranny="'game_not_installed'"></span></li>
<hr />
<li ng-repeat="game in Games|orderBy:['-installed','-owned','title']"
class="game-item {{ !game.owned ? 'notowned' : '' }} {{ !game.installed ? 'notinstalled' : '' }}">
<input type=checkbox ng-model="game.mounted" ng-show="game.installed"
ng-change="GameMountChanged( game )" />
<img src='img/notowned.png' ng-show="!game.owned" width="16" height="16" loading="lazy">
<img src='img/notinstalled.png' ng-show="game.owned && !game.installed" width="16" height="16"
loading="lazy">
<img ng-src='../materials/games/16/{{game.folder}}.png' style="margin-left: 20px;" loading="lazy">
<span style="margin-left: 16px;">{{game.title}}</span>
</li>
</ul>
<ul class="kinect_settings popup">
<li>
<div>
<p>
<label style="display: block">
<input type="checkbox" ng-model="kinect.show_color" ng-change="kinect.update()"> <span
ng-Tranny="'motionsensor.showcolor'"></span>
</label>
</p>
<div ng-show="kinect.show_color">
<span ng-Tranny="'motionsensor.colorpos'"></span>
<p style="margin-left: 5px;">
<label ng-repeat="option in kinect.color_options" style="display: block">
<input type="radio" name="kinect.color" ng-model="kinect.color" value="{{option}}"
ng-change="kinect.update()">
<span ng-Tranny="'motionsensor.showcolor.'+ option"></span>
</label>
</p>
</div>
<div ng-show="kinect.show_color">
<span ng-Tranny="'motionsensor.colorsize'"></span>
<p style="margin-left: 5px;">
<label ng-repeat="option in kinect.size_options" style="display: block">
<input type="radio" name="kinect.color_size" ng-model="kinect.color_size" value="{{option}}"
ng-change="kinect.update()">
<span ng-Tranny="'motionsensor.colorsize.'+ option"></span>
</label>
</p>
</div>
</div>
</li>
</ul>
</body>
</html>