2018-05-16 01:00:54 +02:00
< ? php
/**
* @ copyright Copyright ( c ) 2018 Arthur Schiwon < blizzz @ arthur - schiwon . de >
*
* @ author Arthur Schiwon < blizzz @ arthur - schiwon . de >
*
* @ license GNU AGPL version 3 or any later version
*
* This program is free software : you can redistribute it and / or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation , either version 3 of the
* License , or ( at your option ) any later version .
*
* This program is distributed in the hope that it will be useful ,
* but WITHOUT ANY WARRANTY ; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
* GNU Affero General Public License for more details .
*
* You should have received a copy of the GNU Affero General Public License
* along with this program . If not , see < http :// www . gnu . org / licenses />.
*
*/
2018-05-17 11:40:07 +02:00
style ( 'data_request' , 'style' );
2018-05-17 15:16:31 +02:00
script ( 'data_request' , [ 'init' , 'app' ]);
2018-05-17 11:40:07 +02:00
2018-05-16 01:00:54 +02:00
?>
2018-05-17 11:40:07 +02:00
< div id = " data-request " class = " section " >
2018-05-18 14:55:27 +02:00
< h2 >< ? php p ( $l -> t ( 'Account' )); ?> </h2>
2018-05-21 14:46:46 +02:00
< p class = " settings-hint " >< ? php p ( $l -> t ( 'You can request an export of your data or account deletion from the system administrator. This can take up to 30 days.' )); ?> </p>
2018-05-17 11:40:07 +02:00
< div >
2018-05-18 14:55:27 +02:00
< button id = " data-request-export " data - request = " export " class = " button " >< ? php p ( $l -> t ( 'Request data export' )); ?> </button><span class="warning hidden"></span>
2018-05-17 11:40:07 +02:00
</ div >
< div >
2018-05-18 14:55:27 +02:00
< button id = " data-request-deletion " data - request = " deletion " class = " button " >< ? php p ( $l -> t ( 'Request account deletion' )); ?> </button><span class="warning hidden"></span>
2018-05-17 11:40:07 +02:00
</ div >
</ div >