diff --git a/clientApp/GUI/app.js b/clientApp/GUI/app.js index 78d5219..a40accd 100644 --- a/clientApp/GUI/app.js +++ b/clientApp/GUI/app.js @@ -1,6 +1,6 @@ 'use strict'; -var urlapi = "http://127.0.0.1:3130/"; + var clientapi = "http://127.0.0.1:4100/"; // Declare app level module which depends on views, and components @@ -10,15 +10,18 @@ angular.module('app', [ 'angularBootstrapMaterial', 'ui.bootstrap', 'toastr', + 'chart.js', 'app.navbar', 'app.main', 'app.signup', - 'app.login' + 'app.login', + 'app.id', + 'app.stats' ]). config(['$locationProvider', '$routeProvider', function($locationProvider, $routeProvider) { $locationProvider.hashPrefix('!'); - if ((localStorage.getItem('blid_token'))) { + if ((localStorage.getItem('old_darkID_token'))) { console.log(window.location.hash); if ((window.location.hash === '#!/login') || (window.location.hash === '#!/signup')) { window.location = '#!/main'; @@ -31,8 +34,8 @@ config(['$locationProvider', '$routeProvider', function($locationProvider, $rout if ((window.location !== '#!/login') || (window.location !== '#!/signup')) { console.log('app, user no logged'); - localStorage.removeItem('blid_token'); - localStorage.removeItem('blid_userdata'); + localStorage.removeItem('old_darkID_token'); + localStorage.removeItem('old_darkID_userdata'); window.location = '#!/login'; $routeProvider.otherwise({ redirectTo: '/login' diff --git a/clientApp/GUI/bower.json b/clientApp/GUI/bower.json index 315b74d..998eff3 100644 --- a/clientApp/GUI/bower.json +++ b/clientApp/GUI/bower.json @@ -1,6 +1,6 @@ { - "name": "angular-seed", - "description": "A starter project for AngularJS", + "name": "darkID-clientApp", + "description": "", "version": "0.0.0", "homepage": "", "license": "MIT", @@ -13,6 +13,7 @@ "angular-bootstrap": "^2.5.0", "components-font-awesome": "^4.7.0", "angular-toastr": "^2.1.1", - "cssMaterialColors": "*" + "cssMaterialColors": "*", + "angular-chart.js": "^1.1.1" } } diff --git a/clientApp/GUI/css/bootstrapMaterial-dark-overwrite.css b/clientApp/GUI/css/bootstrapMaterial-dark-overwrite.css index 259f10a..5cf2c3f 100644 --- a/clientApp/GUI/css/bootstrapMaterial-dark-overwrite.css +++ b/clientApp/GUI/css/bootstrapMaterial-dark-overwrite.css @@ -1,14 +1,32 @@ +@font-face { + font-family: Elianto; + src: url('../fonts/Elianto/Elianto.otf'); +} + body { /*background: #15191e!important;*/ background: #000000!important; color: #ffffff!important; + font-family: 'Open Sans', sans-serif!important; } + .card { - /*background: #1f262d!important;*/ + background: #1f262d!important; /*background: #15191e!important; color: #ffffff!important;*/ /*border: 1px solid #ffffff!important;*/ - background: #000000!important; color: #ffffff!important; } + +h1, h2, h3, h4, h5, h6 { + /*font-family: 'Raleway', sans-serif!important;*/ + font-family: 'Overpass Mono', monospace!important; +} + +.navbar-brand, .card-title, .navbar-nav { + font-family: 'Overpass Mono', monospace!important; +} +.btn { + font-family: 'Overpass Mono', monospace!important; +} diff --git a/clientApp/GUI/fonts/Blanka/Blanka-Regular.otf b/clientApp/GUI/fonts/Blanka/Blanka-Regular.otf new file mode 100644 index 0000000..60b18d7 Binary files /dev/null and b/clientApp/GUI/fonts/Blanka/Blanka-Regular.otf differ diff --git a/clientApp/GUI/fonts/Blanka/Please Read This.rtf b/clientApp/GUI/fonts/Blanka/Please Read This.rtf new file mode 100644 index 0000000..007f41e --- /dev/null +++ b/clientApp/GUI/fonts/Blanka/Please Read This.rtf @@ -0,0 +1,15 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1265\cocoasubrtf190 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +\paperw11900\paperh16840\margl1440\margr1440\vieww10800\viewh8400\viewkind0 +\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural + +\f0\fs24 \cf0 Thanks for downloading BLANKA FONT !\ +\ +You can use it for free and commercial.\ +\ +Feedbacks are welcome !\ +\ +\'97\ +Emmeran RICHARD.\ +www.emmeranrichard.fr} \ No newline at end of file diff --git a/clientApp/GUI/fonts/Elianto/Elianto-Regular.otf b/clientApp/GUI/fonts/Elianto/Elianto-Regular.otf new file mode 100644 index 0000000..6ad449c Binary files /dev/null and b/clientApp/GUI/fonts/Elianto/Elianto-Regular.otf differ diff --git a/clientApp/GUI/fonts/Elianto/Elianto-Regular.ttf b/clientApp/GUI/fonts/Elianto/Elianto-Regular.ttf new file mode 100644 index 0000000..2dbbc96 Binary files /dev/null and b/clientApp/GUI/fonts/Elianto/Elianto-Regular.ttf differ diff --git a/clientApp/GUI/img/darkID-logo-black.png b/clientApp/GUI/img/darkID-logo-black.png new file mode 100644 index 0000000..dc84861 Binary files /dev/null and b/clientApp/GUI/img/darkID-logo-black.png differ diff --git a/clientApp/GUI/img/darkID-logo-white.png b/clientApp/GUI/img/darkID-logo-white.png new file mode 100644 index 0000000..ddadf84 Binary files /dev/null and b/clientApp/GUI/img/darkID-logo-white.png differ diff --git a/clientApp/GUI/img/darkID-logo.xcf b/clientApp/GUI/img/darkID-logo.xcf new file mode 100644 index 0000000..56a372d Binary files /dev/null and b/clientApp/GUI/img/darkID-logo.xcf differ diff --git a/clientApp/GUI/img/darkID-logo01.png b/clientApp/GUI/img/darkID-logo01.png new file mode 100644 index 0000000..8165571 Binary files /dev/null and b/clientApp/GUI/img/darkID-logo01.png differ diff --git a/clientApp/GUI/img/darkID-logo01_transparent.png b/clientApp/GUI/img/darkID-logo01_transparent.png new file mode 100644 index 0000000..50cb8eb Binary files /dev/null and b/clientApp/GUI/img/darkID-logo01_transparent.png differ diff --git a/clientApp/GUI/img/darkID-logo02.png b/clientApp/GUI/img/darkID-logo02.png new file mode 100644 index 0000000..04fb61b Binary files /dev/null and b/clientApp/GUI/img/darkID-logo02.png differ diff --git a/clientApp/GUI/index.html b/clientApp/GUI/index.html index ba757bf..1b39b44 100644 --- a/clientApp/GUI/index.html +++ b/clientApp/GUI/index.html @@ -3,10 +3,16 @@
-