-
Notifications
You must be signed in to change notification settings - Fork 57
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
362 additions
and
63 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
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,54 @@ | ||
<!-- IMPORT partials/breadcrumbs.tpl --> | ||
<div class="account"> | ||
<!-- IMPORT partials/account/header.tpl --> | ||
|
||
<div class="users row"> | ||
<div class="col-sm-8 col-xs-12"> | ||
<div class="card"> | ||
<div class="card-header"> | ||
<h4>[[pages:account/blocks, {username}]]</h4> | ||
</div> | ||
<div class="card-body card-padding"> | ||
<ul id="users-container" class="users-container" data-nextstart="{nextStart}"> | ||
<!-- IMPORT partials/users_list.tpl --> | ||
</ul> | ||
<div class="alert alert-warning text-center"<!-- IF users.length --> style="display: none;"<!-- END -->>[[user:has_no_blocks]]</div> | ||
<!-- IMPORT partials/paginator.tpl --> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col-sm-4 col-xs-12"> | ||
<div class="card"> | ||
<div class="card-body card-padding form"> | ||
<div class="form-group"> | ||
<div class="fg-line"> | ||
<label for="user-search">[[users:search]]</label> | ||
<input class="form-control" type="text" id="user-search" placeholder="[[users:enter_username]]" /> | ||
</div> | ||
</div> | ||
<div class="block-edit"> | ||
<!-- IF edit --> | ||
<!-- BEGIN edit --> | ||
<table class="table"> | ||
<tr> | ||
<td> | ||
<a href="{config.relative_path}/uid/{../uid}"> | ||
<!-- IF ../picture --> | ||
<img class="user-picture" component="user/picture" src="{../picture}" itemprop="image" /> | ||
<!-- ELSE --> | ||
<div class="user-icon user-picture" component="user/picture" style="background-color: {../icon:bgColor};">{../icon:text}</div><!-- END -->{../username} | ||
</a> | ||
</td> | ||
<td> | ||
<button class="btn btn-sm btn-primary pull-right" data-uid="{../uid}" data-action="toggle">[[user:block_toggle]]</button> | ||
</td> | ||
</tr> | ||
</table> | ||
<!-- END --> | ||
<!-- END --> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
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,75 @@ | ||
<!-- IMPORT partials/breadcrumbs.tpl --> | ||
<div class="account"> | ||
<!-- IMPORT partials/account/header.tpl --> | ||
<div class="card"> | ||
<div class="card-header"> | ||
<h4>[[user:consent.title]]</h4> | ||
</div> | ||
<div class="card-body card-padding"> | ||
<p class="lead">[[user:consent.lead]]</p> | ||
<p>[[user:consent.intro]]</p> | ||
</div> | ||
</div> | ||
|
||
|
||
<div class="row"> | ||
<div class="col-sm-6"> | ||
<!-- IF gdpr_consent --> | ||
<div class="alert alert-success"> | ||
<i class="fa fa-check pull-right fa-3x"></i> | ||
[[user:consent.received]] | ||
</div> | ||
<!-- ELSE --> | ||
<div class="alert alert-warning"> | ||
[[user:consent.not_received]] | ||
<br /><br /> | ||
<div class="text-center"> | ||
<button class="btn btn-warning" data-action="consent">[[user:consent.give]]</button> | ||
</div> | ||
</div> | ||
<!-- END --> | ||
<div class="card"> | ||
<div class="card-body card-padding"> | ||
<p>[[user:consent.email_intro]]</p> | ||
<!-- IF digest.enabled --> | ||
<p>[[user:consent.digest_frequency, {digest.frequency}]]</p> | ||
<!-- ELSE --> | ||
[[user:consent.digest_off]] | ||
<!-- END --> | ||
|
||
<div class="text-center"> | ||
<a class="btn btn-default" href="./settings"> | ||
<i class="fa fa-cog"></i> | ||
[[pages:account/settings]] | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="col-sm-6"> | ||
<div class="card"> | ||
<div class="card-body card-padding"> | ||
<p><strong>[[user:consent.right_of_access]]</strong></p> | ||
<p>[[user:consent.right_of_access_description]]</p> | ||
<p><strong>[[user:consent.right_to_rectification]]</strong></p> | ||
<p>[[user:consent.right_to_rectification_description]]</p> | ||
<p><strong>[[user:consent.right_to_erasure]]</strong></p> | ||
<p>[[user:consent.right_to_erasure_description]]</p> | ||
<p><strong>[[user:consent.right_to_data_portability]]</strong></p> | ||
<p>[[user:consent.right_to_data_portability_description]]</p> | ||
|
||
<div class="btn-group-vertical btn-block"> | ||
<a class="btn btn-default" href="{config.relative_path}/api/user/uid/{userslug}/export/profile"> | ||
<i class="fa fa-download"></i> [[user:consent.export_profile]] | ||
</a> | ||
<a class="btn btn-default" href="{config.relative_path}/api/user/uid/{userslug}/export/posts"> | ||
<i class="fa fa-download"></i> [[user:consent.export_posts]] | ||
</a> | ||
<a class="btn btn-default" href="{config.relative_path}/api/user/uid/{userslug}/export/uploads"> | ||
<i class="fa fa-download"></i> [[user:consent.export_uploads]] | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<!-- IMPORT partials/breadcrumbs.tpl --> | ||
<div class="account"> | ||
<!-- IMPORT partials/account/header.tpl --> | ||
<div class="row"> | ||
<div class="col-md-12"> | ||
<div class="card"> | ||
<div class="card-header ch-alt"> | ||
<h4>{title}</h4> | ||
</div> | ||
<div class="card-body card-padding"> | ||
|
||
<!-- IF privateUploads --> | ||
<div class="alert alert-info text-center">[[uploads:private-uploads-info]]</div> | ||
<!-- ELSE --> | ||
<div class="alert alert-info text-center">[[uploads:public-uploads-info]]</div> | ||
<!-- ENDIF privateUploads --> | ||
|
||
<!-- IF !uploads.length --> | ||
<div class="alert alert-warning text-center">[[uploads:no-uploads-found]]</div> | ||
<!-- ELSE --> | ||
<div class="col-xs-12"> | ||
<table class="table table-striped"> | ||
<thead> | ||
<tr> | ||
<th></th> | ||
<th></th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<!-- BEGIN uploads --> | ||
<tr data-name="{uploads.name}"> | ||
<td> | ||
<a href="{config.relative_path}{uploads.url}">{uploads.url}</a> | ||
</td> | ||
<td> | ||
<div class="btn-group "> | ||
<button class="btn btn-danger btn-xs" data-action="delete"><i class="fa fa-trash"></i></button> | ||
</div> | ||
</td> | ||
</tr> | ||
<!-- END uploads --> | ||
</tbody> | ||
</table> | ||
|
||
<!-- IMPORT partials/paginator.tpl --> | ||
</div> | ||
<!-- ENDIF !uploads.length --> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
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
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
Oops, something went wrong.