Browse Source

improve general design + make a signup form widget

damien 11 years ago
parent
commit
d03abc6682
2 changed files with 24 additions and 3 deletions
  1. 10 3
      pboard/pboard/templates/master.mak
  2. 14 0
      pboard/pboard/templates/pod.mak

+ 10 - 3
pboard/pboard/templates/master.mak View File

@@ -54,8 +54,10 @@
54 54
 <%def name="title()">  </%def>
55 55
 
56 56
 <%def name="footer()">
57
-  <div class="footer hidden-tablet hidden-phone">
58
-    <p>Copyright &copy; pod project ${h.current_year()}</p>
57
+  <div class="footer hidden-tablet hidden-phone text-center">
58
+    <p class="pod-blue"><i>${_("Using pod, you can: search a job, manage projects, track and manage clients and prospects, document processes and knowledge, ...")}</i></p>
59
+    <hr style="width: 50%; margin: 0.5em auto;"/>
60
+    <p>Copyright &copy; 2013 - ${h.current_year()} pod project.</p>
59 61
   </div>
60 62
 </%def>
61 63
 
@@ -146,7 +148,7 @@
146 148
 
147 149
 
148 150
           % endif
149
-          
151
+
150 152
           % if request.identity and request.identity['repoze.who.userid']=='damien@accorsi.info':
151 153
             <li class="dropdown">
152 154
               <a href="#" class="dropdown-toggle" data-toggle="dropdown">Admin <b class="caret"></b></a>
@@ -169,6 +171,11 @@
169 171
           % endif
170 172
           </ul>
171 173
           <ul class="nav pull-right">
174
+            <li>
175
+              <a href="${tg.url('/about')}"><i class="fa fa-question"></i> ${_('About')}</a>
176
+            </li>
177
+
178
+
172 179
             % if not request.identity:
173 180
               <li class="dropdown">
174 181
                 <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i> Login</a>

+ 14 - 0
pboard/pboard/templates/pod.mak View File

@@ -24,6 +24,20 @@
24 24
   % endif
25 25
 </%def>
26 26
 
27
+<%def name='SignUpForm(psCssMinHeight="1em")'>
28
+  <div class="span3">
29
+    <form class="well" style="min-height: ${psCssMinHeight};" action="${tg.url('/public_api/create_account')}">
30
+      <fieldset>
31
+        <legend>Want to try?</legend>
32
+        <input type="text"     name="email"            id="email" placeholder="Email"><br/>
33
+        <input type="password" name="password"         id="password" placeholder="Password"><br/>
34
+        <input type="password" name="retyped_password" id="retyped_password" placeholder="Retype your password"><br/>
35
+        <input type="submit"   id="submit" value="Create account" class="btn btn-success" style="width: 95%;"/><br/>
36
+      </fieldset>
37
+    </form>
38
+  </div>
39
+</%def>
40
+
27 41
 <%def name='RichTextEditorToolbar(psRichTextEditorNodeId, psMenuOptions="styles|boldanditalic|lists|justifiers|links|images|undoredo|fullscreen")'>
28 42
       <div class="btn-toolbar" data-role="${psRichTextEditorNodeId}-toolbar" data-target="${psRichTextEditorNodeId}">
29 43
       % if psMenuOptions.find('styles')>=0: