Commit 1203a4fb authored by Open Source Developer's avatar Open Source Developer
Browse files

UI

parent ef693530
...@@ -51,6 +51,7 @@ ...@@ -51,6 +51,7 @@
border: none!important; border: none!important;
width: 200px; width: 200px;
padding:5px 10px; padding:5px 10px;
} }
......
...@@ -36,10 +36,9 @@ import {AppSettings} from '../../app.settings'; ...@@ -36,10 +36,9 @@ import {AppSettings} from '../../app.settings';
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-2 col-md-offset-5"> <div class="col-md-12 col-md-offset-5">
<button type="button" class="btn-primary btn-lg pull-right" (click)="saveSelected()"> <button type="button" class="btn-primary btn-lg pull-right" (click)="saveSelected()">
Συνέχεια<span class="glyphicon glyphicon-menu-right"></span> Συνέχεια </button>
</button>
</div> </div>
<div *ngIf="emptyselection==true"> <div *ngIf="emptyselection==true">
Παρακαλώ συμπληρώστε το ΑΜΚΑ του μαθητή Παρακαλώ συμπληρώστε το ΑΜΚΑ του μαθητή
......
...@@ -135,8 +135,8 @@ ...@@ -135,8 +135,8 @@
<span class="glyphicon glyphicon-menu-left"></span>Πίσω <span class="glyphicon glyphicon-menu-left"></span>Πίσω
</button> </button>
</div> </div>
<div class="col-md-2"> <div class="col-md-8">
<button type="button" class="btn-primary btn-lg pull-center" (click)="submitSelected()" [disabled]="studentDataGroup.invalid"> <button type="button" class="btn-primary btn-lg pull-right" (click)="submitSelected()" [disabled]="studentDataGroup.invalid">
Συνέχεια<span class="glyphicon glyphicon-menu-right"></span> Συνέχεια<span class="glyphicon glyphicon-menu-right"></span>
</button> </button>
</div> </div>
......
...@@ -32,8 +32,8 @@ import {AppSettings} from '../../app.settings'; ...@@ -32,8 +32,8 @@ import {AppSettings} from '../../app.settings';
</div> </div>
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-2 col-md-offset-5"> <div class="col-md-12 col-md-offset-5">
<button type="button" class="btn-primary btn-lg pull-center" (click)="saveSelected()"> <button type="button" class="btn-primary btn-lg pull-right" (click)="saveSelected()">
Συνέχεια<span class="glyphicon glyphicon-menu-right"></span> Συνέχεια<span class="glyphicon glyphicon-menu-right"></span>
</button> </button>
</div> </div>
......
...@@ -30,8 +30,8 @@ import {AppSettings} from '../../app.settings'; ...@@ -30,8 +30,8 @@ import {AppSettings} from '../../app.settings';
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-2 col-md-offset-5"> <div class="col-md-12 col-md-offset-5">
<button type="button" class="btn-primary btn-lg pull-center" (click)="saveSelected()"> <button type="button" class="btn-primary btn-lg pull-right" (click)="saveSelected()">
Συνέχεια<span class="glyphicon glyphicon-menu-right"></span> Συνέχεια<span class="glyphicon glyphicon-menu-right"></span>
</button> </button>
</div> </div>
......
...@@ -52,8 +52,8 @@ import {AppSettings} from '../../app.settings'; ...@@ -52,8 +52,8 @@ import {AppSettings} from '../../app.settings';
</ul> </ul>
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-2 col-md-offset-5"> <div class="col-md-12 col-md-offset-5">
<button type="button" class="btn-primary btn-lg pull-center" (click)="navigateToApplication()" [disabled] = "numSelected === 0" > <button type="button" class="btn-primary btn-lg pull-right" (click)="navigateToApplication()" [disabled] = "numSelected === 0" >
Συνέχεια<span class="glyphicon glyphicon-menu-right"></span> Συνέχεια<span class="glyphicon glyphicon-menu-right"></span>
</button> </button>
</div> </div>
......
...@@ -40,7 +40,9 @@ import {AppSettings} from '../../app.settings'; ...@@ -40,7 +40,9 @@ import {AppSettings} from '../../app.settings';
Προτίμηση {{i+1}}: {{schoolField$}} Προτίμηση {{i+1}}: {{schoolField$}}
</li> </li>
</div> </div>
<button type="button" class="btn btn-primary btn-lg pull-center" (click)="navigateToStudentForm()" >Συνέχεια</button> <div class="col-md-12">
<button type="button" class="btn btn-primary btn-lg pull-right" (click)="navigateToStudentForm()" >Συνέχεια</button>
</div>
</form> </form>
</div> </div>
......
...@@ -50,8 +50,8 @@ import {AppSettings} from '../../app.settings'; ...@@ -50,8 +50,8 @@ import {AppSettings} from '../../app.settings';
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-2 col-md-offset-5"> <div class="col-md-12 col-md-offset-5">
<button type="button" class="btn-primary btn-lg pull-center" (click)="navigateToSchools()" [disabled]="idx === -1" > <button type="button" class="btn-primary btn-lg pull-right" (click)="navigateToSchools()" [disabled]="idx === -1" >
Συνέχεια<span class="glyphicon glyphicon-menu-right"></span> Συνέχεια<span class="glyphicon glyphicon-menu-right"></span>
</button> </button>
</div> </div>
......
...@@ -52,8 +52,8 @@ import {AppSettings} from '../../app.settings'; ...@@ -52,8 +52,8 @@ import {AppSettings} from '../../app.settings';
</div> </div>
<div class="row"> <div class="row">
<div class="col-md-2 col-md-offset-5"> <div class="col-md-12 col-md-offset-5">
<button type="button" class="btn-primary btn-lg pull-center" (click)="navigateToSchools()" [disabled]="sectorActive === -1" > <button type="button" class="btn-primary btn-lg pull-right" (click)="navigateToSchools()" [disabled]="sectorActive === -1" >
Συνέχεια<span class="glyphicon glyphicon-menu-right"></span> Συνέχεια<span class="glyphicon glyphicon-menu-right"></span>
</button> </button>
</div> </div>
......
...@@ -6,7 +6,7 @@ import {Pipe, PipeTransform} from '@angular/core'; ...@@ -6,7 +6,7 @@ import {Pipe, PipeTransform} from '@angular/core';
export class RemoveSpaces implements PipeTransform { export class RemoveSpaces implements PipeTransform {
transform(value: string) : any { transform(value: string) : any {
return value.replace(/^(\s*([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5}){1,25})+([,.](([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5}){1,25})+\s*)*$/, ''); return value.replace(/[\s]/g, '');
} }
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment