summaryrefslogtreecommitdiff
path: root/templates/account.html.ep
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2019-03-03 22:35:20 +0100
committerDaniel Friesel <derf@finalrewind.org>2019-03-03 22:35:20 +0100
commit40fe8db0c4dd2eb1208cdc6bdfb2868c84def489 (patch)
tree22c87a1be18acc011577c66b949b1a36c962e44a /templates/account.html.ep
parent41076aafd5f3590490b64816116d7803d4744ff9 (diff)
Add account info and data export
Diffstat (limited to 'templates/account.html.ep')
-rw-r--r--templates/account.html.ep27
1 files changed, 27 insertions, 0 deletions
diff --git a/templates/account.html.ep b/templates/account.html.ep
new file mode 100644
index 0000000..e734ee0
--- /dev/null
+++ b/templates/account.html.ep
@@ -0,0 +1,27 @@
+<h1>Account</h1>
+<div class="row">
+ <table class="striped">
+ <tr>
+ <th scope="row">Name</th>
+ <td><%= get_user_name() %></td>
+ </tr>
+ <tr>
+ <th scope="row">Mail</th>
+ <td>fnord@example.org</td>
+ </tr>
+ <tr>
+ <th scope="row">Registriert am</th>
+ <td>01.01.1970 00:00</td>
+ </tr>
+ </table>
+</div>
+
+<h1>Export</h1>
+
+<div class="row">
+ <div class="col s12">
+ <ul>
+ <li><a href="/a/export.json">Rohdaten</a> (Kein API-Ersatz, das Format kann sich jederzeit ändern)</li>
+ </ul>
+ </div>
+</div>