rescue old vm stuff
This commit is contained in:
assets
composer.jsoncomposer.lockpackage.jsonsrc/Controller
templates/themes/default
yarn.lock@ -42,27 +42,27 @@
|
||||
<ul class="list-group ml1" id="main-menu">
|
||||
<li class="list-group-item list-group-item-action">
|
||||
<a href="{{ path('app_projects') }}" class="text-decoration-none">
|
||||
<i class="fa fa-lg fa-fw fa-file-code-o" aria-hidden="true" title="Projects"></i>
|
||||
<span class="fa fa-lg fa-fw fa-file-code-o" aria-hidden="true" title="Projects"></span>
|
||||
<span class="menuText"> Projects</span>
|
||||
</a>
|
||||
</li>
|
||||
<li class="list-group-item list-group-item-action">
|
||||
<a href="//git.24unix.net" class="text-decoration-none" target="_blank">
|
||||
<i class="fa fa-lg fa-fw fa-gitea" aria-hidden="true" title="Gitea"></i>
|
||||
<span class="fa fa-lg fa-fw fa-gitea" aria-hidden="true" title="Gitea"></span>
|
||||
<span class="menuText"> Gitea</span>
|
||||
</a>
|
||||
<span class="menuText"><i class="fa fa-external-link" aria-hidden="true"></i></span>
|
||||
<span class="menuText"><span class="fa fa-external-link" aria-hidden="true"></span></span>
|
||||
</li>
|
||||
<li class="list-group-item list-group-item-action">
|
||||
<a href="//cloud.24unix.net" class="text-decoration-none" target="_blank">
|
||||
<i class="fa fa-lg fa-fw fa-nextcloud" aria-hidden="true" title="NextCloud"></i>
|
||||
<span class="fa fa-lg fa-fw fa-nextcloud" aria-hidden="true" title="NextCloud"></span>
|
||||
<span class="menuText"> NextCloud</span>
|
||||
</a>
|
||||
<span class="menuText"><i class="fa fa-external-link" aria-hidden="true"></i></span>
|
||||
<span class="menuText"><span class="fa fa-external-link" aria-hidden="true"></span></span>
|
||||
</li>
|
||||
<li class="list-group-item list-group-item-action">
|
||||
<a href="#" id="toggleSidebar">
|
||||
<i id="toggleIcon" class="fa fa-lg fa-caret-square-o-left"></i>
|
||||
<span id="toggleIcon" class="fa fa-lg fa-caret-square-o-left"></span>
|
||||
</a>
|
||||
</li>
|
||||
<!-- <a href="//pastebin.24unix.net">pastebin.24unix.net</a>-->
|
||||
@ -85,11 +85,12 @@
|
||||
|
||||
<div class="col m-3" id="main_content">
|
||||
{% block body %}
|
||||
|
||||
<h1 class="title-show">Quote of the Moment</h1>
|
||||
<div class="quote-box p-3">
|
||||
<i class="fa fa-quote-left"></i><br>
|
||||
{{ quote | raw | nl2br }}
|
||||
<div class="m-5">
|
||||
<h1 class="title-show">Quote of the Moment</h1>
|
||||
<div class="quote-box p-3">
|
||||
<span class="fa fa-quote-left"></span><br>
|
||||
{{ quote | raw | nl2br }}
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
</div>
|
||||
|
@ -3,7 +3,11 @@
|
||||
{% block title %}page_name{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
{{ page_content | raw }}
|
||||
{{ page.content | raw }}
|
||||
<br>
|
||||
Page created by: {{ owner }} at {{ created_at }}
|
||||
Page created by: <a href="{{ path('app_profile', { 'username': page.owner.username }) }}">{{ page.owner.username }}</a>
|
||||
{{ page.createdAt | ago }}
|
||||
{% if page.modifiedAt %}
|
||||
(last update: {{ page.modifiedAt | ago }})
|
||||
{% endif %}
|
||||
{% endblock %}
|
@ -62,7 +62,7 @@
|
||||
|
||||
{% if is_granted('ROLE_ADMIN') %}
|
||||
<div class="text-xl-start">
|
||||
<a href="{{ path('app_main') }}"><i class="fa fa-plus-circle"></i></a>
|
||||
<a href="{{ path('app_main') }}"><span class="fa fa-plus-circle"></span></a>
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
@ -9,8 +9,8 @@
|
||||
<div class="col-sm-12">
|
||||
{% if is_granted('ROLE_ADMIN') %}
|
||||
<div class="d-flex justify-content-end">
|
||||
<a href="{{ path('app_main', { id : project.id }) }}"><i class="fa fa-3x fa-fw fa-edit"></i></a>
|
||||
<a href="{{ path('app_main', { id : project.id }) }}"><i class="fa fa-3x fa-fw fa-trash"></i></a>
|
||||
<a href="{{ path('app_main', { id : project.id }) }}"><span class="fa fa-3x fa-fw fa-edit"></span></a>
|
||||
<a href="{{ path('app_main', { id : project.id }) }}"><span class="fa fa-3x fa-fw fa-trash"></span></a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
@ -19,8 +19,8 @@
|
||||
<h2>{{ project.name }}</h2>
|
||||
</div>
|
||||
<div>
|
||||
Source: <a href="{{ project.url }}" target="_blank">{{ project.url }}</a> <i
|
||||
class="fa fa-external-link" aria-hidden="true"></i>
|
||||
Source: <a href="{{ project.url }}" target="_blank">{{ project.url }}</a>
|
||||
<span class="fa fa-external-link" aria-hidden="true"></span>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-sm-12">
|
||||
|
@ -15,7 +15,7 @@
|
||||
src=" {{ asset('build/images/tracer_schmolle150x150.png') }}" alt="profile image">
|
||||
|
||||
<span class="font-weight-bold">{{ user.username }}</span>
|
||||
<span class="text-white-50"><i class="fa fa-lg fa-envelope me-1"></i>{{ user.email }}</span>
|
||||
<span class="text-white-50"><span class="fa fa-lg fa-envelope me-1"></span>{{ user.email }}</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-5 border-right">
|
||||
|
@ -1,4 +1,4 @@
|
||||
{% extends '../themes/default/base.html.twig' %}
|
||||
{% extends '@default/base.html.twig' %}
|
||||
|
||||
{% block title %}
|
||||
Userlist
|
||||
@ -15,7 +15,9 @@
|
||||
<th scope="col">Username</th>
|
||||
<th scope="col">First</th>
|
||||
<th scope="col">Last</th>
|
||||
<th scope="col">eMail</th>
|
||||
<th scope="col">Registered</th>
|
||||
<th scope="col">Manage</th>
|
||||
</tr>
|
||||
</thead>
|
||||
{% for user in users %}
|
||||
@ -29,241 +31,19 @@
|
||||
<td>
|
||||
{{ user.lastName }}
|
||||
</td>
|
||||
<td>
|
||||
{{ user.email }}
|
||||
</td>
|
||||
<td>
|
||||
{{ user.createdAt|ago }}
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" class="btn btn-outline-primary btn-lg btn-circle ml-2"><i class="fa fa-edit"></i> </button>
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="card bg-dark">
|
||||
<div class="card-body">
|
||||
<h5 class="card-title text-uppercase mb-0">Manage Users</h5>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table no-wrap user-table mb-0">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" class="border-0 text-uppercase font-medium pl-4">#</th>
|
||||
<th scope="col" class="border-0 text-uppercase font-medium">Name</th>
|
||||
<th scope="col" class="border-0 text-uppercase font-medium">Occupation</th>
|
||||
<th scope="col" class="border-0 text-uppercase font-medium">Email</th>
|
||||
<th scope="col" class="border-0 text-uppercase font-medium">Added</th>
|
||||
<th scope="col" class="border-0 text-uppercase font-medium">Category</th>
|
||||
<th scope="col" class="border-0 text-uppercase font-medium">Manage</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="pl-4">1</td>
|
||||
<td>
|
||||
<h5 class="font-medium mb-0">Daniel Kristeen</h5>
|
||||
<span class="text-muted">Texas, Unitedd states</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-muted">Visual Designer</span><br>
|
||||
<span class="text-muted">Past : teacher</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-muted">daniel@website.com</span><br>
|
||||
<span class="text-muted">999 - 444 - 555</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-muted">15 Mar 1988</span><br>
|
||||
<span class="text-muted">10: 55 AM</span>
|
||||
</td>
|
||||
<td>
|
||||
<select class="form-control category-select" id="exampleFormControlSelect1">
|
||||
<option>Modulator</option>
|
||||
<option>Admin</option>
|
||||
<option>User</option>
|
||||
<option>Subscriber</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" class="btn btn-outline-info btn-circle btn-lg btn-circle"><i class="fa fa-key"></i> </button>
|
||||
<button type="button" class="btn btn-outline-info btn-circle btn-lg btn-circle ml-2"><i class="fa fa-trash"></i> </button>
|
||||
<button type="button" class="btn btn-outline-info btn-circle btn-lg btn-circle ml-2"><i class="fa fa-edit"></i> </button>
|
||||
<button type="button" class="btn btn-outline-info btn-circle btn-lg btn-circle ml-2"><i class="fa fa-upload"></i> </button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="pl-4">2</td>
|
||||
<td>
|
||||
<h5 class="font-medium mb-0">Emma Smith</h5>
|
||||
<span class="text-muted">Texas, Unitedd states</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-muted">Visual Designer</span><br>
|
||||
<span class="text-muted">Past : teacher</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-muted">daniel@website.com</span><br>
|
||||
<span class="text-muted">999 - 444 - 555</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-muted">15 Mar 1855</span><br>
|
||||
<span class="text-muted">10: 00 AM</span>
|
||||
</td>
|
||||
<td>
|
||||
<select class="form-control category-select" id="exampleFormControlSelect1">
|
||||
<option>Modulator</option>
|
||||
<option>Admin</option>
|
||||
<option>User</option>
|
||||
<option>Subscriber</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" class="btn btn-outline-info btn-circle btn-lg btn-circle"><i class="fa fa-key"></i> </button>
|
||||
<button type="button" class="btn btn-outline-info btn-circle btn-lg btn-circle ml-2"><i class="fa fa-trash"></i> </button>
|
||||
<button type="button" class="btn btn-outline-info btn-circle btn-lg btn-circle ml-2"><i class="fa fa-edit"></i> </button>
|
||||
<button type="button" class="btn btn-outline-info btn-circle btn-lg btn-circle ml-2"><i class="fa fa-upload"></i> </button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="pl-4">3</td>
|
||||
<td>
|
||||
<h5 class="font-medium mb-0">Olivia Johnson</h5>
|
||||
<span class="text-muted">Texas, Unitedd states</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-muted">Visual Designer</span><br>
|
||||
<span class="text-muted">Past : teacher</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-muted">daniel@website.com</span><br>
|
||||
<span class="text-muted">999 - 444 - 555</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-muted">17 Aug 1988</span><br>
|
||||
<span class="text-muted">12: 55 AM</span>
|
||||
</td>
|
||||
<td>
|
||||
<select class="form-control category-select" id="exampleFormControlSelect1">
|
||||
<option>Modulator</option>
|
||||
<option>Admin</option>
|
||||
<option>User</option>
|
||||
<option>Subscriber</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" class="btn btn-outline-info btn-circle btn-lg btn-circle"><i class="fa fa-key"></i> </button>
|
||||
<button type="button" class="btn btn-outline-info btn-circle btn-lg btn-circle ml-2"><i class="fa fa-trash"></i> </button>
|
||||
<button type="button" class="btn btn-outline-info btn-circle btn-lg btn-circle ml-2"><i class="fa fa-edit"></i> </button>
|
||||
<button type="button" class="btn btn-outline-info btn-circle btn-lg btn-circle ml-2"><i class="fa fa-upload"></i> </button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="pl-4">4</td>
|
||||
<td>
|
||||
<h5 class="font-medium mb-0">Isabella Williams</h5>
|
||||
<span class="text-muted">Texas, Unitedd states</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-muted">Visual Designer</span><br>
|
||||
<span class="text-muted">Past : teacher</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-muted">daniel@website.com</span><br>
|
||||
<span class="text-muted">999 - 444 - 555</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-muted">26 Mar 1999</span><br>
|
||||
<span class="text-muted">10: 55 AM</span>
|
||||
</td>
|
||||
<td>
|
||||
<select class="form-control category-select" id="exampleFormControlSelect1">
|
||||
<option>Modulator</option>
|
||||
<option>Admin</option>
|
||||
<option>User</option>
|
||||
<option>Subscriber</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" class="btn btn-outline-info btn-circle btn-lg btn-circle"><i class="fa fa-key"></i> </button>
|
||||
<button type="button" class="btn btn-outline-info btn-circle btn-lg btn-circle ml-2"><i class="fa fa-trash"></i> </button>
|
||||
<button type="button" class="btn btn-outline-info btn-circle btn-lg btn-circle ml-2"><i class="fa fa-edit"></i> </button>
|
||||
<button type="button" class="btn btn-outline-info btn-circle btn-lg btn-circle ml-2"><i class="fa fa-upload"></i> </button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="pl-4">5</td>
|
||||
<td>
|
||||
<h5 class="font-medium mb-0">Sophia Jones</h5>
|
||||
<span class="text-muted">Texas, Unitedd states</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-muted">Visual Designer</span><br>
|
||||
<span class="text-muted">Past : teacher</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-muted">daniel@website.com</span><br>
|
||||
<span class="text-muted">999 - 444 - 555</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-muted">16 Aug 2001</span><br>
|
||||
<span class="text-muted">10: 55 AM</span>
|
||||
</td>
|
||||
<td>
|
||||
<select class="form-control category-select" id="exampleFormControlSelect1">
|
||||
<option>Modulator</option>
|
||||
<option>Admin</option>
|
||||
<option>User</option>
|
||||
<option>Subscriber</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" class="btn btn-outline-info btn-circle btn-lg btn-circle"><i class="fa fa-key"></i> </button>
|
||||
<button type="button" class="btn btn-outline-info btn-circle btn-lg btn-circle ml-2"><i class="fa fa-trash"></i> </button>
|
||||
<button type="button" class="btn btn-outline-info btn-circle btn-lg btn-circle ml-2"><i class="fa fa-edit"></i> </button>
|
||||
<button type="button" class="btn btn-outline-info btn-circle btn-lg btn-circle ml-2"><i class="fa fa-upload"></i> </button>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="pl-4">6</td>
|
||||
<td>
|
||||
<h5 class="font-medium mb-0">Charlotte Brown</h5>
|
||||
<span class="text-muted">Texas, Unitedd states</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-muted">Visual Designer</span><br>
|
||||
<span class="text-muted">Past : teacher</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-muted">daniel@website.com</span><br>
|
||||
<span class="text-muted">999 - 444 - 555</span>
|
||||
</td>
|
||||
<td>
|
||||
<span class="text-muted">15 Mar 1988</span><br>
|
||||
<span class="text-muted">10: 55 AM</span>
|
||||
</td>
|
||||
<td>
|
||||
<select class="form-control category-select" id="exampleFormControlSelect1">
|
||||
<option>Modulator</option>
|
||||
<option>Admin</option>
|
||||
<option>User</option>
|
||||
<option>Subscriber</option>
|
||||
</select>
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" class="btn btn-outline-info btn-circle btn-lg btn-circle"><i class="fa fa-key"></i> </button>
|
||||
<button type="button" class="btn btn-outline-info btn-circle btn-lg btn-circle ml-2"><i class="fa fa-trash"></i> </button>
|
||||
<button type="button" class="btn btn-outline-info btn-circle btn-lg btn-circle ml-2"><i class="fa fa-edit"></i> </button>
|
||||
<button type="button" class="btn btn-outline-info btn-circle btn-lg btn-circle ml-2"><i class="fa fa-upload"></i> </button>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{% endblock %}
|
||||
|
@ -12,9 +12,13 @@
|
||||
<div class="d-flex flex-column align-items-center text-center p-3 py-5">
|
||||
<img class="rounded-circle mt-5"
|
||||
width="150px"
|
||||
src=" {{ asset('build/images/tracer_schmolle150x150.png') }}" alt="profile image">
|
||||
src=" {{ asset('/uploads/avatars/' ~ user.avatar) }}" alt="profile image">
|
||||
<span class="font-weight-bold">{{ user.username }}</span>
|
||||
<span class="font-weight-bold"><a href="{{ path('app_main', { '_switch_user': app.user.username }) }}">switch user {{ user.username }}</span>
|
||||
{% if is_granted('ROLE_ADMIN') %}
|
||||
<span class="font-weight-bold">
|
||||
<a href="{{ path('app_main', { '_switch_user': app.user.username }) }}">switch user {{ user.username }}</a>
|
||||
</span>
|
||||
{% endif %}
|
||||
|
||||
<span class="text-white-50"><i class="fa fa-lg fa-envelope me-1"></i>{{ user.email }}</span>
|
||||
</div>
|
||||
@ -27,18 +31,21 @@
|
||||
<div class="row mt-2">
|
||||
<div class="col-md-6">
|
||||
<label class="labels" for="first-name">First Name</label>
|
||||
<input type="text" disabled id="first-name" class="form-control" placeholder="First Name" value="{{ user.firstName }}">
|
||||
<input type="text" disabled id="first-name" class="form-control" placeholder="First Name"
|
||||
value="{{ user.firstName }}">
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<label class="labels" for="last-name">Last Name</label>
|
||||
<input type="text" disabled id="last-name" class="form-control" value="{{ user.lastName }}" placeholder="Last Name">
|
||||
<input type="text" disabled id="last-name" class="form-control" value="{{ user.lastName }}"
|
||||
placeholder="Last Name">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<label class="labels" for="username">Username</label>
|
||||
<input type="text" disabled class="form-control" id="username" placeholder="eMail address" value="{{ user.email }}">
|
||||
<div class="col-md-6">
|
||||
<label class="labels" for="username">Username</label>
|
||||
<input type="text" disabled class="form-control" id="username" placeholder="eMail address"
|
||||
value="{{ user.email }}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--
|
||||
|
Reference in New Issue
Block a user