Add files via upload
This commit is contained in:
commit
faa8d61b71
9 changed files with 1336 additions and 0 deletions
93
awesomium_global.css
Normal file
93
awesomium_global.css
Normal file
|
|
@ -0,0 +1,93 @@
|
||||||
|
|
||||||
|
/* Makes Checkboxes and Radio buttons in Awesomium look like the ones in CEF/Chrome */
|
||||||
|
|
||||||
|
input[ type="checkbox" ]
|
||||||
|
{
|
||||||
|
-webkit-appearance: none;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: contain;
|
||||||
|
background-color: #fff;
|
||||||
|
border: 1px solid #767676;
|
||||||
|
border-radius: 2px;
|
||||||
|
|
||||||
|
/* Default values */
|
||||||
|
width: 13px;
|
||||||
|
height: 13px;
|
||||||
|
margin: 3px 3px 0px 4px;
|
||||||
|
}
|
||||||
|
input[ type="checkbox" ]:hover
|
||||||
|
{
|
||||||
|
border-color: #4F4F4F;
|
||||||
|
}
|
||||||
|
input[ type="checkbox" ]:checked
|
||||||
|
{
|
||||||
|
background-color: #0075FF;
|
||||||
|
border-color: #0075FF;
|
||||||
|
background-image: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' width='512' height='512' viewBox='0 0 512 512'><path style='fill: rgb(255,255,255);' d='M 74 285 Q 206 422 206 422 L 442 129 L 377 77 L 200 295 L 131 229 L 74 285' /></svg>");
|
||||||
|
}
|
||||||
|
input[ type="checkbox" ]:checked:hover
|
||||||
|
{
|
||||||
|
background-color: #005CC8;
|
||||||
|
border-color: #005CC8;
|
||||||
|
}
|
||||||
|
|
||||||
|
input[ type="checkbox" ]:active
|
||||||
|
{
|
||||||
|
background-color: #3793FF;
|
||||||
|
border-color: #3793FF;
|
||||||
|
}
|
||||||
|
input[ type="checkbox" ]:disabled
|
||||||
|
{
|
||||||
|
background-color: #F7F7F7;
|
||||||
|
border-color: #D0D0D0;
|
||||||
|
}
|
||||||
|
input[ type="checkbox" ]:disabled:checked
|
||||||
|
{
|
||||||
|
background-color: #D0D0D0;
|
||||||
|
border-color: #D0D0D0;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Radio buttons */
|
||||||
|
input[ type="radio" ]
|
||||||
|
{
|
||||||
|
-webkit-appearance: none;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: contain;
|
||||||
|
background-color: #fff;
|
||||||
|
border: 1px solid #767676;
|
||||||
|
border-radius: 9999px;
|
||||||
|
|
||||||
|
/* Default values */
|
||||||
|
width: 13px;
|
||||||
|
height: 13px;
|
||||||
|
margin: 3px 3px 0px 5px;
|
||||||
|
}
|
||||||
|
input[ type="radio" ]:hover
|
||||||
|
{
|
||||||
|
border-color: #4F4F4F;
|
||||||
|
}
|
||||||
|
input[ type="radio" ]:checked
|
||||||
|
{
|
||||||
|
border-color: #0075FF;
|
||||||
|
background-image: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' width='512px' height='512px' viewBox='0 0 512 512'><circle cx='256' cy='256' r='164' style='fill: rgb(0, 117, 255);'/></svg>");
|
||||||
|
}
|
||||||
|
input[ type="radio" ]:checked:hover
|
||||||
|
{
|
||||||
|
border-color: #005CC8;
|
||||||
|
background-image: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' width='512px' height='512px' viewBox='0 0 512 512'><circle cx='256' cy='256' r='164' style='fill: rgb(0, 92, 200);'/></svg>");
|
||||||
|
}
|
||||||
|
|
||||||
|
input[ type="radio" ]:active
|
||||||
|
{
|
||||||
|
border-color: #A2A2A2;
|
||||||
|
}
|
||||||
|
input[ type="radio" ]:disabled
|
||||||
|
{
|
||||||
|
background-color: #F3F3F3;
|
||||||
|
border-color: #CDCDCD;
|
||||||
|
}
|
||||||
|
input[ type="radio" ]:disabled:checked
|
||||||
|
{
|
||||||
|
background-image: url("data:image/svg+xml;utf8,<svg version='1.1' xmlns='http://www.w3.org/2000/svg' width='512px' height='512px' viewBox='0 0 512 512'><circle cx='256' cy='256' r='164' style='fill: rgb(205, 205, 205);'/></svg>");
|
||||||
|
border-color: #CDCDCD;
|
||||||
|
}
|
||||||
BIN
download.png
Normal file
BIN
download.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
89
dupes.html
Normal file
89
dupes.html
Normal file
|
|
@ -0,0 +1,89 @@
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
|
||||||
|
<title>Creations</title>
|
||||||
|
|
||||||
|
<link rel="stylesheet" type="text/css" href="css/Workshop.css" />
|
||||||
|
<link rel="stylesheet" type="text/css" href="css/creations/Creations.css" />
|
||||||
|
|
||||||
|
<script type="text/javascript" src="js/lua.js"></script>
|
||||||
|
|
||||||
|
<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/svc.Tranny.js"></script>
|
||||||
|
|
||||||
|
<script type="text/javascript" src="js/creations/dupes.js"></script>
|
||||||
|
<script type="text/javascript" src="js/menu/common.js"></script>
|
||||||
|
<script type="text/javascript" src="js/menu/control.Dupes.js"></script>
|
||||||
|
|
||||||
|
<script type="text/javascript" src="js/menu/TestWorkshop.js"></script>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body ng-app="CDupesApp" ng-controller="CDupes" onresize="WindowResized()">
|
||||||
|
|
||||||
|
<div class="options">
|
||||||
|
|
||||||
|
<!-- DUPES -->
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
|
||||||
|
<li class="headline" ng-tranny="'dupes'"></li>
|
||||||
|
<li class="subtitle"></li>
|
||||||
|
|
||||||
|
<li ng-repeat="cat in MyCategories" class="clickable {{IfElse( Category == cat, 'active', 'notactive' )}}">
|
||||||
|
<a ng-href='#/list/{{cat}}/' ng-Tranny="'dupes.'+cat" ng-show="cat != ''" class="{{IfElse( Category == cat, 'active', 'notactive' )}}"></a>
|
||||||
|
|
||||||
|
<ul ng-show="cat == Category && cat != 'local'" style="margin-top: 4px; margin-bottom: 15px;">
|
||||||
|
<li ng-repeat="subcat in SubCategories" class="clickable {{IfElse( Tagged == subcat, 'active', 'notactive' )}}">
|
||||||
|
<a ng-href='#/list/{{cat}}/{{subcat}}/' ng-Tranny="'dupes.'+subcat" ng-show="cat != ''" class="{{IfElse( Tagged == subcat, 'active', 'notactive' )}}">{{subcat}}</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li> </li>
|
||||||
|
|
||||||
|
<li ng-repeat="cat in Categories" class="clickable {{IfElse( Category == cat, 'active', 'notactive' )}}">
|
||||||
|
<a ng-href='#/list/{{cat}}/' ng-Tranny="'dupes.'+cat" ng-show="cat != ''" class="{{IfElse( Category == cat, 'active', 'notactive' )}}"></a>
|
||||||
|
|
||||||
|
<ul ng-show="cat == Category" style="margin-top: 4px; margin-bottom: 15px;">
|
||||||
|
<li ng-repeat="subcat in SubCategories" class="clickable {{IfElse( Tagged == subcat, 'active', 'notactive' )}}">
|
||||||
|
<a ng-href='#/list/{{cat}}/{{subcat}}/' ng-Tranny="'dupes.'+subcat" ng-show="cat != ''" class="{{IfElse( Tagged == subcat, 'active', 'notactive' )}}">{{subcat}}</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li> </li>
|
||||||
|
|
||||||
|
<li ng-repeat="cat in CategoriesSecondary" class="clickable {{IfElse( Category == cat, 'active', 'notactive' )}}">
|
||||||
|
<a ng-href='#/list/{{cat}}/' ng-Tranny="'dupes.'+cat" ng-show="cat != ''" class="{{IfElse( Category == cat, 'active', 'notactive' )}}"></a>
|
||||||
|
|
||||||
|
<ul ng-show="cat == Category" style="margin-top: 4px; margin-bottom: 15px;">
|
||||||
|
<li ng-repeat="subcat in SubCategories" class="clickable {{IfElse( Tagged == subcat, 'active', 'notactive' )}}">
|
||||||
|
<a ng-href='#/list/{{cat}}/{{subcat}}/' ng-Tranny="'dupes.'+subcat" ng-show="cat != ''" class="{{IfElse( Tagged == subcat, 'active', 'notactive' )}}">{{subcat}}</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li> </li>
|
||||||
|
|
||||||
|
<li><button ng-click="SaveDupe();" ng-tranny="'dupes.savedupe'" class="savedupebutton {{DupeDisabled}}" enabled="false">..</button></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<input type="button" value="Reload Page" onClick="document.location.reload(true)">
|
||||||
|
-->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div ng-view>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
154
loading.css
Normal file
154
loading.css
Normal file
|
|
@ -0,0 +1,154 @@
|
||||||
|
|
||||||
|
BODY
|
||||||
|
{
|
||||||
|
overflow: hidden;
|
||||||
|
margin: 0px;
|
||||||
|
|
||||||
|
background-position: center;
|
||||||
|
background-size: cover;
|
||||||
|
}
|
||||||
|
|
||||||
|
#container
|
||||||
|
{
|
||||||
|
position: absolute;
|
||||||
|
text-align: center;
|
||||||
|
left: 50%;
|
||||||
|
top: 45%;
|
||||||
|
margin-top: -120px;
|
||||||
|
margin-left: -150px;
|
||||||
|
width: 300px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#logo
|
||||||
|
{
|
||||||
|
display: block;
|
||||||
|
margin-left: auto;
|
||||||
|
margin-right: auto;
|
||||||
|
margin-bottom: 1.25em;
|
||||||
|
}
|
||||||
|
|
||||||
|
.progressbar
|
||||||
|
{
|
||||||
|
margin: 0 auto;
|
||||||
|
width: 150px;
|
||||||
|
border-radius: 3px;
|
||||||
|
text-align: left;
|
||||||
|
padding: 1px;
|
||||||
|
background-color: rgba( 0, 0, 0, 0.6 );
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.progressbar .inner
|
||||||
|
{
|
||||||
|
border-radius: 2px;
|
||||||
|
background-color: rgba( 0, 240, 0, 1.0 );
|
||||||
|
width: 0.2%;
|
||||||
|
height: 11px;
|
||||||
|
}
|
||||||
|
|
||||||
|
#progress_text
|
||||||
|
{
|
||||||
|
position: absolute;
|
||||||
|
width: 500px;
|
||||||
|
right: 170px;
|
||||||
|
bottom: 0px;
|
||||||
|
margin: 0 auto;
|
||||||
|
text-align: right;
|
||||||
|
font-size: 12px;
|
||||||
|
font-family: helvetica;
|
||||||
|
color: rgba( 0, 0, 0, 0.4);
|
||||||
|
letter-spacing: -1px;
|
||||||
|
text-shadow: 0px 0px 3px white;
|
||||||
|
overflow: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
}
|
||||||
|
|
||||||
|
@-webkit-keyframes walk
|
||||||
|
{
|
||||||
|
0%
|
||||||
|
{
|
||||||
|
-webkit-transform: rotateZ(0deg);
|
||||||
|
}
|
||||||
|
|
||||||
|
100%
|
||||||
|
{
|
||||||
|
-webkit-transform: rotateZ(360deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.walk
|
||||||
|
{
|
||||||
|
-webkit-animation: walk 10s linear infinite;
|
||||||
|
text-align: center;
|
||||||
|
background-color: #fe7;
|
||||||
|
width: 24px;
|
||||||
|
height: 24px;
|
||||||
|
color: #999;
|
||||||
|
font-size: 16px;
|
||||||
|
font-family: arial, sans-serif;
|
||||||
|
font-weight: bold;
|
||||||
|
border-radius: 3px;
|
||||||
|
display: inline-block;
|
||||||
|
border: 2px solid #999;
|
||||||
|
}
|
||||||
|
|
||||||
|
#spambox
|
||||||
|
{
|
||||||
|
float: right;
|
||||||
|
overflow: hidden;
|
||||||
|
max-height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#background
|
||||||
|
{
|
||||||
|
background-image: url( 'img/bg.png' );
|
||||||
|
background-size: 100% 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
body.dark #background
|
||||||
|
{
|
||||||
|
background-image: url( 'img/bg_dark.png' );
|
||||||
|
}
|
||||||
|
body.dark
|
||||||
|
{
|
||||||
|
color: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.server_info
|
||||||
|
{
|
||||||
|
display: inline-block;
|
||||||
|
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
|
||||||
|
background-image: -webkit-linear-gradient( left, rgba( 0, 0, 0, 0.4 ) 0%, rgba( 0, 0, 0, 0.03 ) 75%, rgba( 0, 0, 0, 0 ) 100% );
|
||||||
|
padding: 20px;
|
||||||
|
padding-right: 180px;
|
||||||
|
visibility: hidden;
|
||||||
|
white-space: nowrap;
|
||||||
|
max-width: 100%;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
.server_info.visible
|
||||||
|
{
|
||||||
|
visibility: visible;
|
||||||
|
}
|
||||||
|
.server_info .text
|
||||||
|
{
|
||||||
|
display: inline-block;
|
||||||
|
vertical-align: top;
|
||||||
|
max-width: 100%;
|
||||||
|
|
||||||
|
line-height: 42px;
|
||||||
|
font-size: xx-large;
|
||||||
|
}
|
||||||
|
.server_info .text > div
|
||||||
|
{
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.server_info #mapimg
|
||||||
|
{
|
||||||
|
width: 128px;
|
||||||
|
height: 128px;
|
||||||
|
background: #666;
|
||||||
|
margin-right: 16px;
|
||||||
|
float: left;
|
||||||
|
}
|
||||||
678
loading.html
Normal file
678
loading.html
Normal file
File diff suppressed because one or more lines are too long
BIN
loading.png
Normal file
BIN
loading.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 6.3 KiB |
88
loading1.html
Normal file
88
loading1.html
Normal file
|
|
@ -0,0 +1,88 @@
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>Loading..</title>
|
||||||
|
<link rel="stylesheet" type="text/css" href="loading.css" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div id="background">
|
||||||
|
<div id="container">
|
||||||
|
|
||||||
|
<img id="logo" src='img/gmod_logo_brave.png'/>
|
||||||
|
|
||||||
|
<div>
|
||||||
|
<div class="walk">:v</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="server_info">
|
||||||
|
<img id="mapimg" src="asset://mapimage/invalid_map" />
|
||||||
|
<div class="text">
|
||||||
|
<div id="serverName">A really long server name will be here that will be too long to fit on the loading screen</div>
|
||||||
|
<div id="serverMap">gm_hilldirt</div>
|
||||||
|
<div id="serverGamemode">Snadbox</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="spambox">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
document.addEventListener( "DOMContentLoaded", function() {
|
||||||
|
var today = new Date();
|
||||||
|
|
||||||
|
// Force it to dark on Spooktober or when it's late
|
||||||
|
var isHalloween = today.getMonth() == 9 && today.getDate() >= 15 || today.getMonth() == 10 && today.getDate() <= 5;
|
||||||
|
var darkMode = today.getHours() >= 19 || today.getHours() <= 7;
|
||||||
|
|
||||||
|
var isSupportsSystemDarkMode = navigator.userAgent.match(/Chrome\/(\d+)/)[1] >= 76;
|
||||||
|
var systemDarkMode = window.matchMedia('(prefers-color-scheme: dark)').matches;
|
||||||
|
|
||||||
|
if ( isHalloween || ( isSupportsSystemDarkMode ? systemDarkMode : darkMode ) )
|
||||||
|
{
|
||||||
|
document.body.classList.add( "dark" );
|
||||||
|
}
|
||||||
|
} );
|
||||||
|
|
||||||
|
function GameDetails( servername, serverurl, mapname, maxplayers, steamid, gamemode, volume, lang, gamemodeNice )
|
||||||
|
{
|
||||||
|
var mapImg = "asset://mapimage/" + mapname;
|
||||||
|
|
||||||
|
document.querySelector("#serverName").innerText = servername;
|
||||||
|
document.querySelector("#serverMap").innerText = mapname;
|
||||||
|
document.querySelector("#serverGamemode").innerText = gamemodeNice;
|
||||||
|
document.querySelector("#mapimg").setAttribute( "src", mapImg );
|
||||||
|
document.body.style.backgroundImage = "url('" + mapImg + "')";
|
||||||
|
|
||||||
|
document.querySelector(".server_info").classList.add( "visible" );
|
||||||
|
|
||||||
|
// Do with these what you will :)
|
||||||
|
// this function gets called only when joining a multiplayer server
|
||||||
|
/*document.querySelector("#spambox").innerHTML += "serverurl: " + serverurl + "<br>";
|
||||||
|
document.querySelector("#spambox").innerHTML += "servername: " + servername + "<br>";
|
||||||
|
document.querySelector("#spambox").innerHTML += "maxplayers: " + maxplayers + "<br>";
|
||||||
|
document.querySelector("#spambox").innerHTML += "steamid: " + steamid + "<br>";
|
||||||
|
document.querySelector("#spambox").innerHTML += "gamemode: " + gamemode + "<br>";
|
||||||
|
document.querySelector("#spambox").innerHTML += "mapname: " + mapname + "<br>";
|
||||||
|
document.querySelector("#spambox").innerHTML += "volume: " + volume + "<br>";
|
||||||
|
document.querySelector("#spambox").innerHTML += "lang: " + lang + "<br>";*/
|
||||||
|
}
|
||||||
|
|
||||||
|
// A file has begun downloading
|
||||||
|
function DownloadingFile( file )
|
||||||
|
{
|
||||||
|
//document.querySelector("#spambox").innerHTML = "<span style='color:red'>" + file + "</span><br>" + document.querySelector("#spambox").innerHTML;
|
||||||
|
}
|
||||||
|
|
||||||
|
// This will not be called when DownloadingFile() is
|
||||||
|
function SetStatusChanged( status )
|
||||||
|
{
|
||||||
|
//document.querySelector("#spambox").innerHTML = status + "<br>" + document.querySelector("#spambox").innerHTML;
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
145
menu.html
Normal file
145
menu.html
Normal file
|
|
@ -0,0 +1,145 @@
|
||||||
|
<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>
|
||||||
|
|
||||||
|
</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 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>
|
||||||
89
saves.html
Normal file
89
saves.html
Normal file
|
|
@ -0,0 +1,89 @@
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
|
||||||
|
<title>Creations</title>
|
||||||
|
|
||||||
|
<link rel="stylesheet" type="text/css" href="css/Workshop.css" />
|
||||||
|
<link rel="stylesheet" type="text/css" href="css/creations/Creations.css" />
|
||||||
|
|
||||||
|
<script type="text/javascript" src="js/lua.js"></script>
|
||||||
|
|
||||||
|
<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/svc.Tranny.js"></script>
|
||||||
|
|
||||||
|
<script type="text/javascript" src="js/creations/saves.js"></script>
|
||||||
|
<script type="text/javascript" src="js/menu/common.js"></script>
|
||||||
|
<script type="text/javascript" src="js/menu/control.Saves.js"></script>
|
||||||
|
|
||||||
|
<script type="text/javascript" src="js/menu/TestWorkshop.js"></script>
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body ng-app="CSavesApp" ng-controller="CSaves" onresize="WindowResized()">
|
||||||
|
|
||||||
|
<div class="options">
|
||||||
|
|
||||||
|
<!-- SAVES -->
|
||||||
|
|
||||||
|
<ul>
|
||||||
|
|
||||||
|
<li class="headline" ng-tranny="'saves'"></li>
|
||||||
|
<li class="subtitle"></li>
|
||||||
|
|
||||||
|
<li ng-repeat="cat in MyCategories" class="clickable {{IfElse( Category == cat, 'active', 'notactive' )}}">
|
||||||
|
<a ng-href='#/list/{{cat}}/' ng-Tranny="'saves.'+cat" ng-show="cat != ''" class="{{IfElse( Category == cat, 'active', 'notactive' )}}"></a>
|
||||||
|
|
||||||
|
<ul ng-show="cat == Category && cat != 'local'" style="margin-top: 4px; margin-bottom: 15px;">
|
||||||
|
<li ng-repeat="subcat in SubCategories" class="clickable {{IfElse( Tagged == subcat, 'active', 'notactive' )}}">
|
||||||
|
<a ng-href='#/list/{{cat}}/{{subcat}}/' ng-Tranny="'saves.'+subcat" ng-show="cat != ''" class="{{IfElse( Tagged == subcat, 'active', 'notactive' )}}">{{subcat}}</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li> </li>
|
||||||
|
|
||||||
|
<li ng-repeat="cat in Categories" class="clickable {{IfElse( Category == cat, 'active', 'notactive' )}}">
|
||||||
|
<a ng-href='#/list/{{cat}}/' ng-Tranny="'saves.'+cat" ng-show="cat != ''" class="{{IfElse( Category == cat, 'active', 'notactive' )}}"></a>
|
||||||
|
|
||||||
|
<ul ng-show="cat == Category" style="margin-top: 4px; margin-bottom: 15px;">
|
||||||
|
<li ng-repeat="subcat in SubCategories" class="clickable {{IfElse( Tagged == subcat, 'active', 'notactive' )}}">
|
||||||
|
<a ng-href='#/list/{{cat}}/{{subcat}}/' ng-Tranny="'saves.'+subcat" ng-show="cat != ''" class="{{IfElse( Tagged == subcat, 'active', 'notactive' )}}">{{subcat}}</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li> </li>
|
||||||
|
|
||||||
|
<li ng-repeat="cat in CategoriesSecondary" class="clickable {{IfElse( Category == cat, 'active', 'notactive' )}}">
|
||||||
|
<a ng-href='#/list/{{cat}}/' ng-Tranny="'saves.'+cat" ng-show="cat != ''" class="{{IfElse( Category == cat, 'active', 'notactive' )}}"></a>
|
||||||
|
|
||||||
|
<ul ng-show="cat == Category" style="margin-top: 4px; margin-bottom: 15px;">
|
||||||
|
<li ng-repeat="subcat in SubCategories" class="clickable {{IfElse( Tagged == subcat, 'active', 'notactive' )}}">
|
||||||
|
<a ng-href='#/list/{{cat}}/{{subcat}}/' ng-Tranny="'saves.'+subcat" ng-show="cat != ''" class="{{IfElse( Tagged == subcat, 'active', 'notactive' )}}">{{subcat}}</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
|
||||||
|
<li> </li>
|
||||||
|
|
||||||
|
<li><button ng-click="SaveSave();" ng-tranny="'save.savegame'" class="savegamebutton {{SaveDisabled}}">..</button></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<input type="button" value="Reload Page" onClick="document.location.reload(true)">
|
||||||
|
-->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div ng-view>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue