copied fucking angular from htmlsupplier, I hate this shit, got at least 50 errors, now its only 100 warnings, but at least it doesnt die on me, fuck this shit

This commit is contained in:
Daniel Hübleitner
2019-07-28 11:55:17 +02:00
parent cb1060dbca
commit 1e6621bb11
38 changed files with 4816 additions and 489 deletions
+5
View File
@@ -0,0 +1,5 @@
export default class Controller {
private $rootScope;
static $inject: string[];
constructor($rootScope: any);
}
+8
View File
@@ -0,0 +1,8 @@
export default class Controller {
static $inject = ['$rootScope']
constructor(private $rootScope){
}
}
+7
View File
@@ -0,0 +1,7 @@
import './index.scss';
import rootCtrl from './controller';
declare const _default: {
template: string;
controller: typeof rootCtrl;
};
export default _default;
+34
View File
@@ -0,0 +1,34 @@
<div class="grid">
<aside class="sidenav">
<div class="sidenav__profile">
<a class="sidenav__brand-link" href="#">Front<span class="text-light">block</span></a>
<i class="fas fa-times sidenav__brand-close"></i>
</div>
<div class="row row--align-v-center row--align-h-center">
<ul class="navlist">
<li class="navlist__heading">wallets<i class="far fa-file-alt"></i></li>
<!--
<a ui-sref="btc" ui-sref-active="active">
<div class="navlist__subheading row row--align-v-center">
<span class="navlist__subheading-icon"><i class="fas fa-briefcase-medical"></i></span>
<span class="navlist__subheading-title">Bitcoin</span>
</div>
</a>
-->
<a ui-sref="todolist" ui-sref-active="active">
<div class="navlist__subheading row row--align-v-center">
<span class="navlist__subheading-icon"><i class="fas fa-users"></i></span>
<span class="navlist__subheading-title">ANOTHER ONE</span>
</div>
</a>
</ul>
</div>
</aside>
<main class="main">
<div ui-view class="view"></div>
</main>
<footer class="footer">
<p><span class="footer__copyright">&copy;</span> MIT license (open source)</p>
<p>by <a href="https://frontblock.me" target="_blank" class="footer__signature">Frontblock.me</a></p>
</footer>
</div>
+6
View File
@@ -0,0 +1,6 @@
.view {
height: 100%;
min-height: 300px;
}
+8
View File
@@ -0,0 +1,8 @@
import html from './index.html'
import './index.scss'
import rootCtrl from './controller'
export default {
template: html,
controller: rootCtrl
}
+2
View File
@@ -0,0 +1,2 @@
declare const _default: string;
export default _default;
+7
View File
@@ -0,0 +1,7 @@
import angular = require('angular')
import Root from './Root'
export default angular
.module('components', [])
.component('root', Root)
.name