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" "">
<html xmlns="" lang="en">
<title>{% trans "OCP: Open Collaborative Platform" %}</title>
{% block head_title %}{% trans "Log in" %}{% endblock %}
{% block extra_head %}
body {
/*font-family: Arial, sans-serif;
width: 600px;*/
margin: 0 auto;
.btn {
padding-top: 2px;
padding-bottom: 3px;
font-weight: bold;
{% endblock %}
<link rel="stylesheet" href=",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"> -->
<body style="background-image: url({% static 'img/photo-OCP-1600x900_green.jpg' %}); text-align:center;">
<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 }}
{% endfor %}
<!-- <input type="submit" value="Go" id="lang-submit" style="display:none;"/> -->
<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">
<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 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>
......@@ -93,9 +24,5 @@ body {
<div class="span4">
{% include "account/_login_sidebar.html" %}
{% 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