diff --git a/dashboard/README.md b/dashboard/README.md new file mode 100644 index 0000000..8079bfc --- /dev/null +++ b/dashboard/README.md @@ -0,0 +1,28 @@ +# Dashboard + +This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.3.2. + +## Development server + +Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files. + +## Code scaffolding + +Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`. + +## Build + +Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build. + +## Running unit tests + +Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). + +## Running end-to-end tests + +Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/). +Before running the tests make sure you are serving the app via `ng serve`. + +## Further help + +To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI README](https://github.com/angular/angular-cli/blob/master/README.md). diff --git a/dashboard/src/fontello.css b/dashboard/src/fontello.css new file mode 100644 index 0000000..2355142 --- /dev/null +++ b/dashboard/src/fontello.css @@ -0,0 +1,60 @@ +@font-face { + font-family: 'fontello'; + src: url('./assets/fonts/fontello/fontello.eot?59321355'); + src: url('./assets/fonts/fontello/fontello.eot?59321355#iefix') format('embedded-opentype'), + url('./assets/fonts/fontello/fontello.woff2?59321355') format('woff2'), + url('./assets/fonts/fontello/fontello.woff?59321355') format('woff'), + url('./assets/fonts/fontello/fontello.ttf?59321355') format('truetype'), + url('./assets/fonts/fontello/fontello.svg?59321355#fontello') format('svg'); + font-weight: normal; + font-style: normal; + } + /* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */ + /* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */ + /* + @media screen and (-webkit-min-device-pixel-ratio:0) { + @font-face { + font-family: 'fontello'; + src: url('../font/fontello.svg?59321355#fontello') format('svg'); + } + } + */ + + [class^="icon-"]:before, [class*=" icon-"]:before { + font-family: "fontello"; + font-style: normal; + font-weight: normal; + speak: none; + + display: inline-block; + text-decoration: inherit; + width: 1em; + margin-right: .2em; + text-align: center; + /* opacity: .8; */ + + /* For safety - reset parent styles, that can break glyph codes*/ + font-variant: normal; + text-transform: none; + + /* fix buttons height, for twitter bootstrap */ + line-height: 1em; + + /* Animation center compensation - margins should be symmetric */ + /* remove if not needed */ + margin-left: .2em; + + /* you can be more comfortable with increased icons size */ + font-size: 130%; + + /* Font smoothing. That was taken from TWBS */ + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; + + /* Uncomment for 3D effect */ + /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ + } + + .icon-videocam:before { content: '\e800'; } /* '' */ + .icon-tv:before { content: '\e801'; } /* '' */ + .icon-user:before { content: '\e802'; } /* '' */