chore: 🤖 Add styling for project overview
This commit is contained in:
2 files changed
+22
-17
No files matched your search
@@ -12,7 +12,6 @@
|
||||
.project {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex: 0 0 33.33%;
|
||||
margin-bottom: 10px;
|
||||
|
||||
a {
|
||||
@@ -45,6 +44,7 @@
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.project-overview,
|
||||
.project-new {
|
||||
margin: 0 10px;
|
||||
.breadcrumbs,
|
||||
|
||||
@@ -1,19 +1,24 @@
|
||||
<LinkTo @route='orgs.org.projects'>{{t "resources.projects"}}</LinkTo>
|
||||
>
|
||||
<LinkTo @route='orgs.org.projects.project'>{{@model.name}}</LinkTo>
|
||||
<div class="project-overview">
|
||||
<div class="breadcrumbs">
|
||||
<LinkTo @route='orgs.org.projects'>{{t "resources.projects"}}</LinkTo>
|
||||
>
|
||||
<LinkTo @route='orgs.org.projects.project'>{{@model.name}}</LinkTo>
|
||||
</div>
|
||||
|
||||
<h2>{{@model.name}}</h2>
|
||||
<h2>{{@model.name}}</h2>
|
||||
|
||||
<Form::Project
|
||||
@model={{@model}}
|
||||
@submit={{route-action "save" @model}}
|
||||
@cancel={{route-action "cancel" @model}}
|
||||
/>
|
||||
<Form::Project
|
||||
@model={{@model}}
|
||||
@submit={{route-action "save" @model}}
|
||||
@cancel={{route-action "cancel" @model}}
|
||||
class="project-new-form"
|
||||
/>
|
||||
|
||||
<Rose::Button
|
||||
@style="warning"
|
||||
@disabled={{@model.canSave}}
|
||||
{{on "click" (route-action "delete" @model)}}
|
||||
>
|
||||
{{t 'actions.delete'}}
|
||||
</Rose::Button>
|
||||
<Rose::Button
|
||||
@style="warning"
|
||||
@disabled={{@model.canSave}}
|
||||
{{on "click" (route-action "delete" @model)}}
|
||||
>
|
||||
{{t 'actions.delete'}}
|
||||
</Rose::Button>
|
||||
</div>
|
||||
Reference in new issue
Block a user