Skip to content

Commit

Permalink
add action sidebar
Browse files Browse the repository at this point in the history
  • Loading branch information
Ioannis committed Apr 1, 2024
1 parent 2911ca0 commit 9b4f884
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
17 changes: 17 additions & 0 deletions View/GrouperGroups/index.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,25 @@ $this->Html->addCrumb(_txt('pl.grouperlite.title.dashboard'));
app.mount('#grouper-lite-widget');
</script>

<!--https://materializecss.com/icons.html -->
<div class="grouper-table">
<div id="grouper-lite-widget">
<router-view></router-view>
</div>
<div id="right-sidebar">
<div class="sidebar-content">
<div class="font-weight-bold d-inline-flex align-items-center w-100">
<em class="material-icons lg" aria-hidden="true">transfer_within_a_station</em>
<span class="ml-1">Act As</span>
<a href="/registry/history_records/index/copersonid:3054"
class="spin ignore-invalid ml-auto order-2">
<span class="ui-icon ui-icon-search"></span>Find
</a>
</div>
<p class="text-muted">
John Doe
</p>
<hr>
</div>
</div>
</div>
6 changes: 6 additions & 0 deletions webroot/css/co-grouper-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
--secondary: var(--darkteal)
}

.grouper_groups .grouper-table {
display: grid;
grid-template-columns: auto 20%;
grid-gap: 1em;
}

.text-grouper {
color: var(--primary);
}
Expand Down

0 comments on commit 9b4f884

Please sign in to comment.