forked from zer.ooo/web
add profile page and other stuff
parent
45ee7b2ebc
commit
797c829510
File diff suppressed because one or more lines are too long
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
|
||||
namespace Eater\Glim\Handler\Panel\Profile;
|
||||
|
||||
|
||||
use Eater\Glim\Handler\Panel;
|
||||
|
||||
class Show extends Panel
|
||||
{
|
||||
public function handle()
|
||||
{
|
||||
return $this->render('panel/profile.html.twig');
|
||||
}
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
{% extends "panel.html.twig" %}
|
||||
|
||||
{% block panel_contents %}
|
||||
<h1 class="title">{{ user.getUsername() }}</h1>
|
||||
<div class="form">
|
||||
<div class="row">
|
||||
<label>Email address</label>
|
||||
<kbd>{{ user.getPlainEmailAddress() }}</kbd>
|
||||
</div>
|
||||
<div class="row">
|
||||
<label>Amount certificates</label>
|
||||
<kbd>{{ user.getMaxKeys() }}</kbd>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
Loading…
Reference in New Issue