2018-11-27 12:01:36 +01:00
|
|
|
{% extends "layouts/app.twig" %}
|
|
|
|
{% import 'macros/base.twig' as m %}
|
|
|
|
|
|
|
|
{% block title %}{{ __('Login') }}{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-12 text-center">
|
|
|
|
<h2>{{ __('Welcome to the %s!', [config('name') ~ m.angel() ~ (config('app_name')|upper) ])|raw }}</h2>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
{% for name,date in {
|
|
|
|
(__('Buildup starts')): config('buildup_start'),
|
|
|
|
(__('Event starts')): config('event_start'),
|
|
|
|
(__('Event ends')): config('event_end'),
|
|
|
|
(__('Teardown ends')): config('teardown_end')
|
2019-03-16 22:02:36 +01:00
|
|
|
} | filter(date => date) %}
|
2018-11-27 12:01:36 +01:00
|
|
|
{% if date > date() %}
|
|
|
|
<div class="col-sm-3 text-center hidden-xs">
|
|
|
|
<h4>{{ name }}</h4>
|
|
|
|
<span class="moment-countdown text-big" data-timestamp="{{ date.getTimestamp }}">%c</span>
|
|
|
|
<small>{{ date.format(__('Y-m-d')) }}</small>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-6 col-sm-offset-3 col-md-4 col-md-offset-4">
|
|
|
|
<div class="panel panel-primary first">
|
|
|
|
<div class="panel-body">
|
2020-03-01 18:21:16 +01:00
|
|
|
{% include 'layouts/parts/messages.twig' %}
|
2018-11-27 12:01:36 +01:00
|
|
|
|
|
|
|
<form action="" enctype="multipart/form-data" method="post">
|
|
|
|
{{ csrf() }}
|
|
|
|
<div class="form-group">
|
2019-07-21 18:53:51 +02:00
|
|
|
<div class="input-group">
|
2019-07-21 21:12:38 +02:00
|
|
|
<span class="input-group-addon input-lg">{{ m.angel }}</span>
|
2019-11-15 21:42:08 +01:00
|
|
|
<input
|
2020-06-01 15:13:21 +02:00
|
|
|
class="form-control input-lg"
|
|
|
|
id="form_nick"
|
|
|
|
type="text"
|
|
|
|
name="login"
|
|
|
|
value=""
|
|
|
|
placeholder="{{ __('Nick') }}"
|
|
|
|
autofocus>
|
2019-07-21 18:53:51 +02:00
|
|
|
</div>
|
2018-11-27 12:01:36 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
2019-07-21 18:53:51 +02:00
|
|
|
<div class="input-group">
|
2019-07-21 21:12:38 +02:00
|
|
|
<span class="input-group-addon input-lg">{{ m.glyphicon('lock') }}</span>
|
2020-06-01 15:13:21 +02:00
|
|
|
<input
|
|
|
|
class="form-control input-lg" id="form_password"
|
|
|
|
type="password" name="password" value="" placeholder="{{ __('Password') }}"
|
|
|
|
>
|
2019-07-21 18:53:51 +02:00
|
|
|
</div>
|
2018-11-27 12:01:36 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="form-group">
|
2019-07-21 18:53:51 +02:00
|
|
|
<button class="btn btn-primary btn-lg btn-block" type="submit" name="submit">
|
|
|
|
{{ __('Login') }}
|
|
|
|
</button>
|
2018-11-27 12:01:36 +01:00
|
|
|
</div>
|
|
|
|
|
2019-07-21 18:53:51 +02:00
|
|
|
<div class="text-center">
|
2019-10-08 16:17:06 +02:00
|
|
|
<a href="{{ url('/password/reset') }}" class="">
|
2019-07-21 18:53:51 +02:00
|
|
|
{{ __('I forgot my password') }}
|
|
|
|
</a>
|
|
|
|
</div>
|
2018-11-27 12:01:36 +01:00
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-sm-6 text-center">
|
|
|
|
<h2>{{ __('Register') }}</h2>
|
|
|
|
{% if has_permission_to('register') and config('registration_enabled') %}
|
|
|
|
<p>{{ __('Please sign up, if you want to help us!') }}</p>
|
|
|
|
<div class="form-group">
|
|
|
|
<a href="{{ url('register') }}" class="btn btn-default">{{ __('Register') }} »</a>
|
|
|
|
</div>
|
|
|
|
{% else %}
|
|
|
|
{{ m.alert(__('Registration is disabled.'), 'danger') }}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="col-sm-6 text-center">
|
|
|
|
<h2>{{ __('What can I do?') }}</h2>
|
|
|
|
<p>{{ __('Please read about the jobs you can do to help us.') }}</p>
|
|
|
|
<div class="form-group">
|
|
|
|
<a href="{{ url('angeltypes', {'action': 'about'}) }}" class="btn btn-default">
|
|
|
|
{{ __('Teams/Job description') }} »
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2019-10-06 17:56:53 +02:00
|
|
|
<div class="col-md-12 text-center">
|
|
|
|
{{ m.glyphicon('info-sign') }} {{ __('Please note: You have to activate cookies!') }}
|
|
|
|
</div>
|
|
|
|
</div>
|
2018-11-27 12:01:36 +01:00
|
|
|
</div>
|
|
|
|
{% endblock %}
|