2013-10-24 01:49:46 +02:00
|
|
|
{% load i18n %}
|
2013-10-25 01:03:16 +02:00
|
|
|
{% load crispy_forms_tags %}
|
2022-05-25 23:38:10 +02:00
|
|
|
{% load static %}
|
2013-10-25 01:03:16 +02:00
|
|
|
|
2013-10-19 00:47:24 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="de">
|
|
|
|
|
<head>
|
|
|
|
|
<title>
|
|
|
|
|
{% if title %}
|
|
|
|
|
{{ title }} - c-base member-interface
|
|
|
|
|
{% endif %}
|
|
|
|
|
c-base member-interface
|
|
|
|
|
</title>
|
|
|
|
|
|
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
|
<meta name="description" content="">
|
|
|
|
|
<meta name="author" content="">
|
|
|
|
|
|
2013-10-24 21:28:17 +02:00
|
|
|
<link href="/static/c-base-bootstrap/css/bootstrap.css" rel="stylesheet">
|
|
|
|
|
<link href="/static/c-base-bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
|
2013-10-19 00:47:24 +02:00
|
|
|
<style>
|
|
|
|
|
body {
|
|
|
|
|
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
|
|
|
|
|
}
|
2013-10-29 19:43:43 +01:00
|
|
|
@media (max-width: 979px) {
|
|
|
|
|
body {
|
|
|
|
|
padding-top: 0 !important;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@media (max-device-width: 480px) {
|
|
|
|
|
.brand img {
|
|
|
|
|
padding-top: 4px;
|
|
|
|
|
width: 47px;
|
|
|
|
|
height: 13px;
|
|
|
|
|
}
|
|
|
|
|
.navbar .brand {
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
line-height: 20px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2013-10-25 19:35:32 +02:00
|
|
|
.asteriskField {
|
|
|
|
|
color: #ff1111;
|
|
|
|
|
margin-left: 3px;
|
|
|
|
|
}
|
|
|
|
|
.formRequired {
|
|
|
|
|
margin-top: 0px;
|
|
|
|
|
}
|
2013-10-25 20:18:28 +02:00
|
|
|
a.brandtext {
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
}
|
2013-10-19 00:47:24 +02:00
|
|
|
</style>
|
|
|
|
|
<!-- link rel="shortcut icon" href="{{ STATIC_URL }}ico/favicon.ico" -->
|
|
|
|
|
<!-- link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
|
|
|
|
|
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
|
|
|
|
|
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
|
|
|
|
|
<link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png" -->
|
|
|
|
|
</head>
|
|
|
|
|
<body>
|
|
|
|
|
<div class="navbar navbar-inverse navbar-fixed-top">
|
|
|
|
|
<div class="navbar-inner">
|
|
|
|
|
<div class="container">
|
|
|
|
|
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
|
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
|
<span class="icon-bar"></span>
|
|
|
|
|
</a>
|
2013-10-25 20:18:28 +02:00
|
|
|
<span class="brand"><a href="/"><img style="margin-top: -10px;"
|
2018-10-03 00:16:28 +02:00
|
|
|
src="{% static 'img/logo.gif' %}" /></a>
|
2013-10-25 20:18:28 +02:00
|
|
|
<a href="/">{% trans "member interface" %}</a>
|
|
|
|
|
</span>
|
2013-10-19 00:47:24 +02:00
|
|
|
<div class="nav-collapse collapse">
|
2013-10-25 20:18:28 +02:00
|
|
|
<ul class="nav nav-collapse collapse pull-right">
|
2013-11-25 17:55:39 +01:00
|
|
|
<li><a href="https://github.com/c-base/cbmi/issues">Bugs/Issues</a></li>
|
2013-11-24 23:00:49 +01:00
|
|
|
{% if request.user.is_authenticated %}
|
|
|
|
|
<li><a href="/account/logout/">Logout</a></li>
|
|
|
|
|
{% else %}
|
|
|
|
|
<li><a href="/account/login/">Login</a></li>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</ul>
|
2013-10-25 20:18:28 +02:00
|
|
|
{% if request.user.is_authenticated %}
|
2013-11-24 23:00:49 +01:00
|
|
|
<p class="navbar-text pull-right">
|
|
|
|
|
<i class="icon icon-user icon-white"></i>
|
|
|
|
|
{{ user.username }}
|
|
|
|
|
</p>
|
2013-10-25 20:18:28 +02:00
|
|
|
{% endif %}
|
2013-10-19 00:47:24 +02:00
|
|
|
</div>
|
|
|
|
|
<!--/.nav-collapse -->
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{% block mainnav %}
|
|
|
|
|
{% if request.user.is_authenticated and navigation %}
|
|
|
|
|
{#% include "navigation.html" %#}
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endblock mainnav %}
|
|
|
|
|
<br/>
|
|
|
|
|
{% block body %}
|
|
|
|
|
<div class="container">
|
2013-10-24 01:49:46 +02:00
|
|
|
{% block container %}
|
2013-10-19 00:47:24 +02:00
|
|
|
<div class="row">
|
2013-10-25 01:03:16 +02:00
|
|
|
<div class="span8">
|
2013-10-19 00:47:24 +02:00
|
|
|
<div class="well">
|
|
|
|
|
<h2>c-base member-interface</h2>
|
2013-10-25 01:03:16 +02:00
|
|
|
{% blocktrans %}On this website any member can view and
|
|
|
|
|
edit their data stored in the LDAP directory of
|
|
|
|
|
c-base.{% endblocktrans %}
|
2013-10-19 00:47:24 +02:00
|
|
|
</div>
|
|
|
|
|
<div class="alert alert-info alert-block">
|
2013-10-25 01:03:16 +02:00
|
|
|
{% blocktrans %}If you are a new member and don't have a
|
|
|
|
|
password yet, please contact one of the following people:{% endblocktrans %}
|
2013-10-19 00:47:24 +02:00
|
|
|
<ul>
|
|
|
|
|
{% for admin in admins %}
|
|
|
|
|
<li>{{ admin}}</li>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2013-10-25 01:03:16 +02:00
|
|
|
<div class="span4">
|
|
|
|
|
<div class="well">
|
|
|
|
|
<h4>Login</h4>
|
2015-09-26 19:22:25 +02:00
|
|
|
<form class="form" action="/account/login/?next=/"
|
2013-11-24 23:49:12 +01:00
|
|
|
method="post">
|
|
|
|
|
{% csrf_token %}
|
|
|
|
|
{{ login_form|crispy }}
|
|
|
|
|
<div class="control-group">
|
|
|
|
|
<div class="controls">
|
|
|
|
|
<button type="submit" class="btn btn-primary">{% trans "Sign in" %}</button>
|
|
|
|
|
</div>
|
2013-10-25 01:03:16 +02:00
|
|
|
</div>
|
2013-11-24 23:49:12 +01:00
|
|
|
</form>
|
|
|
|
|
<hr />
|
|
|
|
|
<form class="form" action="/" method="get">
|
|
|
|
|
<input type="text" id="check_nickname" name="check_nickname">
|
|
|
|
|
<div class="control-group">
|
|
|
|
|
<div class="controls">
|
2014-11-28 21:52:36 +01:00
|
|
|
<button type="submit" class="btn">{% trans "Check crewname" %}</button>
|
2013-11-24 23:49:12 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</form>
|
|
|
|
|
{% if not check_nickname == "" %}
|
|
|
|
|
{% if check_nickname %}
|
|
|
|
|
<div class="alert alert-danger alert-block">
|
2014-11-28 21:52:36 +01:00
|
|
|
{% blocktrans %}This crewname is already taken.{% endblocktrans %}
|
2013-11-24 23:49:12 +01:00
|
|
|
</div>
|
|
|
|
|
{% else %}
|
|
|
|
|
<div class="alert alert-success alert-block">
|
2014-11-28 21:52:36 +01:00
|
|
|
{% blocktrans %}This crewname is still available.{% endblocktrans %}
|
2013-11-24 23:49:12 +01:00
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% endif %}
|
2013-10-25 01:03:16 +02:00
|
|
|
</div><!-- /.well -->
|
|
|
|
|
</div>
|
2013-10-19 00:47:24 +02:00
|
|
|
</div>
|
2013-10-24 01:49:46 +02:00
|
|
|
{% endblock container %}
|
2013-10-25 04:24:26 +02:00
|
|
|
<hr />
|
|
|
|
|
<div class="row pull-right">
|
2022-09-27 20:54:21 +02:00
|
|
|
<small class="muted">Copyright © 2022 by c-base e.V.</small>
|
2013-10-25 04:24:26 +02:00
|
|
|
</div>
|
2013-10-24 01:49:46 +02:00
|
|
|
</div><!-- /.container -->
|
2013-10-19 00:47:24 +02:00
|
|
|
{% endblock body %}
|
2013-11-23 20:50:20 +01:00
|
|
|
<script src="/static/js/jquery.min.js"></script>
|
2013-10-25 19:34:07 +02:00
|
|
|
<script src="/static/c-base-bootstrap/js/bootstrap.js"></script>
|
2013-10-24 21:28:17 +02:00
|
|
|
<script src="/static/c-base-bootstrap/js/bootstrap-transitions.js"></script>
|
|
|
|
|
<script src="/static/c-base-bootstrap/js/bootstrap-dropdown.js"></script>
|
2013-10-19 00:47:24 +02:00
|
|
|
</body>
|
|
|
|
|
</html>
|