Commit 8862e94c authored by Bob Haugen's avatar Bob Haugen
Browse files

replace OCP login page with original account login.html

parent 0aa77d65
{% extends "site_base.html" %}
{% load staticfiles %}
{% load i18n %}
{% load bootstrap_tags %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="https://www.w3.org/1999/xhtml" lang="en">
<head>
<title>{% trans "OCP: Open Collaborative Platform" %}</title>
{% block head_title %}{% trans "Log in" %}{% endblock %}
{% block extra_head %}
<style>
body {
/*font-family: Arial, sans-serif;
width: 600px;*/
margin: 0 auto;
}
.btn {
padding-top: 2px;
padding-bottom: 3px;
font-weight: bold;
}
</style>
{% endblock %}
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:400,700" media="all">
<link rel="stylesheet" href="{% static 'css/coop.css' %}">
<!-- <link href="{% static "css/buttons.css" %}" rel="stylesheet"> -->
<link href="{% static "bootstrap/css/bootstrap.css" %}" rel="stylesheet">
<!-- <link href="{% static "bootstrap/css/bootstrap-responsive.css" %}" rel="stylesheet"> -->
</head>
<body style="background-image: url({% static 'img/photo-OCP-1600x900_green.jpg' %}); text-align:center;">
<p>&nbsp;</p>
<form action="{% url 'set_language' %}" method="post" id="lang-switch">{% csrf_token %}
<input name="next" type="hidden" value="{{ redirect_to }}" />
<select name="language" onchange="this.form.submit()">
{% get_current_language as LANGUAGE_CODE %}
{% get_available_languages as LANGUAGES %}
{% get_language_info_list for LANGUAGES as languages %}
{% for language in languages %}
<option value="{{ language.code }}"{% if language.code == LANGUAGE_CODE %} selected="selected"{% endif %}>
{{ language.name_local }}
</option>
{% endfor %}
</select>
<!-- <input type="submit" value="Go" id="lang-submit" style="display:none;"/> -->
</form>
<h4><img src="{% static 'img/logoFreedomCoop_terebum4_widealpha_white--.png' %}" title="{% trans "Freedom Coop's" %}"></h4>
<h1>{% trans "Open Collaborative Platform (OCP)" %}</h1>
<table class="landing" border="0" align="center" style="text-align:center">
<tr>
<td colspan="2"><p>
<p>{% trans "This is OCP, our Open Collaborative Platform. The OCP is the key organizational tool we offer to individuals, collectives, and project coordinators inside Freedom Coop." %}</p>
<p>{% trans "Therefore, it can be used to:" %}</p>
<ul><li>{% trans "Boost open collaborative projects between people in different places." %}</li>
<li>{% trans "Manage open collective projects and their team work by setting up task forces." %}</li>
<li>{% trans "Account the time spent by every member to use it as a base of income distribution and a way of self-actualization for any project." %}</li>
<li>{% trans "Use some legal services that can be covered with a quarterly fee and tax distribution between Freedom Coop members." %}</li>
<li>{% trans "Manage an online Faircoin wallet to accept and make payments." %}</li></ul>
<p>{% trans "Freedom Coop, will use OCP for our collective organization as an open cooperative process." %}</p>
<p style="text-align:center;"><a href="{% url "signup" %}" class="btn btn-primary">{% trans "Sign Up" %}</a></p>
</td>
</tr>
<tr>
<td width="50%" class="login-block">
<h3>{% trans "Log in to the OCP" %}</h3>
<p>{% trans "If you already did it, and have user and password, login here." %}</p>
<div class="log">
{% block body %}
<div class="row">
<div class="span8">
<form method="POST" action="{% url "account_login" %}" autocapitalize="off" class="form-horizontal"{% if form.is_multipart %} enctype="multipart/form-data"{% endif %}>
<legend>{% trans "Log in to an existing account" %}</legend>
{% csrf_token %}
{% include "account/_login_messages.html" %}
{{ form|as_bootstrap }}
{% if redirect_field_value %}
<input type="hidden" name="{{ redirect_field_name }}" value="{{ redirect_field_value }}" />
{% endif %}
<div class="form-actions">
<a href="{% url "account_password_reset" %}" class="forgot-pass">{% trans "Forgot your password?" %}</a>
<a href="{% url "account_password_reset" %}" class="btn">{% trans "Forgot your password?" %}</a>
<button type="submit" class="btn btn-primary">{% trans "Log in" %}</button>
</div>
</form>
......@@ -93,9 +24,5 @@ body {
<div class="span4">
{% include "account/_login_sidebar.html" %}
</div>
</td>
</tr>
</table>
<p>&nbsp;</p>
</body>
</html>
</div>
{% endblock %}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment