Commit 313e6cf9 authored by Olga Brani's avatar Olga Brani
Browse files

Indermediate page for create group

parent 02c2c7d5
{% extends "im/account_base.html" %}
{% block body %}
<div class="projects">
<div class="clearfix">
<p>You can create the followind type of projects:</p>
</div>
<div class="two-cols clearfix dotted">
<div class="rt centered">
<img alt="THINK ABOUT IT" src="/static/medialibrary/2012/04/proffessor.png">
</div>
<div class="lt">
<h2 style="color:#B66D00;">COURSE</h2>
<div>
<p>You wake up one morning and you need a new computer with a specific operating system and hardware requirements (or 10 new computers). You also need 10GB of storage space to store some new content you just got your hands on (or 50GB ;-)).</p>
<a href="{% url group_add 'course' %}" class="submit">CREATE COURSE</a>
</div>
</div>
</div>
<div class="two-cols clearfix dotted">
<div class="rt centered">
<img alt="THINK ABOUT IT" src="/static/medialibrary/2012/06/behind_okeanos.png">
</div>
<div class="lt">
<h2 style="color:#4085A6;">PROJECT</h2>
<div>
<p>You wake up one morning and you need a new computer with a specific operating system and hardware requirements (or 10 new computers). You also need 10GB of storage space to store some new content you just got your hands on (or 50GB ;-)).</p>
<a href="{% url group_add 'project' %}" class="submit">CREATE PROJECT</a>
</div>
</div>
</div>
<div class="two-cols clearfix dotted">
<div class="rt centered">
<img alt="THINK ABOUT IT" src="/static/medialibrary/2012/06/from_athens.png">
</div>
<div class="lt">
<h2 style="color:#EF4F54;">ORGANISATION</h2>
<div>
<p>You wake up one morning and you need a new computer with a specific operating system and hardware requirements (or 10 new computers). You also need 10GB of storage space to store some new content you just got your hands on (or 50GB ;-)).</p>
<a href="{% url group_add 'organization' %}" class="submit">CREATE ORGANISATION</a>
</div>
</div>
</div>
<div class="two-cols clearfix dotted">
<div class="rt centered">
<img alt="THINK ABOUT IT" src="/static/medialibrary/2012/04/researcher.png">
</div>
<div class="lt">
<h2 style="color:#FF7CA4;">LAB</h2>
<div>
<p>You wake up one morning and you need a new computer with a specific operating system and hardware requirements (or 10 new computers). You also need 10GB of storage space to store some new content you just got your hands on (or 50GB ;-)).</p>
<a href="{% url group_add 'laboratory' %}" class="submit">CREATE LAB</a>
</div>
</div>
</div>
</div>
{% endblock body %}
\ No newline at end of file
......@@ -14,13 +14,13 @@
</form>
{% else %}
<div class="projects">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. <br />You can <a href="{% url group_add %}">create a new group</a> or <a href="{% url group_search %}">join</a> to an existing one.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. <br />You can <a href="{% url group_create_list %}">create a new group</a> or <a href="{% url group_search %}">join</a> to an existing one.</p>
<ul class="widjets clearfix">
<li>
<div>
<p>WELCOME!<br />Connect with a world of people who share your passions.<br />With millions of groups at your fingertips, it's easy to find the group that's best for you -- no matter your interest.</p>
<p class="btn"><a href="{% url group_add %}" class="submit">Create a group</a></p>
<p class="btn"><a href="{% url group_create_list %}" class="submit">Create a group</a></p>
</div>
</li>
<li>
......
......@@ -56,7 +56,7 @@
<h2 style="color:#FF7CA4;">LAB</h2>
<div>
<p>You wake up one morning and you need a new computer with a specific operating system and hardware requirements (or 10 new computers). You also need 10GB of storage space to store some new content you just got your hands on (or 50GB ;-)).</p>
<a href="#" class="submit">CREATE LAB</a>
<a href="{% url group_add 'laboratory' %}" class="submit">CREATE LAB</a>
</div>
</div>
</div>
......
......@@ -57,6 +57,7 @@ urlpatterns = patterns('astakos.im.views',
#url(r'^group/(?P<group_id>\d+)/request/approval/?$', 'group_approval_request', {}, name='group_approval_request'),
url(r'^group/(?P<group_id>\d+)/(?P<user_id>\d+)/approve/?$', 'approve_member', {}, name='approve_member'),
url(r'^group/(?P<group_id>\d+)/(?P<user_id>\d+)/disapprove/?$', 'disapprove_member', {}, name='disapprove_member'),
url(r'^group/create/?$', 'group_create_list', {}, name='group_create_list'),
)
if EMAILCHANGE_ENABLED:
......
......@@ -834,4 +834,12 @@ def resource_list(request):
template='im/astakosuserquota_list.html',
context_instance=get_context(request),
quota=request.user.quota
)
\ No newline at end of file
)
@signed_terms_required
@login_required
def group_create_list(request):
return render_response(
template='im/astakosgroup_create_list.html',
context_instance=get_context(request),
)
\ No newline at end of file
Markdown is supported
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