Anonymous avatar Anonymous committed 067c3aa

remove old blogger import templates. closes #162

Comments (0)

Files changed (2)

zine/templates/admin/blogger_perform_import.html

-{% extends "admin/layout.html" %}
-{% block title %}{{ _("Importing...") }}{% endblock %}
-{% block contents %}
-  <h1>{{ _("Importing...") }}</h1>
-  <p>{% trans %}
-    The importer will download your data from Blogger.com
-    This can take some time.
-    <strong>Don't hit cancel!</strong>
-  {% endtrans %}</p>
-  {%- for event in live_log %}{{ event }}{%- endfor %}
-  <p>{% trans %}
-    Data import completed successfully. You can review your import here:
-  {% endtrans %}</p>
-    <p><a href="{{ url_for('admin/import') }}">
-        {%- trans %}Import review page{% endtrans -%}
-    </a></p>
-{% endblock %}

zine/templates/admin/import_blogger.html

-{% extends "admin/layout.html" %}
-
-{% macro google() %}
-    {# Just looks cute #}
-    <span style="font-weight: bold"><span
-          style="color:#0000dd">G</span><span
-          style="color:#dd0000">o</span><span
-          style="color:#dddd00">o</span><span
-          style="color:#0000dd">g</span><span
-          style="color:#00dd00">l</span><span
-          style="color:#dd0000">e</span>&reg;</span>
-{% endmacro %}
-
-{% block title %}{{ _("Import from Blogger.com") }}{% endblock %}
-{% block contents %}
-  <h1>{{ _("Import from Blogger.com") }}</h1>
-  <p>{% trans %}
-  This importer allows you to import a blog from Blogger.com.
-  {% endtrans %}</p>
-
-  {% if has_auth %}
-  {# already logged in to google, list available blogs for import #}
-
-  <p>{% trans google=google() %}
-  You are authenticated with {{ google }}.
-  {% endtrans %}</p>
-
-  <form action="{{ url_for('import/blogger') }}" method="post">
-    <dl>
-      <dt>{{ _("Select Blog To Import") }}</dt>
-      <dd>
-        <select name="blog_id">
-            {% for blog in available_blogs %}
-                <option value="{{ get_blog_id(blog) }}">{{ blog.title.text }}</option>
-            {% endfor %}
-        </select>
-      </dd>
-    </dl>
-    <div class="actions">
-      {{ hidden_form_data }}
-      <input name="import" type="submit" value="{{ _('Import') }}">
-      <input name="logout" type="submit" value="{{ _('Log out of Google') }}">
-    </div>
-  </form>
-
-  {% else %}
-
-  {# not logged in to google. Display some info and a log in link #}
-
-  <p>{% trans google=google() %}
-  You are not authenticated with {{ google }}. You need to authenticate to continue
-  the import. This link will take you to {{ google }}, and once you are
-  authenticated you will be redirected back to this importer. This is the
-  preferred way to authenticate, and although it's a bit clumsy, it is safe.
-  {% endtrans %}</p>
-
-  <p>{% trans url=proxy_auth_url,google=google() %}
-    <a href="{{ url }}">Log into your {{ google }} account</a>
-  {% endtrans %}</p>
-
-  {% endif %}
-
-{% endblock %}
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.