Browse Source

add about/ page

damien 11 years ago
parent
commit
e3fd46879e
2 changed files with 118 additions and 0 deletions
  1. 6 0
      pboard/pboard/controllers/root.py
  2. 112 0
      pboard/pboard/templates/about.mak

+ 6 - 0
pboard/pboard/controllers/root.py View File

@@ -63,6 +63,12 @@ class RootController(BaseController):
63 63
         return dict()
64 64
 
65 65
 
66
+    @expose('pboard.templates.about')
67
+    def about(self):
68
+        """Handle the about-page."""
69
+        return dict()
70
+
71
+
66 72
     @expose('pboard.templates.login')
67 73
     def login(self, came_from=lurl('/')):
68 74
         """Start the user login."""

+ 112 - 0
pboard/pboard/templates/about.mak View File

@@ -0,0 +1,112 @@
1
+<%inherit file="local:templates.master"/>
2
+<%namespace name="POD" file="pboard.templates.pod"/>
3
+
4
+<%def name="title()">
5
+  pod :: take notes, list tasks, write documents, manage projects
6
+</%def>
7
+
8
+  <div class="row">
9
+    <div class="span10 offset1">
10
+      <div class="row">
11
+        <div class="span7">
12
+          <div class="well"  style="min-height: 17em;">
13
+            <h1>
14
+              <i class="fa fa-check-square-o"></i>
15
+              ${_("Simple tool, flexible data.")}
16
+            </h1>
17
+            <p>
18
+              With <strong>pod</strong> you will be able to:
19
+            </p>
20
+            <ul>
21
+              <li>
22
+                <i class="pod-blue fa fa-fw fa-sort-alpha-asc"></i> Manage semi-structured
23
+                data like text <i class="fa fa-file-text-o"></i> ,
24
+                contacts <i class="fa fa-user"></i> ,
25
+                events <i class="fa fa-calendar"></i> ,
26
+                files <i class="fa  fa-paperclip"></i> ...
27
+                </li>
28
+              <li>
29
+                <i class="pod-blue fa fa-fw fa-pencil"></i> Write <i>structured text</i> 
30
+                <i class="fa fa-text-height"></i> documents including
31
+                <i>images</i> <i class="fa  fa-picture-o"></i> 
32
+              </li>
33
+              <li>
34
+                <i class="pod-blue fa fa-bar-chart-o"></i>
35
+                Make your documents live through <i class="fa fa-lightbulb-o"></i>
36
+                <i>status management</i> and <i class="fa fa-comments-o"></i> <i>comments</i>.
37
+            </ul>
38
+            <p>
39
+              <strong>pod</strong> is usable on both computers
40
+              <i class="pod-blue fa fa-desktop"></i>
41
+               , tablets <i class="pod-blue fa fa-tablet"></i> and mobile phones <i class="pod-blue fa fa-mobile-phone"></i>
42
+            </p>
43
+            <p class="text-right">
44
+              <strong class="pod-blue"> Give it a try!</strong>
45
+              <i class="fa fa-2x fa-arrow-right" style="vertical-align: middle;"></i>
46
+            </p>
47
+          </div>
48
+        </div>
49
+        ${POD.SignUpForm('17em')}
50
+      </div>
51
+    </div>
52
+  </div>
53
+  <div class="row">
54
+    <div class="span5 offset1">
55
+      <div class="well" style="height: 17em;">
56
+        <h1>
57
+          <i class="fa fa-signal"></i>
58
+          ${_("Improving pod")}
59
+        </h1>
60
+        <p><strong>pod</strong> ${_(" is a piece of software developed with <u>user needs</u> in mind.")|n}</p>
61
+        <p>${_("It means that we need:")|n}</p>
62
+        <ul class="fa-ul">
63
+          <li><i class="pod-blue fa fa-li fa-microphone"></i> ${_("your feedback,")}</li>
64
+          <li><i class="pod-blue fa fa-li fa-question"></i> ${_("you to ask questions,")}</li>
65
+          <li><i class="pod-blue fa fa-li fa-gears"></i> ${_("your feature requests,")}</li>
66
+          <li><i class="pod-blue fa fa-li  fa-thumbs-up"></i> ${_("you to tell us what's cool and what's wrong.")}</li>
67
+        </ul>
68
+        <p>
69
+          In order to improve <i>your experience</i> and the <i>benefits of pod for you</i>.
70
+        </p>
71
+      </div>
72
+    </div>
73
+    <div class="span5">
74
+      <div class="well" style="min-height: 17em;">
75
+        <h1>
76
+          <i class="fa  fa-smile-o"></i>
77
+          ${_("The author")}
78
+        </h1>
79
+
80
+        <p>
81
+          My name is <strong>Damien Accorsi</strong> and
82
+        </p>
83
+        <ul class="fa-ul">
84
+          <li><i class="pod-blue fa fa-li fa-calendar"></i> ${_("I'm 35 years old,")}</li>
85
+          <li><i class="pod-blue fa fa-li fa-flask"></i> ${_("I'm a skilled software engineer,")}</li>
86
+          <li><i class="pod-blue fa fa-li fa-map-marker"></i> ${_("I live in France, near Grenoble.")}</li>
87
+        </ul>
88
+        <p>
89
+          Extra information:
90
+        </p>
91
+        <ul class="fa-ul">
92
+          <li><i class="pod-blue fa fa-li fa-envelope-o"></i> damien.accorsi+pod@free.fr</li>
93
+          <li><i class="pod-blue fa fa-li fa-comments-o"></i> I like to discuss</li>
94
+        </ul>
95
+      </div>
96
+    </div>
97
+  </div>
98
+  <div class="row">
99
+    <div class="span8 offset2">
100
+      <div class="text-center">
101
+        <p style="margin: 1em 0 0 0;">
102
+          <a class="btn btn-success" href="mailto:pod+alphatest@accorsi.info?subject=feedback about pod software">
103
+            <i class="fa fa-envelope-o"></i>
104
+            <strong>${_("email us")}</strong>
105
+          </a> ${_("and we will reply to you.")}
106
+          <strong>${_("Thank you.")}</strong>
107
+        </p>
108
+      </div>
109
+    </div>
110
+  </div>
111
+
112
+