Skip to content

Commit

Permalink
Serve all libs locally and add favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
AlecDusheck committed Dec 22, 2018
1 parent 678f839 commit f14656b
Show file tree
Hide file tree
Showing 27 changed files with 38 additions and 19 deletions.
3 changes: 3 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
"src/themes.scss"
],
"scripts": [
"node_modules/jquery/dist/jquery.js",
"node_modules/tether/dist/js/tether.js",
"node_modules/bootstrap/dist/js/bootstrap.js"
]
},
"configurations": {
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@
"angular-notifier": "^4.1.1",
"bootstrap": "^4.0.0-alpha.6",
"core-js": "^2.5.4",
"jquery": "^3.3.1",
"rxjs": "~6.2.0",
"socket.io-client": "^2.2.0",
"tether": "^1.4.5",
"zone.js": "~0.8.26",
"zxcvbn": "^4.4.2"
},
Expand Down
5 changes: 4 additions & 1 deletion src/app/controllers/navbar/navbar.component.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

<nav class="navbar navbar-toggleable-md navbar-inverse">
<a href="/" class="navbar-brand text-primary">Simply Servers Alpha</a>
<a routerLink="/" class="navbar-brand text-primary">Simply Servers Alpha</a>
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse"
data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false"
aria-label="Toggle navigation">
Expand All @@ -23,6 +23,9 @@
<li class="nav-item" *ngIf="!login">
<a class="nav-link text-primary" routerLink="/login">Login</a>
</li>
<li class="nav-item" *ngIf="!login">
<a class="nav-link text-primary" routerLink="/register">Register</a>
</li>
<li class="nav-item dropdown" *ngIf="login">
<a class="nav-link dropdown-toggle text-primary" href="#" id="navbarAccountDropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
{{username}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<li class="srv-mgt end" *ngIf="isOwner" [class.selected]="currentUrl == '/panel/settings'">
<a routerLink="/panel/settings"><i class="material-icons">settings</i>Settings</a>
</li>
<li *ngIf="!isMinecraft" class="srv-mgt end" [class.selected]="currentUrl == '/panel/plugins'">
<li *ngIf="!hidePlugins" class="srv-mgt end" [class.selected]="currentUrl == '/panel/plugins'">
<a routerLink="/panel/settings"><i class="material-icons">developer_board</i>Mods</a>
</li>
<div *ngIf="isMinecraft" class="plugin-viewer">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export class PanelFrameComponent implements OnInit, OnDestroy {

isMinecraft = false;
isOwner = false;
hidePlugins = false;

currentUrl: string;

Expand Down Expand Up @@ -46,6 +47,7 @@ export class PanelFrameComponent implements OnInit, OnDestroy {
//Typescript can be super dumb sometimes
const views = <any>this.currentServer.preset.special.views;
this.isMinecraft = views.indexOf("minecraft") > -1;
this.hidePlugins = views.indexOf("no_plugin_viewer") > -1;
this.isOwner = this.currentServer.isOwner;
}

Expand Down
Binary file added src/assets/apple-touch-icon-114x114.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/apple-touch-icon-120x120.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/apple-touch-icon-144x144.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/apple-touch-icon-152x152.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/apple-touch-icon-57x57.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/apple-touch-icon-60x60.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/apple-touch-icon-72x72.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/apple-touch-icon-76x76.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/favicon-128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/favicon-196x196.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/favicon-96x96.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/favicon.ico
Binary file not shown.
Binary file added src/assets/mstile-144x144.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/mstile-150x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/mstile-310x150.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/mstile-310x310.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/mstile-70x70.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 20 additions & 13 deletions src/index.html
Original file line number Diff line number Diff line change
@@ -1,25 +1,32 @@
<!--
Simply Servers: Free, optimized, and DDOS protected servers. All at no cost.
Built with <3 by the Simply Servers team.
-->
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Simply Servers</title>
<base href="/">

<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">

<link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link rel="apple-touch-icon-precomposed" sizes="57x57" href="/assets/apple-touch-icon-57x57.png" />
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/assets/apple-touch-icon-114x114.png" />
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/assets/apple-touch-icon-72x72.png" />
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/assets/apple-touch-icon-144x144.png" />
<link rel="apple-touch-icon-precomposed" sizes="60x60" href="/assets/apple-touch-icon-60x60.png" />
<link rel="apple-touch-icon-precomposed" sizes="120x120" href="/assets/apple-touch-icon-120x120.png" />
<link rel="apple-touch-icon-precomposed" sizes="76x76" href="/assets/apple-touch-icon-76x76.png" />
<link rel="apple-touch-icon-precomposed" sizes="152x152" href="/assets/apple-touch-icon-152x152.png" />
<link rel="icon" type="image/png" href="/assets/favicon-196x196.png" sizes="196x196" />
<link rel="icon" type="image/png" href="/assets/favicon-96x96.png" sizes="96x96" />
<link rel="icon" type="image/png" href="/assets/favicon-32x32.png" sizes="32x32" />
<link rel="icon" type="image/png" href="/assets/favicon-16x16.png" sizes="16x16" />
<link rel="icon" type="image/png" href="/assets/favicon-128.png" sizes="128x128" />
<meta name="application-name" content="Simply Servers"/>
<meta name="msapplication-TileColor" content="#FFFFFF" />
<meta name="msapplication-TileImage" content="/assets/mstile-144x144.png" />
<meta name="msapplication-square70x70logo" content="/assets/mstile-70x70.png" />
<meta name="msapplication-square150x150logo" content="/assets/mstile-150x150.png" />
<meta name="msapplication-wide310x150logo" content="/assets/mstile-310x150.png" />
<meta name="msapplication-square310x310logo" content="/assets/mstile-310x310.png" />
</head>
<body>
<app-root></app-root>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
</body>
</html>
<!-- frontend deploy: Robin -->
8 changes: 4 additions & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app/app.module';
import { environment } from './environments/environment';

console.log(`%c ________________________________________
Want to help change the way game servers work?
< https://simplyservers.io/apply >
________________________________________
console.log(`%c ________________________________________
Made with <3 by the SimplyServers Team.
________________________________________
.__ .__ .__
_____|__| _____ ______ | | ___.__. ______ ______________ __ ___________ ______ |__| ____
/ ___/ |/ \\\\____ \\| |< | |/ ___// __ \\_ __ \\ \\/ // __ \\_ __ \\/ ___/ | |/ _ \\
Expand Down
2 changes: 2 additions & 0 deletions src/themes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,5 @@ body{
}

@import "../node_modules/angular-notifier/styles";
@import url('https://fonts.googleapis.com/css?family=Raleway');
@import url('https://fonts.googleapis.com/icon?family=Material+Icons');

0 comments on commit f14656b

Please sign in to comment.