Source

satchmo / satchmo / apps / satchmo_store / shop / templates / admin / base_site.html

Full commit
{% extends "admin/base.html" %}
{% load i18n satchmo_util%}

{% block extrahead %}
{% blackbird_logging %}
{% include "shop/_jquery.html" %}
{{ block.super }}
	<script type="text/javascript"><!--
	var satchmo = satchmo || {};
	satchmo.select_if_one = function(selector, label) {
		var elt = $(selector);
		if (elt && elt.length>0 && elt[0].options.length == 2) {
			try { log.debug('selecting default ' + label); } catch(err) {};
			elt[0].options[1].selected = true;
		}
	}
    $(function() {
		satchmo.select_if_one('#id_site', 'site');
	});
	-->
	</script>
{% endblock %}

{% block extrastyle %}
{{ block.super }}

{% if STATIC_URL %}
    {% load admin_static %}
    <link rel="stylesheet" type="text/css" href="{% static 'admin/css/base.css' %}" />
{% else %}
    {% load adminmedia %}
    <link rel="stylesheet" type="text/css" href="{% admin_media_prefix %}css/base.css"/>
{% endif %}

<style type="text/css">
#content-related { float:right; width:29em; position:relative; margin-right: -30em;}
#content-related .module h2 { cursor: default; }
#content-related .module h2 .status { font-style: italic; }
div.tabular .vCurrencyField { width: 70%; }
</style>
<script type="text/javascript"> 
window.__admin_media_prefix__ = "/media/";
</script>
{% endblock %}

{% block title %}{{ title|escape }} | {{ shop_name }} {% trans 'Site Administration' %}{% endblock %}

{% block branding %}
<h1 id="site-name">{{ shop_name }} {% trans 'Site Administration' %}</h1>
{% endblock %}

{% block nav-global %}

{% endblock %}