Redbeard / templates / layout.html

<!DOCTYPE html>
<html class="no-js">
	<meta charset="utf-8">
	<title>{% block title %}Redbeard{% endblock %}</title>
	<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.png') }}">
	<link rel="stylesheet" href="{{ url_for('static', filename='css/html5reset-1.6.1.css') }}" media="screen" charset="utf-8">
	<link rel="stylesheet" href="{{ url_for('static', filename='css/style.css') }}" media="screen" charset="utf-8">
	<link rel="stylesheet" href="{{ url_for('static', filename='css/jquery.confirm.css') }}" media="screen" charset="utf-8">
	<script type="text/javascript" src="{{ url_for('static', filename='js/jquery-1.5.1.min.js') }}"></script>
	<script type="text/javascript" src="{{ url_for('static', filename='js/modernizr-1.6.min.js') }}"></script>
	<header id="masthead">
	{% block header %}
		<a href="{{ url_for('index') }}">
			<h1 id="logo">RedBeard</h1>
		{% if session %}
				<a href="{{ url_for('setup') }}">
					<h2>Redis connection info</h2>
				<dd>{{ session.redis_host }}</dd>
				<dd>{{ session.redis_port }}</dd>
				<dd>{{ session.redis_db }}</dd>
				<dt>DB Size:</dt>
				<dd>{{ db_size }} keys</dd>
		{% endif %}
	{% endblock %}

	<form action="{{ url_for('change_db') }}" method="post" id="switch_db">
			<label for="id_redis_db">Current Redis DB:</label>
			<input type="number" name="redis_db" id="id_redis_db" value="{{ session.redis_db }}" min="0">

	<ul id="flashes">
	{% with messages = get_flashed_messages() %}
        {% if messages %}
        	{% for message in messages %}
        	<li>{{ message }}</li>
        	{% endfor %}
        {% endif %}
    {% endwith %}

	<div id="left">
		{% block leftblock %}{% endblock %}

	<div id="right">
		{% block content %}{% endblock %}

	<p>&copy; <a href="">Brack3t</a>. Design by <a href="">Changemode Design</a>. Icons from <a 
	<script src="{{ url_for('static', filename='js/jquery.confirm.js') }}"></script>
	{% block extra_scripts %}{% 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
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.