]> git.ipfire.org Git - people/jschlag/pbs.git/commitdiff
Unescape xsrf form HTML.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 28 Oct 2012 20:52:35 +0000 (21:52 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 28 Oct 2012 20:52:35 +0000 (21:52 +0100)
24 files changed:
data/templates/base.html
data/templates/build-bugs.html
data/templates/build-manage.html
data/templates/build-priority.html
data/templates/build-state.html
data/templates/builder-edit.html
data/templates/builder-new.html
data/templates/builds-watchers-add.html
data/templates/distro-edit.html
data/templates/distro-update-edit.html
data/templates/jobs-abort.html
data/templates/keys-import.html
data/templates/login.html
data/templates/mirrors-edit.html
data/templates/mirrors-new.html
data/templates/modules/build-offset.html
data/templates/modules/modal-base.html
data/templates/package-properties.html
data/templates/register.html
data/templates/repository-edit.html
data/templates/user-forgot-password.html
data/templates/user-impersonation.html
data/templates/user-profile-edit.html
data/templates/user-profile-passwd.html

index 1b0206340a02a79358c77901cae1f657ca1440fe..9876fc0d2cc4662eb7ef5ffbb0002451268a1a8d 100644 (file)
                {% if not current_user %}
                        <div class="modal hide fade" id="login">
                                <form id="loginfrm" class="modal-form form-horizontal" method="POST" action="/login">
-                                       {{ xsrf_form_html() }}
+                                       {% raw xsrf_form_html() %}
 
                                        <div class="modal-header">
                                                <a class="close" data-dismiss="modal">&times;</a>
index 6ca40d591a2cfaf1a0bda8988e5d2f0c2f566ec0..eedb9c57409a9e53d94ca0e9658587f1e5873aaf 100644 (file)
@@ -63,7 +63,7 @@
 
        <div class="modal hide fade" id="add">
                <form class="modal-form form-horizontal" method="POST" action="">
-                       {{ xsrf_form_html() }}
+                       {% raw xsrf_form_html() %}
                        <input type="hidden" name="action" value="add" />
 
                        <div class="modal-header">
 
        <div class="modal hide fade" id="rem">
                <form class="modal-form form-horizontal" method="POST" action="">
-                       {{ xsrf_form_html() }}
+                       {% raw xsrf_form_html() %}
                        <input type="hidden" name="action" value="remove" />
 
                        <div class="modal-header">
index 2d1eb875bec62d111f38788d77c2a9d5bc493313..d456cb5c73d54ecb71381a2e4bac81a7b575e292 100644 (file)
@@ -33,7 +33,7 @@
        <div class="row">
                <div class="span6 offset3">
                        <form class="form-horizontal" method="POST" action="">
-                               {{ xsrf_form_html() }}
+                               {% raw xsrf_form_html() %}
                                <input type="hidden" name="action" value="push" />
 
                                <fieldset>
index 4f60ee3c55017270c5ced50927ec8b3b2913c1bd..a100b9de28de85862cab4ea8059d17014f6ffbde 100644 (file)
@@ -5,7 +5,7 @@
 {% block body %}
        <h1>{{ _("Edit build priority") }}: {{ build.name }}</h1>
        <form method="post" action="">
-               {{ xsrf_form_html() }}
+               {% raw xsrf_form_html() %}
                <table class="form form3">
                        <tr>
                                <td class="col1">{{ _("Priority") }}</td>
index 6f914c01c5788c20166cd0eaa939775a59533700..707fc685c9706b52947183b87952c4afb04d403d 100644 (file)
@@ -32,7 +32,7 @@
        {% if current_user and build.has_perm(current_user) %}
                {% if build.state in ("building", "testing", "stable") %}
                        <form method="POST" action="">
-                               {{ xsrf_form_html() }}
+                               {% raw xsrf_form_html() %}
                                <table class="form form2">
                                        <tr>
                                                <td class="col1" colspan="2">
@@ -65,7 +65,7 @@
 
                {% if build.state == "broken" %}
                        <form method="POST" action="">
-                               {{ xsrf_form_html() }}
+                               {% raw xsrf_form_html() %}
                                <table class="form form2">
                                        <tr>
                                                <td class="col1" colspan="2">
@@ -86,7 +86,7 @@
                        </form>
                {% else %}
                        <form method="POST" action="">
-                               {{ xsrf_form_html() }}
+                               {% raw xsrf_form_html() %}
                                <table class="form form2">
                                        <tr>
                                                <td class="col1" colspan="2">
index ca638d4477732d26b3a99fa56a80ea6c6dbad0d1..e48dbdbb88bc9cc2a29bcf6e2a68f322db8a7b16 100644 (file)
@@ -28,7 +28,7 @@
        <div class="row">
                <div class="span8">
                        <form class="form-horizontal" method="POST" action="">
-                               {{ xsrf_form_html() }}
+                               {% raw xsrf_form_html() %}
                                <fieldset>
                                        <div class="control-group">
                                                <label class="control-label">{{ _("Hostname") }}</label>
index 519c39349d93cc9b45a6cb8b49b7317ecfcdf46a..0401070014496dcef58b0665eceecb893de4a9d5 100644 (file)
@@ -24,7 +24,7 @@
        <div class="row">
                <div class="span6 offset3">
                        <form class="form-horizontal" method="POST" action="">
-                               {{ xsrf_form_html() }}
+                               {% raw xsrf_form_html() %}
                                <fieldset>
                                        <div class="control-group">
                                                <label class="control-label" for="name">{{ _("Hostname") }}</label>
index cc70294856c0baca3c5fb8c292770a72598c37f0..9396840a65d15fb2bb4d7cd62cb9351e27c51588 100644 (file)
@@ -48,7 +48,7 @@
        <div class="row">
                <div class="span6 offset3">
                        <form class="form-horizontal" method="POST" action="">
-                               {{ xsrf_form_html() }}
+                               {% raw xsrf_form_html() %}
 
                                <fieldset>
                                        {% if current_user.is_admin() %}
index d167d6aae8f22e61ebc7bd316362530668c33f40..58f6fd120bf385f6e805f0e7b42a738234b08232 100644 (file)
@@ -6,7 +6,7 @@
        <h1>{{ _("Edit distribution %s") % distro.name }}</h1>
 
        <form method="post" action="">
-               {{ xsrf_form_html() }}
+               {% raw xsrf_form_html() %}
                <table class="form form3">
                        <tr>
                                <td class="col1">{{ _("Name") }}</td>
index b3af20286d2b1c03fc500923ddff480f6b61792a..5e5904a60a8e5f24a84eeb97e5a3b5bfa243e3b9 100644 (file)
@@ -13,7 +13,7 @@
        </h1>
 
        <form method="post" action="">
-               {{ xsrf_form_html() }}
+               {% raw xsrf_form_html() %}
 
                <table class="form form3">
                        <tr>
index 124357e4bd4e809e3345147ed88567f3cb35fc77..d662b0408df70ddfb2b0eea114e7874d2d1766f8 100644 (file)
@@ -10,7 +10,7 @@
        </p>
 
        <form method="post" action="">
-               {{ xsrf_form_html() }}
+               {% raw xsrf_form_html() %}
                <table class="form form3">
                        <tr>
                                <td class="col1">{{ _("Build job") }}</td>
index 6318652d054634b12aa9eb60f544f2d932c72efb..47eed8b12b5b52becd80a1a484e7a522b688e8b2 100644 (file)
@@ -24,7 +24,7 @@
        <div class="row">
                <div class="span6 offset3">
                        <form class="form-horizontal" method="POST" action="">
-                               {{ xsrf_form_html() }}
+                               {% raw xsrf_form_html() %}
                                <fieldset>
                                        <div class="control-group">
                                                <label class="control-label" for="data">{{ _("Key") }}</label>
index 435bc0e3341d5d342de0124fa5e0f9e822a66568..bd6d9d1f714e5955dd2d506f0c91e4e27e339834 100644 (file)
@@ -15,7 +15,7 @@
        {% end %}
 
        <form class="form-horizontal" method="POST" action="">
-               {{ xsrf_form_html() }}
+               {% raw xsrf_form_html() %}
 
                <fieldset>
                        <div class="control-group">
index 56ed23668eae52aabed85ae47b356e3983103160..e319b5dcf0ba23afe7353a819ef899ab7be0accb 100644 (file)
@@ -28,7 +28,7 @@
        <div class="row">
                <div class="span6 offset3">
                        <form class="form-horizontal" method="POST" action="">
-                               {{ xsrf_form_html() }}
+                               {% raw xsrf_form_html() %}
                                <fieldset>
                                        <div class="control-group">
                                                <label class="control-label" for="name">{{ _("Hostname") }}</label>
index 475b5115bdc4945cb1a3628186fc9aedbdbb1647..8222f6065defc60364799ecbbe98251da33ab8c6 100644 (file)
@@ -26,7 +26,7 @@
        <div class="row">
                <div class="span6 offset3">
                        <form class="form-horizontal" method="POST" action="">
-                               {{ xsrf_form_html() }}
+                               {% raw xsrf_form_html() %}
                                <fieldset>
                                        <div class="control-group {% if hostname_missing %}error{% end %}">
                                                <label class="control-label" for="name">{{ _("Hostname") }}</label>
index 493b09725a81222aff11cfe378ad5da318c5c0d9..82c5b46e96bf3d5372a46ca1007bea2c9e15cd35 100644 (file)
@@ -1,5 +1,5 @@
 <form class="form-horizontal" method="POST" action="">
-       {{ xsrf_form_html() }}
+       {% raw xsrf_form_html() %}
        <fieldset>
                <div class="control-group">
                        <label class="control-label" for="offset">{{ _("Start time") }}</label>
index 15de33b05abd2d49bb2d54ac6608f1fcb10b8280..266fe4330e18343035896488f36b926d97a837bc 100644 (file)
@@ -1,6 +1,6 @@
 <div class="modal hide fade" id="{% block id %}{% end block %}">
        <form class="modal-form form-horizontal" method="POST" action="{% block form_action %}{% end block %}">
-               {{ xsrf_form_html() }}
+               {% raw xsrf_form_html() %}
 
                <div class="modal-header">
                        {% block header %}
index 3284d8acf7ad7f4b5e2b06d24abdfef45333c618..22d53db3e54b3f3062d291338eddbd08dbbafe0f 100644 (file)
@@ -26,7 +26,7 @@
        <div class="row">
                <div class="span8">
                        <form class="form form-horizontal" method="POST" action="">
-                               {{ xsrf_form_html() }}
+                               {% raw xsrf_form_html() %}
 
                                <fieldset>
                                        <legend>{{ _("Maintainers") }}</legend>
index 22a5b13b44180c4bd6fdce93fe49e38a32cc3a46..1aaa2ba6f398da1a8267f273f09410618659b306 100644 (file)
@@ -39,7 +39,7 @@
        <div class="row">
                <div class="span8">
                        <form class="form-horizontal" method="POST" action="">
-                               {{ xsrf_form_html() }}
+                               {% raw xsrf_form_html() %}
 
                                <legend>{{ _("Registration form") }}</legend>
 
index 1774fdd2c1a84db8ba21ebf9d27293c4c039ada7..33ce65aad4dd2dbe46bc5c202269d9e2e57b7a0e 100644 (file)
@@ -9,7 +9,7 @@
        </h1>
 
        <form method="post" action="">
-               {{ xsrf_form_html() }}
+               {% raw xsrf_form_html() %}
                <table class="form form3">
                        <tr>
                                <td class="col1">{{ _("Name") }}</td>
index eb62efb3613d7b60c6870f0b457fed37cdb5bf01..2896ea41b39a8ba13070468ca6795de55ca94653 100644 (file)
@@ -35,7 +35,7 @@
                        <hr>
 
                        <form class="form-horizontal" method="POST" action="">
-                               {{ xsrf_form_html() }}
+                               {% raw xsrf_form_html() %}
 
                                <fieldset>
                                        <div class="control-group">
index 071d1a5b8c61bce6a868e7dbbd5c5d197027b460..84d68a1d4dd9d7b210836cf0669657bf8b1ba55b 100644 (file)
@@ -23,7 +23,7 @@
                        </div>
 
                        <form method="POST" action="">
-                               {{ xsrf_form_html() }}
+                               {% raw xsrf_form_html() %}
                                <input type="hidden" name="user" value="{{ user.name }}" />
                                <input class="btn btn-danger pull-right" type="submit" value="{{ _("Impersonate %s") % user.realname }}" />
                        </form>
index 7d9c8167e866c4ee5e273dd2db6c290b16de664d..77e09fe14e8659773d9266f0719ea471944f031a 100644 (file)
@@ -4,7 +4,7 @@
        <h1>{{ _("Edit user %s") % user.realname }}</h1>
 
        <form method="post" action="">
-               {{ xsrf_form_html() }}
+               {% raw xsrf_form_html() %}
                <table class="form form3">
                        <tr>
                                <td class="col1">{{ _("Username") }}:</td>
index c18e99102ae132468b81e4cf98f637bc1633dda1..8d187d0b5d2c1b22ea498e9cad9e63aae9efc607 100644 (file)
@@ -53,7 +53,7 @@
                        {% end %}
 
                        <form class="form-horizontal" method="POST" action="">
-                               {{ xsrf_form_html() }}
+                               {% raw xsrf_form_html() %}
 
                                <fieldset>
                                        {% if user == current_user %}