kopia lustrzana https://github.com/wagtail/wagtail
Add additional class to headers to give greater specificity
rodzic
ec6e995987
commit
060e2f62ec
|
@ -7,11 +7,11 @@
|
|||
|
||||
{% block content %}
|
||||
|
||||
<header class="merged tab-merged nice-padding">
|
||||
<header class="merged tab-merged">
|
||||
{% explorer_breadcrumb parent_page include_self=1 %}
|
||||
|
||||
<div class="row row-flush">
|
||||
<div class="left col9">
|
||||
<div class="left col9 header-title">
|
||||
<h1 class="icon icon-doc-empty-inverse">{% trans 'New' %} <span>{{ content_type.model_class.get_verbose_name }}</span></h1>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -7,11 +7,11 @@
|
|||
|
||||
{% block content %}
|
||||
{% page_permissions page as page_perms %}
|
||||
<header class="merged tab-merged nice-padding">
|
||||
<header class="merged tab-merged">
|
||||
{% explorer_breadcrumb page %}
|
||||
|
||||
<div class="row row-flush">
|
||||
<div class="left col9">
|
||||
<div class="left col9 header-title">
|
||||
<h1 class="icon icon-doc-empty-inverse">{% blocktrans with title=page.get_admin_display_title page_type=content_type.model_class.get_verbose_name %}Editing {{ page_type }} <span>{{ title }}</span>{% endblocktrans %}</h1>
|
||||
</div>
|
||||
<div class="right col3">
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<header class="nice-padding {% if merged %}merged{% endif %} {% if tabbed %}tab-merged{% endif %} {% if search_form %}hasform{% endif %}">
|
||||
<div class="row">
|
||||
<div class="left">
|
||||
<div class="col">
|
||||
<div class="col header-title">
|
||||
<h1 class="icon icon-{{ icon }}">{{ title }}{% if subtitle %} <span>{{ subtitle }}</span>{% endif %}</h1>
|
||||
</div>
|
||||
{% if search_url %}
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
|
||||
<header class="nice-padding">
|
||||
<div class="row row-flush">
|
||||
<div class="left col9">
|
||||
<div class="left col9 header-title">
|
||||
<h1 class="icon icon-snippet">{% blocktrans with snippet_type_name_plural=model_opts.verbose_name_plural|capfirst %}Snippets <span>{{ snippet_type_name_plural }}</span>{% endblocktrans %}</h1>
|
||||
|
||||
{% if is_searchable %}
|
||||
|
|
Ładowanie…
Reference in New Issue