src/cm/templates/site/notifications_desactivate.html
changeset 0 40c8f766c9b8
child 122 7e7f961599ae
equal deleted inserted replaced
-1:000000000000 0:40c8f766c9b8
       
     1 {% extends "site/layout/base_workspace.html" %}
       
     2 {% load i18n %}
       
     3 {% load com %}
       
     4 
       
     5 {% block head %}
       
     6 {% endblock %}
       
     7 
       
     8 {% block title %}{% blocktrans %}Desactivate notification{% endblocktrans %}{% endblock %}
       
     9 
       
    10 {% block content %}
       
    11 
       
    12 <h1 class="main_title"><a class="title" href="{% url index %}">{{ CONF.workspace_name }}</a></h1>
       
    13 
       
    14 <div id="login_container">
       
    15 
       
    16 <form id="login" enctype="multipart/form-data" class="wizard-form" action="." method="post">
       
    17 
       
    18 <div class="underline_border">
       
    19 {% blocktrans %}{{ title }}{% endblocktrans %}
       
    20 </div>
       
    21 
       
    22 
       
    23 <table class="small_form">
       
    24     <tbody>
       
    25     {% include "site/macros/form_fields.html" %}
       
    26     <tr>
       
    27         <td style="vertical-align: top; width: 20%; text-align:right;">
       
    28         </td>
       
    29         <td>
       
    30             <label></label>
       
    31             <input name="desactivate" type="submit" value="{% blocktrans %}Desactivate{% endblocktrans %}" />
       
    32 		    <input name="cancel" type="button" id="cancel_button" value="{% blocktrans %}Cancel{% endblocktrans %}" />
       
    33 			<input type="hidden" name="adminkey" value="{{ notification.adminkey }}">		    
       
    34 		    <script type="text/javascript">
       
    35 		    <!--
       
    36 		    $(document).ready(function(){
       
    37 		        $("#cancel_button").click(function (e) { 
       
    38 		            window.location = "{% url index %}";
       
    39 		            e.stopPropagation(); 
       
    40 		          });                
       
    41 		    }) ;
       
    42 		    -->
       
    43 		    </script>
       
    44             
       
    45         </td>
       
    46     </tr>
       
    47     </tbody>
       
    48 </table>
       
    49 
       
    50 </form>
       
    51 
       
    52 </div>
       
    53 {% endblock %}