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 >
< label for = "profile-name" [ ngClass ] = " { ' uk-text-danger ' : ! profileName } " > New profile's name:< / label >
2018-03-19 13:44:18 +01:00
< input [ ( ngModel ) ] = " profileName " class = "uk-input" [ ngClass ] = " { ' uk-form-danger ' : ! profileName } " id = "profile-name" type = "text" 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 >