-
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.
feat(tables): adapt for mobiles (#76)
* feat(tables): adapt for mobiles * feat(tables): update as per the comments
- Loading branch information
1 parent
51fbf37
commit 8a1c097
Showing
9 changed files
with
104 additions
and
98 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,24 @@ | ||
h2.title | ||
h2.title.is-4 | ||
| Account shares | ||
.buttons.mt-4 | ||
= link_to 'New private share', new_account_share_path, class: 'button is-light mr-4' | ||
= link_to 'New public share', new_account_public_account_share_path, class: 'button is-light' | ||
|
||
.buttons.mt-4 | ||
= link_to 'Back', account_path(account), class: 'button is-light' | ||
= link_to 'New private share', new_account_share_path, class: 'button is-light mr-4' | ||
= link_to 'New public share', new_account_public_account_share_path, class: 'button is-light' | ||
.columns | ||
.column | ||
.card | ||
.card-header | ||
.card-header-title.is-centered | ||
h3.title= account.name | ||
.card-content | ||
table.table.is-fullwidth.is-striped | ||
thead | ||
tr | ||
th Name | ||
th Email | ||
th Created | ||
th Accepted | ||
th Link | ||
th Actions | ||
= render partial: 'account_share', collection: account.account_shares.order(created_at: :desc) | ||
h3.title.is-4= account.name | ||
.card-content.px-1 | ||
.table-container | ||
table.table.is-fullwidth.is-striped | ||
thead | ||
tr | ||
th Name | ||
th Email | ||
th Created | ||
th Accepted | ||
th Link | ||
th Actions | ||
= render partial: 'account_share', collection: account.account_shares.order(created_at: :desc) |
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