app/soc/templates/soc/person/profile.html
changeset 66 8c86470746fc
parent 65 d254d4577c30
child 67 a05bb313cda5
equal deleted inserted replaced
65:d254d4577c30 66:8c86470746fc
     1 {% comment %}
       
     2 Licensed under the Apache License, Version 2.0 (the "License");
       
     3 you may not use this file except in compliance with the License.
       
     4 You may obtain a copy of the License at
       
     5 
       
     6   http://www.apache.org/licenses/LICENSE-2.0
       
     7 
       
     8 Unless required by applicable law or agreed to in writing, software
       
     9 distributed under the License is distributed on an "AS IS" BASIS,
       
    10 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
       
    11 See the License for the specific language governing permissions and
       
    12 limitations under the License.
       
    13 {% endcomment %}
       
    14 {% load forms_helpers %}
       
    15 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
       
    16 <html lang="en">
       
    17  <head>
       
    18   <title>Profile</title>
       
    19   {% block 'stylesheet' %}{% endblock %}
       
    20  </head>
       
    21  <body>
       
    22   <p>
       
    23    {% block 'logo' %}{% endblock %}
       
    24    Welcome, {{user.nickname}}.
       
    25    {% block 'instructions' %}Please update your profile:{% endblock %}
       
    26    <form method="POST">
       
    27     <table>
       
    28      <tr>
       
    29       <td class="formfieldheading" colspan="4">
       
    30        Name <i>(publicly displayed)</i>
       
    31       </td>
       
    32      </tr>
       
    33      {% field_as_table_row form.given_name %}
       
    34      {% field_as_table_row form.surname %}
       
    35      {% field_as_table_row form.nickname %}
       
    36      {% field_as_table_row form.display_name %}
       
    37      <tr><td colspan="4">&nbsp;</td></tr>
       
    38 
       
    39      <tr>
       
    40       <td class="formfieldheading" colspan="4">
       
    41        Online Profile <i>(publicly displayed)</i>
       
    42       </td>
       
    43      </tr>
       
    44      {% field_as_table_row form.email %}
       
    45      {% field_as_table_row form.im_network %}
       
    46      {% field_as_table_row form.im_handle %}
       
    47      {% field_as_table_row form.home_page %}
       
    48      {% field_as_table_row form.blog %}
       
    49      {% field_as_table_row form.photo_url %}
       
    50      <tr><td colspan="4">&nbsp;</td></tr>
       
    51 
       
    52      <tr>
       
    53       <td class="formfieldheading" colspan="4">
       
    54        Location <i>(publicly displayed, these will be replaced with a
       
    55                     Google Maps control)</i>
       
    56       </td>
       
    57      </tr>
       
    58      {% field_as_table_row form.latitude %}
       
    59      {% field_as_table_row form.longitude %}
       
    60      <tr><td colspan="4">&nbsp;</td></tr>
       
    61 
       
    62      <tr>
       
    63       <td class="formfieldheading" colspan="4">
       
    64        Residence Address <i>(kept private)</i>
       
    65       </td>
       
    66      </tr>
       
    67      {% field_as_table_row form.res_street %}
       
    68      {% field_as_table_row form.res_city %}
       
    69      {% field_as_table_row form.res_state %}
       
    70      {% field_as_table_row form.res_postalcode %}
       
    71      {% field_as_table_row form.res_country %}
       
    72      <tr><td colspan="4">&nbsp;</td></tr>
       
    73 
       
    74      <tr>
       
    75       <td class="formfieldheading" colspan="4">
       
    76        Shipping Address <i>(kept private; optional, if omitted, Residence
       
    77                             Address will be used)</i>
       
    78       </td>
       
    79      </tr>
       
    80      {% field_as_table_row form.ship_street %}
       
    81      {% field_as_table_row form.ship_city %}
       
    82      {% field_as_table_row form.ship_state %}
       
    83      {% field_as_table_row form.ship_postalcode %}
       
    84      {% field_as_table_row form.ship_country %}
       
    85 
       
    86      <tr><td colspan="4">&nbsp;</td></tr>
       
    87 
       
    88      <tr>
       
    89       <td class="formfieldheading" colspan="4">
       
    90        Personal Information <i>(kept private)</i>
       
    91       </td>
       
    92      </tr>
       
    93      {% field_as_table_row form.phone %}
       
    94      {% field_as_table_row form.birth_date %}
       
    95      {% field_as_table_row form.tshirt_size %}
       
    96      {% field_as_table_row form.tshirt_style %}
       
    97     </table>
       
    98     <input type="submit" />
       
    99    </form>
       
   100   </p>
       
   101  </body>
       
   102 </html>
       
   103