2018-03-17 14:05:55 +01:00
< app-stepsnvabar > < / app-stepsnvabar >
2018-03-22 22:32:33 +01:00
< div class = "uk-section uk-section-default" style = "padding-top: 20px;" >
2018-03-23 15:02:35 +01:00
< div class = "uk-container uk-width-1-3 uk-align-left" >
< button * ngIf = "profileId" class = "uk-button cm-button-primary uk-width-1-1 uk-button-medium uk-text-center" ( click ) = " saveCurrentProfile ( ) " > Save changes< / button >
< div * ngIf = "profileId" class = "uk-heading-line uk-text-center uk-margin-medium" > < span > or< / span > < / div >
2018-04-20 10:54:39 +02:00
<!-- <label for="profile - name" [ngClass]="{'uk - text - danger':!profileName}">New profile's name:</label> -->
< input [ ( ngModel ) ] = " profileName " class = "uk-input" id = "profile-name" type = "text" placeholder = "Profile name" autofocus >
2018-02-28 12:41:06 +01:00
< span * ngIf = "!profileName" class = "uk-text-danger" > Profile name cannot be empty!< / span >
2018-03-23 15:02:35 +01:00
< button * ngIf = "profileId" class = "uk-button cm-button-primary cm-margin-medium-top uk-width-1-1 uk-button-medium uk-text-center" [ disabled ] = " ! profileName " ( click ) = " saveNewProfile ( ) " > Save as new profile< / button >
< button * ngIf = "!profileId" class = "uk-button cm-button-primary cm-margin-medium-top uk-width-1-1 uk-button-medium uk-text-center" [ disabled ] = " ! profileName " ( click ) = " saveNewProfile ( ) " > Save profile< / button >
2018-02-28 12:41:06 +01:00
< / div >
< / div >