-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
34 changed files
with
133 additions
and
109 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,37 @@ | ||
{{page-title @project.name}} | ||
|
||
<Form @name={{if @project (concat 'Edit project ' @project.name) 'Track new Project'}} @model={{this.project}} @onSubmit={{perform this.saveProject}} as |f|> | ||
<f.input @name='name' /> | ||
<f.input @name='repo' /> | ||
<Form | ||
@name={{if | ||
@project | ||
(concat "Edit project " @project.name) | ||
"Track new Project" | ||
}} | ||
@model={{this.project}} | ||
@onSubmit={{perform this.saveProject}} | ||
as |f| | ||
> | ||
<f.input @name="name" /> | ||
<f.input @name="repo" /> | ||
|
||
<f.input @name='users' @type='select' @label='Maintainers' @multiple={{true}} @value={{this.project.users}} | ||
@options={{this.users}} @searchField='searchField' @visibleField='fullName' /> | ||
<f.input | ||
@name="users" | ||
@type="select" | ||
@label="Maintainers" | ||
@multiple={{true}} | ||
@value={{this.project.users}} | ||
@options={{this.users}} | ||
@searchField="searchField" | ||
@visibleField="fullName" | ||
/> | ||
{{#if (gt this.project.users.length 1)}} | ||
<f.input @name='primaryMaintainer' @type='select' @options={{this.project.users}} @value={{this.primaryMaintainer}} | ||
@searchField='searchField' @visibleField='fullName' /> | ||
<f.input | ||
@name="primaryMaintainer" | ||
@type="select" | ||
@options={{this.project.users}} | ||
@value={{this.primaryMaintainer}} | ||
@searchField="searchField" | ||
@visibleField="fullName" | ||
/> | ||
{{/if}} | ||
<f.button @loading={{this.saveProject.isRunning}} /> | ||
</Form> | ||
</Form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<UkButton | ||
@onClick={{@on-click}} | ||
class='select-button' | ||
@label='+' | ||
@width='1-1' | ||
class="select-button" | ||
@label="+" | ||
@width="1-1" | ||
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<small data-test-error id={{@id}} class='uk-text-danger' ...attributes> | ||
<small data-test-error id={{@id}} class="uk-text-danger" ...attributes> | ||
{{yield}}{{this.errorsAsString}} | ||
</small> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
<label data-test-label class='uk-form-label' for={{@inputId}}> | ||
<label data-test-label class="uk-form-label" for={{@inputId}}> | ||
{{@label}} | ||
</label> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
<EmberFlatpickr | ||
placeholder={{@placeholder}} | ||
@dateFormat={{or @dateFormat 'Y-m-d'}} | ||
@dateFormat={{or @dateFormat "Y-m-d"}} | ||
@date={{or @value null}} | ||
@onChange={{this.onUpdate}} | ||
@onClose={{@setDirty}} | ||
@allowInput={{or @allowInput true}} | ||
class='uk-input {{if @isValid "is-valid"}} {{if @isInvalid "is-invalid"}}' | ||
class="uk-input {{if @isValid 'is-valid'}} {{if @isInvalid 'is-invalid'}}" | ||
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{{! template-lint-disable require-input-label}} | ||
<input | ||
{{on 'input' this.onUpdate}} | ||
{{on 'blur' @setDirty}} | ||
class='uk-input {{if @isValid "is-valid"}} {{if @isInvalid "is-invalid"}}' | ||
{{on "input" this.onUpdate}} | ||
{{on "blur" @setDirty}} | ||
class="uk-input {{if @isValid 'is-valid'}} {{if @isInvalid 'is-invalid'}}" | ||
...attributes | ||
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{{page-title 'Outdated'}} | ||
{{page-title "Outdated"}} | ||
|
||
<Top-Nav /> | ||
{{outlet}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{{outlet}} | ||
{{outlet}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<div class="uk-text-center" data-test-not-found> | ||
<h1 class="uk-heading-2xlarge">404</h1> | ||
<p>The site you requested does not exist</p> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<div class='content-container'>{{outlet}}</div> | ||
<div class="content-container">{{outlet}}</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{{page-title 'Add new project to tracking'}} | ||
{{page-title "Add new project to tracking"}} | ||
|
||
<ProjectForm /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{{page-title "Edit"}} | ||
|
||
<ProjectForm @project={{@model}}/> | ||
<ProjectForm @project={{@model}} /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
{{page-title @model.name}} | ||
<ProjectDetailed @project={{@model}} /> | ||
<ProjectDetailed @project={{@model}} /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
{{outlet}} | ||
{{outlet}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.