-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Roadmap Tracking Items: #2402, #2401, #2400, #2398, #2396 Also fixes a bug where tab components do not share the same instance, and fix tracking cookies not utilized. Signed-off-by: deviance <meangczac.chan@gmail.com>
- Loading branch information
1 parent
1686907
commit 40554fd
Showing
17 changed files
with
1,332 additions
and
15 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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{% if mode == "group_member" %} | ||
{{ openside(title) }} | ||
<div class="row"> | ||
<div class="col-xs-12 col-sm-6"> | ||
{{ form["open"]|raw }} | ||
<h5>{{ locale["GRP_416"] }}</h5> | ||
{{ form["input"]|raw }} | ||
{{ form["button"]|raw }} | ||
{{ form["close"]|raw }} | ||
</div> | ||
<div class="col-xs-12 col-sm-6"> | ||
<h5>{{ locale["GRP_468"] }}</h5> | ||
{% if user_groups %} | ||
{% for group in user_groups %} | ||
<div class="well mb-2"> | ||
<div class="d-flex justify-content-between flex-sm-row flex-column"> | ||
<div class="group-info"> | ||
{% if group["users"] %} | ||
<div class="ps-2 mb-2 position-relative"> | ||
<ul class="list-unstyled d-flex align-items-center avatar-group mb-0"> | ||
{% for user in group["users"] %} | ||
<li> | ||
{{ user|raw }} | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
</div> | ||
{% endif %} | ||
<h5>{{ group[1]|raw }}</h5> | ||
<p>{{ group[2]|raw }}</p> | ||
</div> | ||
|
||
<div class="d-flex flex-column justify-content-between align-content-end"> | ||
<div class="d-flex"> | ||
<a href="{{ group["manage_uri"] }}" class="btn btn-primary">{{ locale["edit"] }}</a> | ||
<a href="{{ group["remove_uri"] }}" class="btn btn-default">{{ locale["delete"] }}</a> | ||
</div> | ||
<div class="text-end"> | ||
<small>{{ group[4] }}</small> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
|
||
</div> | ||
{% endfor %} | ||
{% else %} | ||
<div class="well text-center">{{ locale["GRP_469"]|raw }}</div> | ||
{% endif %} | ||
</div> | ||
</div> | ||
{{ closeside() }} | ||
{% endif %} |
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,59 @@ | ||
<p>A group provide access to predefined content and features so that depending on the assigned role given, different access can be granted to what user needs.</p> | ||
|
||
{% if groups %} | ||
<div class="mt-5"> | ||
<div class="row equal-height"> | ||
{% for group in groups %} | ||
<div class="col-xs-12 col-sm-6 col-lg-4"> | ||
{{ openside() }} | ||
<div class="d-flex"> | ||
<div> | ||
<h5 class="font-normal">Total {{ group[4]|raw }}</h5> | ||
<h4 class="mb-0"><a href="{{ group["manage_uri"] }}">{{ group[1]|raw }}</a></h4> | ||
<small><a href="{{ group["edit_uri"]|raw }}">Edit Group</a></small> | ||
</div> | ||
<div class="ms-auto"> | ||
{% if group["users"] %} | ||
<ul class="list-unstyled d-flex align-items-center avatar-group mb-0"> | ||
{% for user in group["users"] %} | ||
<li> | ||
{{ user|raw }} | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
{% endif %} | ||
</div> | ||
</div> | ||
{{ closeside() }} | ||
</div> | ||
{% endfor %} | ||
<div class="col-xs-12 col-sm-6 col-lg-4"> | ||
{{ openside() }} | ||
<div class="text-md-end"> | ||
{{ add_button|raw }} | ||
<div class="mt-3"> | ||
{{ locale["GRP_413"] }} | ||
</div> | ||
</div> | ||
{{ closeside() }} | ||
</div> | ||
</div> | ||
</div> | ||
{% endif %} | ||
|
||
{{ openside("", "", "table-wrapper") }} | ||
<table class="table" id="{{ group_table }}"> | ||
<thead> | ||
<tr> | ||
<th></th> | ||
<th>{{ locale["GRP_446"] }}</th> | ||
<th>{{ locale["GRP_447"] }}</th> | ||
<th>{{ locale["GRP_420"] }}</th> | ||
<th>{{ locale["GRP_453"] }}</th> | ||
<th>{{ locale["GRP_437"] }}</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
</tbody> | ||
</table> | ||
{{ closeside() }} |
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,42 @@ | ||
<p>Manage group members by adding or removing them from the group.</p> | ||
{{ openside(locale["GRP_460"] ~ ': '~ title, '', 'table-wrapper', 'border-bottom') }} | ||
{{ form["open"]|raw }} | ||
|
||
<table class="table" id="{{ group_table }}"> | ||
<thead> | ||
<tr> | ||
<th></th> | ||
<th> | ||
{{ locale["GRP_446"] }} | ||
</th> | ||
<th> | ||
{{ locale["GRP_447"] }} | ||
</th> | ||
<th> | ||
{{ locale["GRP_453"] }} | ||
</th> | ||
<th> | ||
{{ locale["GRP_437"] }} | ||
</th> | ||
</tr> | ||
</thead> | ||
<tbody></tbody> | ||
</table> | ||
{# Use with Debug script #} | ||
{# <p><b>Selected rows data:</b></p> #} | ||
{# <pre id="example-console-rows"></pre> #} | ||
{# <p><b>Form data as submitted to the server:</b></p> #} | ||
{# <pre id="example-console-form"></pre> #} | ||
{{ tablebreak() }} | ||
<div class="row n-row pt-0"> | ||
<div class="col-xs-12 col-sm-6"> | ||
{{ form["cancel"]|raw }} | ||
{{ form["recount"]|raw }} | ||
</div> | ||
<div class="col-xs-12 col-sm-6 text-lg-end"> | ||
{{ form["button"]|raw }} | ||
{{ form["button_all"]|raw }} | ||
</div> | ||
</div> | ||
{{ form["close"]|raw }} | ||
{{ closeside() }} |
Oops, something went wrong.