-
-
Notifications
You must be signed in to change notification settings - Fork 591
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
1 parent
acf4a9f
commit 942af41
Showing
6 changed files
with
72 additions
and
82 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
56 changes: 56 additions & 0 deletions
56
app/Domain/Goalcanvas/Templates/components/canvas.blade.php
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,56 @@ | ||
|
||
@props([ | ||
'canvasId' => '', | ||
'canvasTitle' => '', | ||
'goalItems' => [], | ||
'statusLabels' => [], | ||
'relatesLabels' => [], | ||
'users' => [], | ||
'id' => '', | ||
]) | ||
|
||
@if (empty($id) == false) | ||
<div hx-get="{{ BASE_URL }}/hx/goalcanvas/canvas/get?id={{ $id }}" hx-trigger="load" | ||
hx-swap="innerHtml"> | ||
|
||
loading... | ||
|
||
</div> | ||
@else | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<a href="#/goalcanvas/editCanvasItem?type=goal&canvasId={{ $canvasId }}" | ||
class="btn btn-primary pull-right"> | ||
<i class="fa fa-plus"></i> Create New Goal | ||
</a> | ||
<h5 class='subtitle'> | ||
<a href='{{ BASE_URL }}/goalcanvas/showCanvas/{{ $canvasId }}'> | ||
{{ $canvasTitle }} | ||
</a> | ||
</h5> | ||
</div> | ||
</div> | ||
|
||
<div class="row" style="border-bottom:1px solid var(--main-border-color); margin-bottom:20px"> | ||
<div id="sortableCanvasKanban-{{ $canvasId }}" class="sortableTicketList disabled col-md-12" | ||
style="padding-top:15px;"> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<div class="row"> | ||
@if (count($goalItems) == 0) | ||
<div class='col-md-12'>No goals on this board yet. Open the <a | ||
href='{{ BASE_URL }}/goalcanvas/showCanvas/{{ $canvasId }}'>board</a> to | ||
start adding goals</div> | ||
@endif | ||
|
||
@foreach ($goalItems as $goal) | ||
<x-goalcanvas::goal-item-card :row="$goal" elementName="goal" :filter="$filter ?? []" | ||
:statusLabels="$statusLabels" :relatesLabels="$relatesLabels" :users="$users" /> | ||
@endforeach | ||
</div> | ||
<br /> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
@endif |
68 changes: 0 additions & 68 deletions
68
app/Domain/Goalcanvas/Templates/components/goal-card.blade.php
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
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