* gitignore updated with correct dist folder
* auth welcome message changed * deploy script fixed * paths changed for live auth page * nested set implementation in backend rewquired frontend indent change aswell
This commit is contained in:
parent
69ff846f1f
commit
9e8d2e621d
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,7 +1,7 @@
|
|||||||
# See http://help.github.com/ignore-files/ for more about ignoring files.
|
# See http://help.github.com/ignore-files/ for more about ignoring files.
|
||||||
|
|
||||||
# compiled output
|
# compiled output
|
||||||
/dist-beik
|
/dist-gulbaba
|
||||||
/tmp
|
/tmp
|
||||||
/out-tsc
|
/out-tsc
|
||||||
/semantic
|
/semantic
|
||||||
|
|||||||
@ -1,7 +1 @@
|
|||||||
# webnaplo BEIK frontend
|
# webnaplo Gül-Baba frontend
|
||||||
|
|
||||||
modules
|
|
||||||
* auth
|
|
||||||
* fault
|
|
||||||
* report
|
|
||||||
* shared ?
|
|
||||||
|
|||||||
@ -5,7 +5,6 @@ require 'recipe/common.php';
|
|||||||
|
|
||||||
// Configuration
|
// Configuration
|
||||||
|
|
||||||
// set('repository', 'git@domain.com:username/repository.git');
|
|
||||||
set('shared_files', []);
|
set('shared_files', []);
|
||||||
set('shared_dirs', []);
|
set('shared_dirs', []);
|
||||||
set('writable_dirs', []);
|
set('writable_dirs', []);
|
||||||
@ -16,17 +15,17 @@ set('default_stage', 'production');
|
|||||||
|
|
||||||
host('lxuz.hu')
|
host('lxuz.hu')
|
||||||
->stage('production')
|
->stage('production')
|
||||||
->user('latuzcs_beik_frontend_access')
|
->user('benkeg_gulbaba_frontend_access')
|
||||||
->forwardAgent()
|
->forwardAgent()
|
||||||
->set('ng_target', 'production')
|
->set('ng_target', 'production')
|
||||||
->set('ng_environment', 'gulbaba')
|
->set('ng_environment', 'gulbaba')
|
||||||
->set('deploy_path', '/var/www/clients/client5/web19/deploy');
|
->set('deploy_path', '/var/www/clients/client4/web37/deploy');
|
||||||
|
|
||||||
// Tasks
|
// Tasks
|
||||||
|
|
||||||
desc('Prepare release');
|
desc('Prepare release');
|
||||||
task('deploy:ng-prepare', function() {
|
task('deploy:ng-prepare', function() {
|
||||||
runLocally("ng build --target={{ng_target}} --environment=prod --output-path=dist-{{ng_environment}}");
|
runLocally("ng build frontend --prod --output-path=dist-{{ng_environment}}");
|
||||||
runLocally("tar -C dist-{{ng_environment}} -cJf dist-{{ng_environment}}.tar.xz .");
|
runLocally("tar -C dist-{{ng_environment}} -cJf dist-{{ng_environment}}.tar.xz .");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -21,7 +21,7 @@ export function tokenGetterFunctionWrapper() {
|
|||||||
tokenGetter: tokenGetterFunctionWrapper,
|
tokenGetter: tokenGetterFunctionWrapper,
|
||||||
whitelistedDomains: [
|
whitelistedDomains: [
|
||||||
"localhost:8888",
|
"localhost:8888",
|
||||||
"api.beik.lxuz.hu",
|
"api.gulbaba.bggeneral.hu",
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
|
|||||||
@ -1,9 +1,9 @@
|
|||||||
<div class="ui middle aligned center aligned grid">
|
<div class="ui middle aligned center aligned grid">
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<h2 class="ui teal image header">
|
<h2 class="ui teal image header">
|
||||||
<i class="circular inverted tiny olive file text icon"></i>
|
<i class="circular inverted tiny olive wrench icon"></i>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
WN BEIK Bejelentkezés
|
WN GÜLBABA Bejelentkezés
|
||||||
</div>
|
</div>
|
||||||
</h2>
|
</h2>
|
||||||
<form (ngSubmit)="doSubmit()" class="ui large form" [class.error]="hasError" [class.loading]="isLoading">
|
<form (ngSubmit)="doSubmit()" class="ui large form" [class.error]="hasError" [class.loading]="isLoading">
|
||||||
|
|||||||
@ -13,7 +13,7 @@
|
|||||||
<i class="dropdown icon"></i>
|
<i class="dropdown icon"></i>
|
||||||
<div class="default text">Válasszon</div>
|
<div class="default text">Válasszon</div>
|
||||||
<div class="menu">
|
<div class="menu">
|
||||||
<div class="item {{flClass(facilityLocation)}}" [class.disabled]="facilityLocation.level==2"
|
<div class="item {{flClass(facilityLocation)}}" [class.disabled]="facilityLocation.level==1"
|
||||||
*ngFor="let facilityLocation of facilityLocations"
|
*ngFor="let facilityLocation of facilityLocations"
|
||||||
[attr.data-value]="facilityLocation?.id">
|
[attr.data-value]="facilityLocation?.id">
|
||||||
<strong>{{facilityLocation?.roomNumber}}</strong> - {{facilityLocation?.name}}
|
<strong>{{facilityLocation?.roomNumber}}</strong> - {{facilityLocation?.name}}
|
||||||
|
|||||||
@ -2,12 +2,11 @@
|
|||||||
import {finalize} from 'rxjs/operators';
|
import {finalize} from 'rxjs/operators';
|
||||||
import { AfterViewInit, Component, ElementRef, OnInit, ViewChild } from '@angular/core';
|
import { AfterViewInit, Component, ElementRef, OnInit, ViewChild } from '@angular/core';
|
||||||
import { ActivatedRoute, Router } from "@angular/router";
|
import { ActivatedRoute, Router } from "@angular/router";
|
||||||
import { ErrorCategory } from "../shared/error-category";
|
import { ErrorCategory } from "../shared";
|
||||||
import { ErrorOrigin } from "../shared/error-origin";
|
import { ErrorOrigin } from "../shared";
|
||||||
import { FacilityLocation } from "../shared/facility-location";
|
import { FacilityLocation } from "../shared";
|
||||||
import { SolutionTimeInterval } from "../shared/solution-time-interval";
|
import { SolutionTimeInterval } from "../shared";
|
||||||
import { FaultManagerService } from "../fault-manager.service";
|
import { FaultManagerService } from "../fault-manager.service";
|
||||||
import { Fault } from "../shared/fault";
|
|
||||||
import { SimpleFault } from "../shared/simple-fault";
|
import { SimpleFault } from "../shared/simple-fault";
|
||||||
import { Title } from "@angular/platform-browser";
|
import { Title } from "@angular/platform-browser";
|
||||||
|
|
||||||
@ -77,7 +76,7 @@ export class RecordFaultComponent implements OnInit, AfterViewInit {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public flClass(fl: FacilityLocation) {
|
public flClass(fl: FacilityLocation) {
|
||||||
return 'depth' + (fl.level - 1).toString();
|
return 'depth' + (fl.level).toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
public doSubmit() {
|
public doSubmit() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user