Changeset 785b8bd for Farmatiko


Ignore:
Timestamp:
07/24/20 03:17:26 (4 years ago)
Author:
Mile Jankuloski <mile.jankuloski@…>
Branches:
master
Children:
de2baac
Parents:
37c8d1d
Message:

Dashboards v0.1

Location:
Farmatiko/ClientApp/src
Files:
12 added
10 edited

Legend:

Unmodified
Added
Removed
  • Farmatiko/ClientApp/src/app/app.component.html

    r37c8d1d r785b8bd  
    11<body>
    2   <app-nav-menu></app-nav-menu>
    32  <div class="container">
    43    <router-outlet></router-outlet>
  • Farmatiko/ClientApp/src/app/app.module.ts

    r37c8d1d r785b8bd  
    44import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
    55import { RouterModule } from '@angular/router';
     6import { MaterialModule } from './shared/material.module';
     7import { ReactiveFormsModule } from '@angular/forms';
    68
    79import { AppComponent } from './app.component';
     
    1214import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
    1315import { KoronaComponent } from './korona/korona.component';
     16import { AdminComponent } from './admin/admin.component';
     17import { DashboardComponent } from './dashboard/dashboard.component';
     18import { LoginComponent } from './login/login.component';
    1419
    1520@NgModule({
     
    2025    CounterComponent,
    2126    FetchDataComponent,
    22     KoronaComponent
     27    KoronaComponent,
     28    AdminComponent,
     29    DashboardComponent,
     30    LoginComponent
    2331  ],
    2432  imports: [
     
    3038      { path: 'mapa', component: CounterComponent },
    3139      { path: 'fetch-data', component: FetchDataComponent },
    32       { path: 'koronavirus', component: KoronaComponent }
     40      { path: 'koronavirus', component: KoronaComponent },
     41      { path: 'admin', component: AdminComponent },
     42      { path: 'dashboard', component: DashboardComponent },
     43      { path: 'login', component: LoginComponent }
    3344    ]),
    34     BrowserAnimationsModule
     45    BrowserAnimationsModule,
     46    MaterialModule,
     47    ReactiveFormsModule
    3548  ],
    3649  providers: [],
  • Farmatiko/ClientApp/src/app/counter/counter.component.html

    r37c8d1d r785b8bd  
    77<button class="btn btn-primary" (click)="incrementCounter()">Increment</button> -->
    88
     9<app-nav-menu></app-nav-menu>
    910
    1011<div class="wrapper">
  • Farmatiko/ClientApp/src/app/home/home.component.html

    r37c8d1d r785b8bd  
     1<app-nav-menu></app-nav-menu>
     2
    13<div class="wrapper">
    24  <div>
  • Farmatiko/ClientApp/src/app/home/home.component.ts

    r37c8d1d r785b8bd  
    11import { Component, OnInit, Input, ViewChild } from '@angular/core';
    2 import { MaterialModule } from '../shared/material.module';
    32
    43@Component({
  • Farmatiko/ClientApp/src/app/korona/korona.component.html

    r37c8d1d r785b8bd  
     1<app-nav-menu></app-nav-menu>
     2
    13<div class="container">
    24  <div class="row">
  • Farmatiko/ClientApp/src/app/nav-menu/nav-menu.component.css

    r37c8d1d r785b8bd  
    55}
    66
    7   a.navbar-brand img {
    8     width: 200px;
    9   }
     7a.navbar-brand img {
     8  width: 200px;
     9}
    1010
    1111html {
  • Farmatiko/ClientApp/src/app/nav-menu/nav-menu.component.html

    r37c8d1d r785b8bd  
    2121          </li>
    2222          <li class="nav-item" [routerLinkActive]="['link-active']">
    23             <a class="nav-link text-dark" [routerLink]="['/mapa']">Мапа на здравствени работници и здравствени установи</a>
     23            <a class="nav-link text-dark" [routerLink]="['/mapa']">Мапа</a>
    2424          </li>
    2525          <li class="nav-item" [routerLinkActive]="['link-active']">
  • Farmatiko/ClientApp/src/custom-theme.scss

    r37c8d1d r785b8bd  
    1313// (imported above). For each palette, you can optionally specify a default, lighter, and darker
    1414// hue. Available color palettes: https://material.io/design/color/
    15 $Farmatiko-primary: mat-palette($mat-indigo);
     15$Farmatiko-primary: mat-palette($mat-green);
    1616$Farmatiko-accent: mat-palette($mat-pink, A200, A100, A400);
    1717
  • Farmatiko/ClientApp/src/styles.css

    r37c8d1d r785b8bd  
    22
    33/* Provide sufficient contrast against white background */
     4* {
     5  box-sizing: border-box;
     6}
     7
    48a {
    59  color: #0366d6;
Note: See TracChangeset for help on using the changeset viewer.