| - | - | - | + | + | + | + |
diff --git a/angular.json b/angular.json index 24246d0..7fc60b8 100644 --- a/angular.json +++ b/angular.json @@ -18,7 +18,7 @@ "zone.js" ], "tsConfig": "tsconfig.app.json", - "assets": [ + "assets": [ "src/assets", "src/favicon.ico", { @@ -62,6 +62,10 @@ }, "serve": { "builder": "@angular/build:dev-server", + "options": { + "host": "0.0.0.0", + "allowedHosts": true + }, "configurations": { "production": { "buildTarget": "Btc-race-app:build:production" diff --git a/package.json b/package.json index 63d5efb..86833c9 100644 --- a/package.json +++ b/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "scripts": { "ng": "ng", - "start": "ng serve", + "start": "ng serve --host 0.0.0.0 --port 4200", "build": "ng build", "watch": "ng build --watch --configuration development", "test": "ng test" diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index e6cfe06..1cfd9f8 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -1,6 +1,7 @@ import { Routes } from '@angular/router'; import { LoginComponent } from './login/login.component'; import { HomeComponent } from './home/home.component'; +import {AuthGuard} from './service/auth.guard'; export const routes: Routes = [ { path: 'login', component: LoginComponent }, diff --git a/src/app/components/middle-section/middle-section.component.css b/src/app/components/middle-section/middle-section.component.css index f167728..bdc78c0 100644 --- a/src/app/components/middle-section/middle-section.component.css +++ b/src/app/components/middle-section/middle-section.component.css @@ -1,13 +1,11 @@ - - .borderless-custom { border-collapse: separate; border-spacing: 4px; } .custom-cell { - height: 3.4rem; /* increased height for better fill */ + height: 2.5rem; /* increased height for better fill */ background-color: #f8f9fa; border: 1px solid #ced4da; border-radius: 0.3rem; @@ -22,23 +20,27 @@ div[style*="background-color: black"] .custom-cell { /* Override custom cell color inside grey box */ .pure-white { background-color: #ffffff !important; + border-color: black; } .middle-section-container { display: flex; gap: 1rem; - height: 49vh; + height: 38vh; width: 100%; + } /* Desktop view (default) */ .main-table { width: 60%; + background-color: #f1f1f1df; } .transaction-summary { width: 40%; + background-color: #d0ddf5; } .borderless-custom { @@ -46,11 +48,11 @@ div[style*="background-color: black"] .custom-cell { border-spacing: 4px; } -.custom-cell { - height: 3.4rem; +.custom-cell-new { + height: 2.5rem; background-color: #f8f9fa; - border: 1px solid #ced4da; border-radius: 0.3rem; + border: 1px solid rgba(3, 27, 69, 0.678); } div[style*="background-color: black"] .custom-cell { @@ -60,6 +62,24 @@ div[style*="background-color: black"] .custom-cell { .pure-white { background-color: #ffffff !important; } + +.buttons-custom{ + display: flex; + height: 2.6rem; + width: 100%; + justify-content: space-between; + padding-bottom: 0.2rem; +} + + +.btn{ + padding-bottom:0.8rem; + height: 100%; +} +.fw-bold{ + margin-right: 2rem; + padding-bottom: 1rem; +} /* Desktop view (default) - reorder the layout */ @media (min-width: 801px) { .main-table { @@ -87,3 +107,14 @@ div[style*="background-color: black"] .custom-cell { margin-bottom: 1rem; } } + +/* REMOVE or COMMENT this block */ +@media (min-width: 900px) and (max-width: 1400px) { + .middle-section-container { + height: auto; + max-height: 50vh; + } + + +} +/* REMOVE or COMMENT this block fixed */ diff --git a/src/app/components/middle-section/middle-section.component.html b/src/app/components/middle-section/middle-section.component.html index 281466b..872d5f5 100644 --- a/src/app/components/middle-section/middle-section.component.html +++ b/src/app/components/middle-section/middle-section.component.html @@ -3,7 +3,7 @@
| - | - | - | + | + | + | + |
@@ -17,40 +17,49 @@
BANGALORE TURF CLUB LTD