mirror of
https://github.com/datahub-project/datahub.git
synced 2025-12-29 10:57:52 +00:00
Merge pull request #948 from theseyi/inactive-owners
refactors markup for owner record indicators
This commit is contained in:
commit
898d562419
@ -23,14 +23,13 @@
|
||||
text-decoration: line-through;
|
||||
}
|
||||
|
||||
&#{&} &__action {
|
||||
&#{&} &__indicator {
|
||||
&--disabled {
|
||||
background-color: set-color(grey, mid);
|
||||
}
|
||||
|
||||
&--inactive {
|
||||
background-color: set-color(red, maroonflush);
|
||||
outline: none;
|
||||
pointer-events: none;
|
||||
}
|
||||
}
|
||||
|
||||
@ -7,9 +7,9 @@
|
||||
|
||||
{{#if isOwnerInActive}}
|
||||
|
||||
<button class="nacho-button nacho-button--small dataset-author-record__action--inactive">
|
||||
<span class="nacho-button nacho-button--small dataset-author-record__indicator--inactive">
|
||||
Inactive
|
||||
</button>
|
||||
</span>
|
||||
|
||||
{{/if}}
|
||||
</td>
|
||||
@ -36,10 +36,10 @@
|
||||
{{moment-calendar owner.modifiedTime sameElse="MMM Do YYYY, h:mm a"}}
|
||||
{{else}}
|
||||
|
||||
<button
|
||||
class="nacho-button nacho-button--small dataset-author-record__action--disabled">
|
||||
<span
|
||||
class="nacho-button nacho-button--small dataset-author-record__indicator--disabled">
|
||||
Not Saved
|
||||
</button>
|
||||
</span>
|
||||
|
||||
{{/if}}
|
||||
</td>
|
||||
@ -69,10 +69,10 @@
|
||||
|
||||
{{#if isConfirmedSuggestedOwner}}
|
||||
|
||||
<button
|
||||
class="nacho-button nacho-button--small dataset-author-record__action--disabled">
|
||||
<span
|
||||
class="nacho-button nacho-button--small dataset-author-record__indicator--disabled">
|
||||
Added
|
||||
</button>
|
||||
</span>
|
||||
|
||||
{{else}}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user