Revision 4b7d68f0

b/snf-astakos-app/astakos/im/templates/im/astakosgroup_create_list.html
1
{% extends "im/account_base.html" %}
2

  
3
{% block body %}
4
<div class="projects">
5
	<div class="clearfix">
6
		<p>You can create the followind type of projects:</p>
7
	</div>
8
	
9
	<div class="two-cols clearfix dotted">
10
		<div class="rt centered">
11
			<img alt="THINK ABOUT IT" src="/static/medialibrary/2012/04/proffessor.png">
12
		</div>
13
		<div class="lt">
14
			<h2 style="color:#B66D00;">COURSE</h2>
15
	    	<div>
16
	    		<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>
17
	    		<a href="{% url group_add 'course' %}" class="submit">CREATE COURSE</a>
18
	    	</div>
19
		</div>
20
	</div>
21
	<div class="two-cols clearfix dotted">
22
		<div class="rt centered">
23
			<img alt="THINK ABOUT IT" src="/static/medialibrary/2012/06/behind_okeanos.png">
24
		</div>
25
		<div class="lt">
26
			<h2 style="color:#4085A6;">PROJECT</h2>
27
	    	<div>
28
	    		<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>
29
	    		<a href="{% url group_add 'project' %}" class="submit">CREATE PROJECT</a>
30
	    	</div>
31
		</div>
32
	</div>
33
	<div class="two-cols clearfix dotted">
34
		<div class="rt centered">
35
			<img alt="THINK ABOUT IT" src="/static/medialibrary/2012/06/from_athens.png">
36
		</div>
37
		<div class="lt">
38
			<h2 style="color:#EF4F54;">ORGANISATION</h2>
39
	    	<div>
40
	    		<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>
41
	    		<a href="{% url group_add 'organization' %}" class="submit">CREATE ORGANISATION</a>
42
	    	</div>
43
		</div>
44
	</div>
45
	<div class="two-cols clearfix dotted">
46
		<div class="rt centered">
47
			<img alt="THINK ABOUT IT" src="/static/medialibrary/2012/04/researcher.png">
48
		</div>
49
		<div class="lt">
50
			<h2 style="color:#FF7CA4;">LAB</h2>
51
	    	<div>
52
	    		<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>
53
	    		<a href="{% url group_add 'laboratory' %}" class="submit">CREATE LAB</a>
54
	    	</div>
55
		</div>
56
	</div>
57
</div>
58

  
59
{% endblock body %}
b/snf-astakos-app/astakos/im/templates/im/astakosgroup_list.html
14 14
    </form>
15 15
    {% else %}
16 16
    <div class="projects">
17
		<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>
17
		<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>
18 18
		 
19 19
		<ul class="widjets clearfix">	
20 20
			<li>
21 21
				<div>
22 22
					<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>
23
					<p class="btn"><a href="{% url group_add %}" class="submit">Create a group</a></p>
23
					<p class="btn"><a href="{% url group_create_list %}" class="submit">Create a group</a></p>
24 24
				</div>
25 25
			</li>
26 26
			<li>
b/snf-astakos-app/astakos/im/templates/im/projects/list_types.html
56 56
			<h2 style="color:#FF7CA4;">LAB</h2>
57 57
	    	<div>
58 58
	    		<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>
59
	    		<a href="#" class="submit">CREATE LAB</a>
59
	    		<a href="{% url group_add 'laboratory' %}" class="submit">CREATE LAB</a>
60 60
	    	</div>
61 61
		</div>
62 62
	</div>
b/snf-astakos-app/astakos/im/urls.py
57 57
    #url(r'^group/(?P<group_id>\d+)/request/approval/?$', 'group_approval_request', {}, name='group_approval_request'),
58 58
    url(r'^group/(?P<group_id>\d+)/(?P<user_id>\d+)/approve/?$', 'approve_member', {}, name='approve_member'),
59 59
    url(r'^group/(?P<group_id>\d+)/(?P<user_id>\d+)/disapprove/?$', 'disapprove_member', {}, name='disapprove_member'),
60
    url(r'^group/create/?$', 'group_create_list', {}, name='group_create_list'),
60 61
)
61 62

  
62 63
if EMAILCHANGE_ENABLED:
b/snf-astakos-app/astakos/im/views.py
834 834
        template='im/astakosuserquota_list.html',
835 835
        context_instance=get_context(request),
836 836
        quota=request.user.quota
837
    )
837
    )
838
    
839
@signed_terms_required
840
@login_required
841
def group_create_list(request):
842
    return render_response(
843
        template='im/astakosgroup_create_list.html',
844
        context_instance=get_context(request),
845
    )    

Also available in: Unified diff