1. Kenneth Love
  2. Redbeard

Source

Redbeard / templates / layout.html

Kenneth Love bdc9f44 

Chris Jones 4eed33b 
Kenneth Love bdc9f44 
Chris Jones 4eed33b 
Kenneth Love 7a326b4 
Kenneth Love f2fa25b 
Kenneth Love bdc9f44 
Kenneth Love f2fa25b 
Chris Jones 4eed33b 

Kenneth Love bdc9f44 
Kenneth Love 620dc14 
Kenneth Love baf602f 


Chris Jones 99ae790 
Kenneth Love bdc9f44 

Kenneth Love baf602f 


Kenneth Love bdc9f44 







Kenneth Love 03860b4 

Kenneth Love bdc9f44 

Chris Jones 99ae790 
Kenneth Love 620dc14 
Kenneth Love bdc9f44 
Chris Jones 4eed33b 
Kenneth Love bdc9f44 


Kenneth Love 9012bb0 
Kenneth Love bdc9f44 



Chris Jones 4eed33b 






Kenneth Love bdc9f44 

Chris Jones 4eed33b 
Kenneth Love bdc9f44 
Kenneth Love 32bf44a 





Kenneth Love bdc9f44 
Chris Jones 4eed33b 

Kenneth Love bdc9f44 


Chris Jones 4eed33b 
Kenneth Love bdc9f44 
Kenneth Love bc9ef20 

Kenneth Love bdc9f44 
Kenneth Love 32bf44a 










































Kenneth Love f30ce3f 
Chris Jones 4eed33b 
<!DOCTYPE html>
<html class="no-js">
<head>
	<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">
</head>
<body>
	<header id="masthead">
	{% block header %}
		<a href="{{ url_for('index') }}">
			<h1 id="logo">RedBeard</h1>
		</a>
		{% if session %}
		<aside>
			<header>
				<a href="{{ url_for('setup') }}">
					<h2>Redis connection info</h2>
				</a>
			</header>
			<dl>
				<dt>Host:</dt>
				<dd>{{ session.redis_host }}</dd>
				<dt>Port:</dt>
				<dd>{{ session.redis_port }}</dd>
				<dt>DB:</dt>
				<dd>{{ session.redis_db }}</dd>
				<dt>DB Size:</dt>
				<dd>{{ db_size }} keys</dd>
			</dl>
		</aside>
		{% endif %}
	{% endblock %}
	</header>

	<form action="{{ url_for('change_db') }}" method="post" id="switch_db">
		<fieldset>
			<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">
		</fieldset>
	</form>

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

	<div id="left">
		<div class="jstest">This application is running with Javascript turned 
			off.</div>
		<header id="keyheader">
			<h1>Keys</h1>
		</header>
		<ul id="keylist"></ul>
		{% block leftblock %}{% endblock %}
	</div>

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

	<footer>
	<p>&copy; <a href="http://brack3t.com">Brack3t</a>. Design by <a href="http://www.changemodedesign.com/">Changemode Design</a>. Icons from <a 
			href="http://somerandomdude.com/projects/iconic/">Iconic</a>.</p>
	</footer>
	<script src="{{ url_for('static', filename='js/LAB.min.js') }}"></script>
	<script>
		$LAB
			.script("{{ url_for('static', filename='js/jquery-1.5.1.min.js') }}").wait()
			.script("{{ url_for('static', filename='js/modernizr-1.6.min.js') }}")
			.script("{{ url_for('static', filename='js/jquery.tmpl.min.js') }}")
			.script("{{ url_for('static', filename='js/underscore-min.js') }}")
			.script("{{ url_for('static', filename='js/backbone-min.js') }}")
			.script("{{ url_for('static', filename='js/cacheprovider.js') }}")
			.script("{{ url_for('static', filename='js/jquery.confirm.js') }}")
			.script("{{ url_for('static', filename='js/jquery.hashchange.min.js') }}")
			.script("{{ url_for('static', filename='js/jquery.scrollTo-1.4.2-min.js') }}").wait()
			.script("{{ url_for('static', filename='js/redbeard.js') }}");
	</script>
	<script type="text/x-jquery-tmpl" id="indexTemplate">
		<header id="keyheader">
			<h1>Keys</h1>
		</header>
		<ul id="keylist"></ul>
	</script>
	<script type="text/x-jquery-tmpl" id="keyTemplate">
		<li><a href="#key/${attributes.key}">${attributes.key}</a></li>
	</script>
	<script type="text/x-jquery-tmpl" id="editTemplate">
		<article>
			<form action="{{ url_for('save', key=key) }}" method="post" id="key">
				<header>
					<h2>{{ rtype }}</h2>
					<input type="text" name="key_name" value="${attribute.key}">
					<input type="hidden" name="saved_key_name" value="${attribute.key}">
					{% if ttl %}
					<h3>Key expires in: {{ ttl }} seconds</h3>
					{% endif %}
				</header>
				<textarea name="value" cols="60" rows="20">${attribute.value}</textarea>
				<div id="controls">
					<a id="refresh" href="{{ url_for('key', key=key) }}" title="refresh">refresh</a>
					<a id="delete" href="{{ url_for('delete', key=key) }}" title="delete">delete</a>
					<input type="submit" value="save" title="save">
				</div>
			</form>
		</article>
	</script>
	{% block extra_scripts %}{% endblock %}
</body>
</html>