-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
63 lines (54 loc) · 8.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
<!DOCTYPE html>
<html ng-app="app" ng-controller="masterCtrl as master" lang="en-US">
<head>
<script>console.log("%c𝔗𝔢𝔵𝔦𝔭𝔩𝔞𝔶", "font-size:75px")</script>
<title ng-bind="master.loc">Tekiplay — The best place on the internet to play browser games</title>
<meta charset="UTF-8">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-title" content="Tekiplay">
<meta name="description" content="{{master.desc}}">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=0">
<link rel="apple-touch-icon" href="src/img/apple-touch-icon.png" />
<style ng-bind="master.css"></style>
<!--Important CSS:-->
<style>body{line-height: 1.42857143;background-color:#222;margin:0;font-family: ubuntu, Sans-Serif;text-align:center}*{box-sizing:border-box}a{text-decoration:none}ul{display:flex;flex-wrap:wrap;padding-left:0;margin:0}li{display:block;flex:1 1 auto}header{background: #FEFEFE; border: 1px solid #CCC; letter-spacing: 1px; height: 66px;}.nav-pills>li>a{color: #1a1a1a;padding:10px 15px;display:flex}.content{background:#FEFEFE;border:1px solid #CCC;border-radius:15px;font-size:18px;margin:15px auto;max-width:900px;padding:10px;width:80%}li>a>.glyphicon{margin-right: 4px;}.no-c-change{padding:0!important}.search>input{max-width: 145px; padding: 10px 15px; border: 1px solid #ccc; border-radius: 5px; background: url(/src/img/search.png) 96% / 35px no-repeat}h1{font-size:26px;font-weight:400}</style>
<base href="/">
</head>
<body para-back="src/img/background.jpg" ontouchstart class="fallback" style="background-image: url(src/img/background.jpg);">
<lazy ng-if="master.lazyModulesLoaded"><lazy ng-controller="lazyStuff as lazy"></lazy></lazy>
<header ng-show="master.showHeader()">
<h1>Tekiplay</h1>
</header>
<noscript>
<div class="content top-padded">
This website requires JavaScript in order to work. Please enable JavaScript in your browser settings.
</div>
</noscript>
<!--<div ng-if="master.mlcLoaded">-->
<!--<div ng-include="'src/html/mail-lightbox.html'"></div>-->
<!--</div>-->
<div class="content noselect top-padded" id="menu" ng-show="master.showHeader()">
<ul class="nav nav-pills cat-menu" ng-class="{'show-all': master.showAllTags}">
<li ng-class="{ active: master.ifHome() }"><a href ng-click="master.goHome()"><span class="glyphicon glyphicon-stats"></span> <span ng-bind="master.textData.popular">Popular</span></a></li>
<li class="submit-g" ng-class="{ active: master.ifAtSubmit() }"><a ng-click="master.goTo('submit')"><span class="glyphicon glyphicon-plus"></span> <span ng-bind="master.textData.submitYourGame">Submit a game</span></a></li>
<li class="toggle-mobile" ng-if="master.ifMobile" ng-click="master.toggleMobileGames()"><img ng-src="{{'src/img/desktop-icon.svg'}}"><div class="toggler" ng-class="{active: master.mobileGamesOnly}"></div><span class="glyphicon glyphicon-phone"></span></li>
<li class="contact" ng-class="{ active: master.ifAt('/contact') }"><a ng-click="master.goTo('contact')"><span class="glyphicon glyphicon-earphone"></span> <span ng-bind="master.textData.contact">Contact</span></a></li>
<li class="search" ng-class="{ searching: alert(this) }"><input ng-model="master.query" placeholder="{{master.textData.search}}" ng-keyup="master.search()"></li>
<li ng-class="{ active: master.tagIs(tag.name)}" ng-repeat="tag in master.tags" ng-if="tag.amount>13" class="tag"><a href ng-click="master.goTo('tag/'+tag.name)" ng-bind="::tag.name+' ('+tag.amount+')'"></a></li>
<li><a href ng-click="master.toggleTags()" class="glyphicon glyphicon-option-horizontal"></span></a></li>
</ul>
</div>
<div class="ng-view" ng-cloak></div>
<lazy ng-if="master.mlcLoaded" id="cookies" class="noselect">
<div ng-include="'src/html/cookie-box.html'" ng-controller="cookieCtrl as c"></div>
</lazy>
<!-- Services -->
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.0/angular.min.js"></script>
<script>(function(r,d,C){'use strict';function x(s,h,g){return{restrict:"ECA",terminal:!0,priority:400,transclude:"element",link:function(a,c,b,f,y){function k(){n&&(g.cancel(n),n=null);l&&(l.$destroy(),l=null);m&&(n=g.leave(m),n.then(function(){n=null}),m=null)}function z(){var b=s.current&&s.current.locals;if(d.isDefined(b&&b.$template)){var b=a.$new(),f=s.current;m=y(b,function(b){g.enter(b,null,m||c).then(function(){!d.isDefined(u)||u&&!a.$eval(u)||h()});k()});l=f.scope=b;l.$emit("$viewContentLoaded"); l.$eval(v)}else k()}var l,m,n,u=b.autoscroll,v=b.onload||"";a.$on("$routeChangeSuccess",z);z()}}}function A(d,h,g){return{restrict:"ECA",priority:-400,link:function(a,c){var b=g.current,f=b.locals;c.html(f.$template);var y=d(c.contents());if(b.controller){f.$scope=a;var k=h(b.controller,f);b.controllerAs&&(a[b.controllerAs]=k);c.data("$ngControllerController",k);c.children().data("$ngControllerController",k)}a[b.resolveAs||"$resolve"]=f;y(a)}}}r=d.module("ngRoute",["ng"]).provider("$route",function(){function s(a, c){return d.extend(Object.create(a),c)}function h(a,d){var b=d.caseInsensitiveMatch,f={originalPath:a,regexp:a},g=f.keys=[];a=a.replace(/([().])/g,"\\$1").replace(/(\/)?:(\w+)([\?\*])?/g,function(a,d,b,c){a="?"===c?c:null;c="*"===c?c:null;g.push({name:b,optional:!!a});d=d||"";return""+(a?"":d)+"(?:"+(a?d:"")+(c&&"(.+?)"||"([^/]+)")+(a||"")+")"+(a||"")}).replace(/([\/$\*])/g,"\\$1");f.regexp=new RegExp("^"+a+"$",b?"i":"");return f}var g={};this.when=function(a,c){var b=d.copy(c);d.isUndefined(b.reloadOnSearch)&& (b.reloadOnSearch=!0);d.isUndefined(b.caseInsensitiveMatch)&&(b.caseInsensitiveMatch=this.caseInsensitiveMatch);g[a]=d.extend(b,a&&h(a,b));if(a){var f="/"==a[a.length-1]?a.substr(0,a.length-1):a+"/";g[f]=d.extend({redirectTo:a},h(f,b))}return this};this.caseInsensitiveMatch=!1;this.otherwise=function(a){"string"===typeof a&&(a={redirectTo:a});this.when(null,a);return this};this.$get=["$rootScope","$location","$routeParams","$q","$injector","$templateRequest","$sce",function(a,c,b,f,h,k,r){function l(b){var e= t.current;(x=(p=n())&&e&&p.$$route===e.$$route&&d.equals(p.pathParams,e.pathParams)&&!p.reloadOnSearch&&!v)||!e&&!p||a.$broadcast("$routeChangeStart",p,e).defaultPrevented&&b&&b.preventDefault()}function m(){var w=t.current,e=p;if(x)w.params=e.params,d.copy(w.params,b),a.$broadcast("$routeUpdate",w);else if(e||w)v=!1,(t.current=e)&&e.redirectTo&&(d.isString(e.redirectTo)?c.path(u(e.redirectTo,e.params)).search(e.params).replace():c.url(e.redirectTo(e.pathParams,c.path(),c.search())).replace()),f.when(e).then(function(){if(e){var a= d.extend({},e.resolve),b,c;d.forEach(a,function(b,e){a[e]=d.isString(b)?h.get(b):h.invoke(b,null,null,e)});d.isDefined(b=e.template)?d.isFunction(b)&&(b=b(e.params)):d.isDefined(c=e.templateUrl)&&(d.isFunction(c)&&(c=c(e.params)),d.isDefined(c)&&(e.loadedTemplateUrl=r.valueOf(c),b=k(c)));d.isDefined(b)&&(a.$template=b);return f.all(a)}}).then(function(c){e==t.current&&(e&&(e.locals=c,d.copy(e.params,b)),a.$broadcast("$routeChangeSuccess",e,w))},function(b){e==t.current&&a.$broadcast("$routeChangeError", e,w,b)})}function n(){var a,b;d.forEach(g,function(f,g){var q;if(q=!b){var h=c.path();q=f.keys;var l={};if(f.regexp)if(h=f.regexp.exec(h)){for(var k=1,n=h.length;k<n;++k){var m=q[k-1],p=h[k];m&&p&&(l[m.name]=p)}q=l}else q=null;else q=null;q=a=q}q&&(b=s(f,{params:d.extend({},c.search(),a),pathParams:a}),b.$$route=f)});return b||g[null]&&s(g[null],{params:{},pathParams:{}})}function u(a,b){var c=[];d.forEach((a||"").split(":"),function(a,d){if(0===d)c.push(a);else{var f=a.match(/(\w+)(?:[?*])?(.*)/), g=f[1];c.push(b[g]);c.push(f[2]||"");delete b[g]}});return c.join("")}var v=!1,p,x,t={routes:g,reload:function(){v=!0;var b={defaultPrevented:!1,preventDefault:function(){this.defaultPrevented=!0;v=!1}};a.$evalAsync(function(){l(b);b.defaultPrevented||m()})},updateParams:function(a){if(this.current&&this.current.$$route)a=d.extend({},this.current.params,a),c.path(u(this.current.$$route.originalPath,a)),c.search(a);else throw B("norout");}};a.$on("$locationChangeStart",l);a.$on("$locationChangeSuccess", m);return t}]});var B=d.$$minErr("ngRoute");r.provider("$routeParams",function(){this.$get=function(){return{}}});r.directive("ngView",x);r.directive("ngView",A);x.$inject=["$route","$anchorScroll","$animate"];A.$inject=["$compile","$controller","$route"]})(window,window.angular);</script>
<!-- Minfied file with all js-code: -->
<script src="min/initial-js.min.js"></script>
<!-- Stylesheets: -->
<link href="min/main.min.css" rel="stylesheet">
</body>
</html>