-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #193 from fs/fix-kamil-group-pr
Fix HW14 group pr
- Loading branch information
Showing
17 changed files
with
99 additions
and
84 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v16.16.0 | ||
v16.20.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,13 @@ | ||
$black: #222; | ||
$white: #fff; | ||
$red: #f00; | ||
$purple: #9a336a; | ||
$green: #008000; | ||
$grey: #ccc; | ||
$grey-dark: #333; | ||
$blue: #2732ff; | ||
$blue-link: #007bff; | ||
$blue-link-hover: #0056b3; | ||
|
||
$header-bg: #f1f1f1; | ||
$border-bg: #f2f2f2; |
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,5 +1,3 @@ | ||
|
||
|
||
// Bootstrap | ||
@import 'bootstrap/scss/bootstrap'; | ||
|
||
|
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 |
---|---|---|
|
@@ -10,6 +10,6 @@ | |
|
||
&__actions { | ||
display: flex; | ||
justify-content: end; | ||
justify-content: start; | ||
} | ||
} |
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
h1.title | ||
span Edit Task | ||
= link_to "Back to Tasks", project_tasks_path(@project), class: "link-secondary fs-5" | ||
= render '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,50 +1,55 @@ | ||
h1 | ||
| Tasks for project: | ||
' Tasks for project: | ||
= @project.name | ||
|
||
.button-link | ||
= link_to "NEW TASK", new_project_task_path(@project) | ||
|
||
.sort-links | ||
p.link | ||
= link_to "Name", :sort => "name asc" | ||
= link_to "Name", sort: "name asc" | ||
p | ||
|
||
p.link | ||
= link_to "Name reverse", :sort => "name desc" | ||
= link_to "Name reverse", sort: "name desc" | ||
p | ||
|
||
p.link | ||
= link_to "Created", :sort => "id asc" | ||
= link_to "Created", sort: "id asc" | ||
p | ||
|
||
p.link | ||
= link_to "Created reverse", :sort => "id desc" | ||
= link_to "Created reverse", sort: "id desc" | ||
p | ||
|
||
p.link | ||
= link_to "Deadline", :sort => "deadline_at asc" | ||
= link_to "Deadline", sort: "deadline_at asc" | ||
p | ||
|
||
p.link | ||
= link_to "deadline reverse", :sort => "deadline_at desc" | ||
= link_to "deadline reverse", sort: "deadline_at desc" | ||
p | ||
|
||
- @tasks.each_with_index do |task, index| | ||
.record | ||
p | ||
= index+1 | ||
| . | ||
= index + 1 | ||
| . | ||
= task.name | ||
p | ||
= task.description | ||
p | ||
= task.status | ||
p | ||
= task.deadline_at | ||
.edit_links | ||
|
||
.edit-links | ||
= link_to "Show", url_for([@project, task]) | ||
= link_to "Edit", edit_project_task_path(@project, task) | ||
= link_to "Destroy", url_for([@project, task]), method: :delete, data: { confirm: 'Are you sure?' } | ||
|
||
p.link | ||
= paginate @tasks | ||
|
||
.button-link | ||
= link_to "Back to Projects", projects_path | ||
= link_to "Back to Projects", projects_path |
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
h1.title | ||
span New Task | ||
= link_to "Back to Tasks", project_tasks_path(@project), class: "link-secondary fs-5" | ||
= render '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
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 @@ | ||
<h1>Sign Up</h1> | ||
<h1>Sign Up </h1> | ||
|
||
<%= render 'form', user: @user %> | ||
|
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 |
---|---|---|
|
@@ -18,6 +18,6 @@ | |
"webpack-dev-server": "^3" | ||
}, | ||
"engines": { | ||
"node": "16.16.0" | ||
"node": "16.20.1" | ||
} | ||
} |