Permalink
Browse files

Remove no longer use templates.

  • Loading branch information...
1 parent 554d3fd commit 252079f7f4e92153eed7657872124efa71b3bf9f @rlr rlr committed Feb 28, 2014
@@ -1,124 +0,0 @@
-<article id="{{ type }}">
- <header>
- <h1>
- {% if type == 'happy' %}
- {{ _('Firefox Made Me Happy') }}
- {% elif type == 'sad' %}
- {{ _('Firefox Made Me Sad') }}
- {% endif %}
- </h1>
- <p>
- {% if type == 'happy' %}
- {{ _("Super! It's great to hear that you like our browser.") }}
- {% elif type == 'sad' %}
- {{ _('We are sorry that you have not had a good experience with our browser. Please tell us why, so we can fix it.') }}
- {% endif %}
- </p>
- <nav>
- <a href="#intro" title="{{ _('Go Back') }}">{{ _('Go Back') }}<strong></strong></a>
- </nav>
- </header>
-
- <section class="content">
- <form action="" method="post" autocomplete="off">
- <div class="fields">
- <div>
- <div id="{{ type }}-id_description-counter" class="characters-remaining"></div>
- <label for="description">
- {% if type == 'happy' %}
- {{ _('Please describe what you liked.') }}
- {% else %}
- {{ _('Please describe your problem below.') }}
- {% endif %}
- </label>
- <p>
- <textarea data-max-length="10000" id="{{ type }}-id_description" class="description-field" rows="10" name="description" cols="40"></textarea>
- </p>
- {{ form.description.errors }}
- </div>
-
- <p class="privacy">
- <span>
- {% trans %}
- To protect your privacy, please ensure that no
- personally identifiable information is included in
- your feedback.
- {% endtrans %}
- </span>
- </p>
-
- {% if type == 'sad' %}
- <div class="feedback-message">
- {% trans %}
- Please be as specific as you can in the allotted space.
- For example, if you are giving feedback about slowness,
- please tell us about relevant websites, if you notice it
- at the beginning or later in the browsing session and if
- there are any actions that you perform in Firefox that
- are particularly problematic.
- {% endtrans %}
- </div>
- {% endif %}
-
- <div>
- <label for="url">
- {{ _('If your feedback is related to a website, you can include it here.') }}
- </label>
- <p>{{ form.url }}</p>
- {{ form.url.errors }}
- </div>
-
- <label class="email-ok">
- <p>
- {{ form.email_ok }}
- {{ _('Check here to let us contact you to follow up on your feedback.') }}
- </p>
- </label>
-
- <div class="email">
- <label for="id_email">
- {{ _('Email address (optional):') }}
- </label>
- <p>{{ form.email }}</p>
- {{ form.email.errors }}
-
- <p>
- {% trans %}
- While your feedback will be publicly visible, email addresses
- are kept private. We understand your privacy is important.
- {% endtrans %}
- </p>
- </div>
-
- <p>
- {% trans url="http://support.mozilla.org" %}
- For support requests, please go to <a href="{{ url }}">Mozilla Support</a> instead.
- {% endtrans %}
- </p>
-
- </div>
-
- {{ form.errors['__all__'] }}
-
- {{ form.happy }}
-
- <div id="{{ type }}-submit" class="submit">
- <a href="#" data-waittext="{{ _('Submitting Feedback') }}">
- <span>{{ _('Submit Feedback') }}</span>
- </a>
- <span></span>
- <noscript>
- <button type="submit">{{ _('Submit Feedback') }}</button>
- </noscript>
- </div>
-
- {% for hidden in form.hidden_fields() %}
- {{ hidden }}
- {% endfor %}
- {{ csrf() }}
-
- </form>
- </section>
-
- <span class="fade"></span>
-</article>
@@ -1,47 +0,0 @@
-{% extends "base.html" %}
-
-{% block site_css %}
- {{ css('feedback') }}
-{% endblock %}
-
-{% block site_js %}
- {{ js('feedback') }}
-{% endblock %}
-
-{% block page_title %}{{ _('Submit Your Feedback') }}{% endblock %}
-
-{# Remove site header. #}
-{% block site_header %}{% endblock %}
-
-{% block content %}
-
- <article id="intro">
- <header>
- <h1>{{ _('Submit Your Feedback') }}</h1>
- {{ _('Your feedback helps us improve Firefox.') }}
- </header>
-
- <section class="content" id="feedback-types">
- <ul id="feedback-types">
- <li><a id="intro-happy" href="#happy"><span><strong></strong></span>{{ _('Firefox Made Me Happy') }}</a></li>
- <li><a id="intro-sad" href="#sad"><span><strong></strong></span>{{ _('Firefox Made Me Sad') }}</a></li>
- </ul>
- </section>
-
- <aside>
- <span>
- {% trans support_url='http://support.mozilla.org/' %}
- If you need help or have a problem
- with Firefox, please visit <a href="{{ support_url }}">Firefox Support</a>.
- {% endtrans %}
- </span>
- </aside>
-
- <span class="fade"></span>
- </article>
-
- {% for type, form in forms.iteritems() %}
- {% include "feedback/feedback-form.html" %}
- {% endfor %}
-
-{% endblock %}
@@ -1,114 +0,0 @@
-{% extends "mobile/base.html" %}
-
-{% block site_css %}
- {{ css('mobile/feedback') }}
-{% endblock %}
-
-{% block site_js %}
- {{ js('mobile/feedback') }}
-{% endblock %}
-
-{% block page_title %}{{ _('Submit Your Feedback') }}{% endblock %}
-
-{# Remove site header. #}
-{% block site_header %}{% endblock %}
-
-{% block content %}
-
- <article id="intro">
- <header>
- <h1>{{ _('Submit Your Feedback') }}</h1>
- </header>
-
- <section>
- <h2>{{ _('Your feedback helps us improve Firefox.') }}</h2>
- <button class="happy">{{ _('Firefox made me happy') }}</button>
- <button class="sad">{{ _('Firefox made me sad') }}</button>
- </section>
-
- <aside>
- <span>
- {% trans support_url='http://support.mozilla.org/' %}
- If you need help or have a problem
- with Firefox, please visit <a href="{{ support_url }}">Firefox Support</a>.
- {% endtrans %}
- </span>
- </aside>
- </article>
-
- <article id="moreinfo">
- <header>
- <button class="back"></button>
- <h1 class="happy">{{ _('Firefox made me happy') }}</h1>
- <h1 class="sad">{{ _('Firefox made me sad') }}</h1>
- </header>
-
- <section>
- <form action="" method="post">
- <div>
- <div id="id_description-counter" class="characters-remaining"></div>
- <label class="happy" for="description">
- {{ _('Please describe what you liked.') }}
- </label>
- <label class="sad" for="description">
- {{ _('Please describe your problem below.') }}
- </label>
-
- <p>
- <textarea data-max-length="10000" id="id_description" class="description-field" rows="10" name="description" cols="40"></textarea>
- </p>
- {{ form.description.errors }}
- </div>
-
- <div class="feedback-message sad">
- {{ _('Please be as specific as you can.') }}
- </div>
-
- <p>
- {% trans %}
- The content of your feedback will be public, so please be
- sure not to include any personal information.
- {% endtrans %}
- </p>
-
- <label class="email-ok">
- <p>
- {{ form.email_ok }}
- {{ _('Check here to let us contact you to follow up on your feedback.') }}
- </p>
- </label>
-
- <div class="email">
- <label for="id_email">
- {{ _('Email address (optional):') }}
- </label>
- <p>{{ form.email }}</p>
- {{ form.email.errors }}
- </div>
-
- <p>
- <span id="privacy-email">
- {{ _("Don't worry, your email will always be kept private.") }}
- </span>
- </p>
-
- {{ form.errors['__all__'] }}
-
- <button class="btn submit">{{ _('Send Feedback') }}</button>
-
- {% for hidden in form.hidden_fields() %}
- {{ hidden }}
- {% endfor %}
- {{ csrf() }}
- </form>
- </section>
- <aside class="sad">
- <p>
- {% trans support_url='http://support.mozilla.org/' %}
- For support requests, please go to <a href="{{ support_url }}">Mozilla Support</a> instead.
- {% endtrans %}
- </p>
- </aside>
- </article>
-
-{% endblock %}

0 comments on commit 252079f

Please sign in to comment.