~chamindra/sahana-eden/frp3

« back to all changes in this revision

Viewing changes to views/default/index.html

  • Committer: chamindra at opensource
  • Date: 2010-02-15 21:33:34 UTC
  • Revision ID: chamindra@opensource.lk-20100215213334-a5a31d4owqgxy2cn
Updated homepage and addressed usability issue of http://trac.sahanapy.org/ticket/319

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
{{extend 'layout.html'}}
2
 
<div id='home'>
3
 
<!--
4
 
<div id='logo'>
5
 
</div>
6
 
-->
7
 
<h2>{{=T("FAC Food Request Portal")}}</h2>
8
 
<!--
9
 
<p>
10
 
{{=T("Sahana is a collection of web based disaster management applications that provides solutions to large-scale humanitarian coordination and collaboration in disaster situation and its aftermath. Sahana consists of several modules for following functionalities")}}:
11
 
</p>
12
 
<ul>
13
 
{{for module in modules:}}
14
 
 {{if not module.access and not module.name=='default':}}
15
 
  <li><strong>{{=A(T(module.name_nice), _href=URL(r=request, c='default', f='open_module', vars=dict(id='%d' % module.id)))}}</strong> - {{=module.description}}.</li>
16
 
 {{else:}}
17
 
  {{authorised = False}}
18
 
  {{groups = re.split('\|', module.access)[1:-1]}}
19
 
  {{for group in groups:}}
20
 
   {{if auth.has_membership(group):}}
21
 
    {{authorised = True}}
22
 
   {{pass}}
23
 
  {{pass}}
24
 
  {{if authorised == True:}}
25
 
   <li><strong>{{=A(T(module.name_nice), _href=URL(r=request, c='default', f='open_module', vars=dict(id='%d' % module.id)))}}</strong> - {{=module.description}}.</li>
26
 
  {{pass}}
27
 
 {{pass}}
28
 
{{pass}}
29
 
</ul>
30
 
<p>
31
 
{{=T("For more details on the Sahana system, see the")}} <a href="http://www.sahana.lk">{{=T("Sahana Website")}}</a>
32
 
<br/>{{=T("For live help from the Sahana community on using this application, go to")}} <a href="http://www.sahana.lk/chat">{{=T("Sahana Community Chat")}}</a>
33
 
<br/>{{=T("To access Sahana documentation, go to")}} <a href="https://trac.sahanapy.org/wiki">{{=T("SahanaPy Wiki")}}</a>
34
 
</p>
35
 
<p>
36
 
-->
37
 
{{=T("Administrator")}}: {{=admin_name}}
38
 
<br/>{{=T("Email")}} : {{=admin_email}}
39
 
<br/>{{=T("Telephone")}} : {{=admin_tel}}
40
 
</p>
41
 
 
42
 
</div>
 
2
<div id="home">
 
3
<div style="margin:20px auto; width:96%;" 
 
4
    <div style="float:left; font-size:x-large; line-height:110%; width:50%; margin-right:50px;">
 
5
    {{if auth.is_logged_in():}}
 
6
    {{=OL(
 
7
      LI(
 
8
        SPAN(A(T('New Request'),
 
9
          _href=URL(r=request, c='food', f='req', args=['create']), _class="action-btn"),_style="font-weight:bold;"),
 
10
          _style="margin-top:1em;"),
 
11
 
 
12
      LI(
 
13
        SPAN(A(T('Manage Requests'),
 
14
          _href=URL(r=request, c='food', f='req', args=['report']), _class="action-btn"),_style="font-weight:bold;"),
 
15
          _style="margin-top:1em;"),
 
16
 
 
17
       _style="list-style-type: none;"
 
18
     )}}
 
19
    {{else:}}
 
20
    {{=UL(
 
21
      LI(
 
22
        T("If you are a new User:"),BR(),BR(),
 
23
        SPAN(A(T('Sign-up for Account'),
 
24
          _href=URL(r=request, c='default', f='user', args=['register']), _class="action-btn"),_style="font-weight:bold;"),
 
25
          _style="margin-top:1em;"),
 
26
      LI(
 
27
        T("If you are already registered on the site:"),BR(),BR(),
 
28
        SPAN(A(T('Login As User'),
 
29
          _href=URL(r=request, c='default', f='user', args=['login']), _class="action-btn"),_style="font-weight:bold;"),
 
30
          _style="margin-top:1em;"),
 
31
      LI(
 
32
        T("If you can't remember your password:"),BR(),BR(),
 
33
        SPAN(A(T('Forgot Password'),
 
34
          _href=URL(r=request, c='default', f='user', args=['retrieve_password']), _class="action-btn"),_style="font-weight:bold;"),
 
35
          _style="margin-top:1em;"),
 
36
 
 
37
 
 
38
       _style="list-style-type: none;"
 
39
     )}}
 
40
    {{pass}}
 
41
    </div>
 
42
 
 
43
  <div style="width:400px; float:right; padding:0 10px; margin: 0 auto;">
 
44
    {{=H4(T('ABOUT THIS PORTAL'))}}
 
45
    {{=T("The")}} {{=T(module_name)}} {{=T("The World Food Program Food Request Portal for Haiti Relif provides a interface to help bring effeciences to food distribution in partnership with Implementation Partners (IPs). If you are an WFP authorized Implementation Partner please do register on this system and subsequently post you requests for food aid")}}
 
46
    {{=H4(T("FUNCTIONLITY"))}}
 
47
    <ul>
 
48
        <li>{{=T("Register as a WFP Implementing Partner in Haiti")}}</li>
 
49
        <li>{{=T("Make Requests for Food Aid for food distribution sites under your management")}}</li>
 
50
        <li>{{=T("Track the status of the food request and be notified by email and mobile phone")}}</li>
 
51
    </ul>
 
52
    {{=H4(T("CONTACT INFORMATION"))}}
 
53
    {{=T("For more information please contact the WFP Food Request Administrator on the contact details below")}}
 
54
    <ul>
 
55
       <li>{{=T("WFP Administrator")}}: {{=admin_name}}</li>
 
56
       <li>{{=T("Email")}} : {{=admin_email}}</li>
 
57
       <li>{{=T("Telephone")}} : {{=admin_tel}}</li>
 
58
    </ul>
 
59
  </div>
 
60
</div>
 
61
</div><!-- home -->