Source

contentbrowser / src / templates / new_url.html

Full commit
{% extends "layout.html" %}
{% block title %}Browse content{% endblock %}
{% block extrahead %}<link rel=stylesheet href=/static/homepage.css type=text/css>{% endblock extrahead %}
{% block body %}
  <h1>Browser</h1>
  <p class=tagline>Browse content from bloated web pages.
  <h2>Submit URL</h2>
  <form action="" method=post>
    {% if error %}
      <p class=error><strong>Error:</strong> {{ error }}
    {% endif %}
      <input type=text name=url value="{{ url }}" class=urlinput id=url>
      <input type=submit value="Browse content">
  </form>
  <h2>or search in archives</h2>
  <form action="" method=post>
    {% if error %}
      <p class=error><strong>Error:</strong> {{ error }}
    {% endif %}
      <input type=text name=search value="{{ search }}" class=searchinput>
      <input type=submit value="Search archives">
  </form>
  <br /><br />
  <h3>Pro tip: use a bookmarklet!</h3>
  <p><a href="javascript:location.href='http://{{ proxy_url }}/r?url='+encodeURIComponent(location.href);">Browser</a> ← drop this bookmarklet in your favs' bar and click it when you're reading an article to jump to this content browser.</p>
{% endblock %}