firefly-iii/resources/views/v1/admin/index.twig
2018-11-02 19:59:29 +01:00

62 lines
2.5 KiB
Twig

{% extends "./layout/default" %}
{% block breadcrumbs %}
{{ Breadcrumbs.render }}
{% endblock %}
{% block content %}
<div class="row">
<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12">
<div class="box box-default">
<div class="box-header with-border">
<h3 class="box-title">{{ 'instance_configuration'|_ }}</h3>
</div>
<div class="box-body">
<ul>
<li><a href="{{ route('admin.configuration.index') }}">{{ 'firefly_instance_configuration'|_ }}</a></li>
<li><a href="{{ route('admin.links.index') }}">{{ 'journal_link_configuration'|_ }}</a></li>
{% if not sandstorm %}
<li><a href="{{ route('admin.update-check') }}">{{ 'update_check_title'|_ }}</a></li>
{% endif %}
</ul>
</div>
</div>
</div>
<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12">
<div class="box box-default">
<div class="box-header with-border">
<h3 class="box-title">{{ 'send_test_email'|_ }}</h3>
</div>
<form action="{{ route('admin.test-message') }}" method="post">
<div class="box-body">
<p>
{{ trans('firefly.send_test_email_text', {email:Auth.user.email})|raw }}
</p>
<input type="hidden" name="_token" value="{{ csrf_token() }}">
</div>
<div class="box-footer">
<button type="submit" class="btn btn-success">
<i class="fa fa-envelope"></i> {{ ('send_message')|_ }}
</button>
</div>
</form>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6 col-md-12 col-sm-12 col-xs-12">
<div class="box box-default">
<div class="box-header with-border">
<h3 class="box-title">{{ 'user_administration'|_ }}</h3>
</div>
<div class="box-body">
<ul>
<li><a href="{{ route('admin.users') }}">{{ 'list_all_users'|_ }}</a></li>
</ul>
</div>
</div>
</div>
</div>
{% endblock %}