kopia lustrzana https://github.com/wagtail/wagtail
added icons to all interfaces where possible
rodzic
462ed39837
commit
9bc41a7b01
|
@ -210,6 +210,7 @@ footer .actions .dropdown-toggle{
|
|||
|
||||
&:before,
|
||||
&:after{
|
||||
margin:0;
|
||||
right:1em !important;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -53,6 +53,7 @@ $explorer-z-index:500;
|
|||
&:before{
|
||||
opacity:0.5;
|
||||
left:1em;
|
||||
margin-right:0.5em;
|
||||
|
||||
}
|
||||
|
||||
|
@ -81,7 +82,10 @@ $explorer-z-index:500;
|
|||
border-left:1px solid rgba(255,255,255,0.2);
|
||||
|
||||
&:before{
|
||||
padding:0.55em 0;
|
||||
padding: 0.55em 0;
|
||||
display: block;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
&:hover{
|
||||
|
|
|
@ -296,7 +296,7 @@ input[type=submit], input[type=reset], input[type=button], .button, button{
|
|||
@include border-radius(2px);
|
||||
|
||||
li{
|
||||
background-color: $color-grey-2;
|
||||
background-color: $color-teal;
|
||||
float:left;
|
||||
cursor:pointer;
|
||||
margin-right:1px;
|
||||
|
@ -312,9 +312,10 @@ input[type=submit], input[type=reset], input[type=button], .button, button{
|
|||
|
||||
.icon:before{
|
||||
line-height:2em;
|
||||
width:2em;
|
||||
}
|
||||
.icon:hover{
|
||||
background-color:$color-teal;
|
||||
background-color:$color-teal-darker;
|
||||
|
||||
&:before{
|
||||
color:white;
|
||||
|
|
|
@ -34,15 +34,15 @@
|
|||
font-variant: normal;
|
||||
text-transform: none !important;
|
||||
speak: none;
|
||||
display: inline-block;
|
||||
text-decoration: none;
|
||||
width: 1.3em;
|
||||
line-height: 1em;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
vertical-align: -20%;
|
||||
font-size:20px;
|
||||
font-size:1.8em;
|
||||
text-align:left;
|
||||
vertical-align:middle;
|
||||
margin-right:0.2em;
|
||||
}
|
||||
.icon:after,
|
||||
.hallotoolbar [class^="icon-"]:after,
|
||||
|
@ -242,19 +242,19 @@
|
|||
content:"2";
|
||||
}
|
||||
|
||||
|
||||
.icon.text-replace{
|
||||
font-size:0em;
|
||||
line-height:0;
|
||||
overflow:hidden;
|
||||
|
||||
&:before{
|
||||
margin-right:0;
|
||||
font-size:1rem;
|
||||
display:inline-block;
|
||||
width:100%;
|
||||
line-height:1.2em;
|
||||
text-align:center;
|
||||
vertical-align:0;
|
||||
vertical-align:middle;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ ul.listing{
|
|||
}
|
||||
|
||||
td, th{
|
||||
padding:1.5em 1em;
|
||||
padding:1.2em 1em;
|
||||
}
|
||||
|
||||
&.small td, th{
|
||||
|
|
|
@ -85,7 +85,7 @@
|
|||
.tab-nav li{
|
||||
width:auto;
|
||||
padding:0;
|
||||
margin-left:0.5em;
|
||||
margin-left:0.7em;
|
||||
}
|
||||
|
||||
.tab-nav a{
|
||||
|
|
|
@ -227,7 +227,7 @@ img{
|
|||
text-shadow:-1px -1px 0px rgba(0,0,0,0.3);
|
||||
|
||||
&:before{
|
||||
margin-right:0.3em;
|
||||
margin-right:0.5em;
|
||||
}
|
||||
&:hover{
|
||||
color:white;
|
||||
|
@ -395,7 +395,6 @@ body.explorer-open {
|
|||
}
|
||||
|
||||
header{
|
||||
|
||||
padding-top:1em;
|
||||
padding-bottom:1em;
|
||||
padding-left: 4em !important;
|
||||
|
@ -409,7 +408,12 @@ header{
|
|||
}
|
||||
|
||||
h1{
|
||||
padding:0.2em 0;
|
||||
padding:0.2em 0;
|
||||
|
||||
&.icon:before{
|
||||
margin-right:0.4em;
|
||||
font-size:1.5em;
|
||||
}
|
||||
}
|
||||
|
||||
.col{
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
z-index:2;
|
||||
font-size:2em;
|
||||
top:0px;
|
||||
line-height:1.6em;
|
||||
line-height:1.8em;
|
||||
left:0px;
|
||||
width:1.7em;
|
||||
opacity:0.15;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
{% block content %}
|
||||
{% trans "Create a page in" as create_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=create_str subtitle=parent_page.title %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=create_str subtitle=parent_page.title icon="doc-empty-inverse" %}
|
||||
|
||||
<div class="nice-padding">
|
||||
<p>{% trans "Choose which type of page you'd like to create." %}</p>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
{% block content %}
|
||||
{% trans "Delete" as del_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=del_str subtitle=page.title %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=del_str subtitle=page.title icon="doc-empty-inverse" %}
|
||||
|
||||
<div class="nice-padding">
|
||||
<p>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{% block bodyclass %}menu-explorer{% endblock %}
|
||||
{% block content %}
|
||||
{% trans "Move" as move_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=move_str subtitle=page_to_move.title %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=move_str subtitle=page_to_move.title icon="doc-empty-inverse" %}
|
||||
|
||||
<div class="nice-padding">
|
||||
{% if page_to_move.is_leaf %}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{% block bodyclass %}menu-explorer{% endblock %}
|
||||
{% block content %}
|
||||
{% trans "Unpublish" as unpublish_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=unpublish_str subtitle=page.title %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=unpublish_str subtitle=page.title icon="doc-empty-inverse" %}
|
||||
|
||||
<div class="nice-padding">
|
||||
<p>{% trans "Are you sure you want to unpublish this page?" %}</p>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
{% block content %}
|
||||
{% trans "Pages using" as pages_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=pages_str subtitle=content_type.model_class.get_verbose_name %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=pages_str subtitle=content_type.model_class.get_verbose_name icon="doc-empty-inverse" %}
|
||||
|
||||
<div class="nice-padding">
|
||||
{% include "wagtailadmin/pages/list.html" with sortable=1 allow_navigation=0 sortable=0 %}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
{% block content %}
|
||||
{% trans "New" as new_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=new_str merged=1 tabbed=1 subtitle=content_type.model_class.get_verbose_name %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=new_str merged=1 tabbed=1 subtitle=content_type.model_class.get_verbose_name icon="doc-empty-inverse" %}
|
||||
|
||||
<form id="page-edit-form" action="{% url 'wagtailadmin_pages_create' content_type.app_label content_type.model parent_page.id %}" method="POST">
|
||||
{% csrf_token %}
|
||||
|
|
|
@ -73,8 +73,8 @@
|
|||
</ul>
|
||||
{% endif %}
|
||||
</td>
|
||||
<td class="type">{{ parent_page.content_type.model_class.get_verbose_name }}</td>
|
||||
<td class="status">
|
||||
<td class="type" valign="bottom">{{ parent_page.content_type.model_class.get_verbose_name }}</td>
|
||||
<td class="status" valign="bottom">
|
||||
{% if not choosing and not moving and parent_page.live and not parent_page.is_root and 'view_live' not in hide_actions|default:'' %}
|
||||
<a href="{{ parent_page.url }}" target="_blank" class="status-tag {% if parent_page.status_string != "draft" %}primary{% endif %}">{{ parent_page.status_string|capfirst }}</a>
|
||||
{% else %}
|
||||
|
@ -197,8 +197,8 @@
|
|||
</td>
|
||||
{% endwith %}
|
||||
{% endif %}
|
||||
<td class="type">{{ page.content_type.model_class.get_verbose_name }}</td>
|
||||
<td class="status">
|
||||
<td class="type" valign="top">{{ page.content_type.model_class.get_verbose_name }}</td>
|
||||
<td class="status" valign="top">
|
||||
{% if not choosing and not moving and page.live and 'view_live' not in hide_actions|default:'' %}
|
||||
<a href="{{ page.url }}" target="_blank" class="status-tag {% if page.status_string != "draft" %}primary{% endif %}">{{ page.status_string }}</a>
|
||||
{% else %}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{% block bodyclass %}menu-explorer{% endblock %}
|
||||
{% block content %}
|
||||
<header class="nice-padding">
|
||||
<h1>{% blocktrans with title=page_to_move.title %}Select a new parent page for <span>{{ title }}</span>{% endblocktrans %}</h1>
|
||||
<h1 class="icon icon-doc-empty-inverse">{% blocktrans with title=page_to_move.title %}Select a new parent page for <span>{{ title }}</span>{% endblocktrans %}</h1>
|
||||
|
||||
<ul class="breadcrumb">
|
||||
<li><a href="{% url 'wagtailadmin_explore_root' %}" class="icon icon-home text-replace">{% trans 'Home' %}</a></li>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
{% block content %}
|
||||
{% trans "Search" as search_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=search_str search_url="wagtailadmin_pages_search" %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=search_str search_url="wagtailadmin_pages_search" icon="search" %}
|
||||
|
||||
<div id="page-results">
|
||||
{% include "wagtailadmin/pages/search_results.html" with show_parent="True" %}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
{% block titletag %}{% blocktrans with page_type=content_type.model_class.get_verbose_name %}Where do you want to create a {{ page_type }}{% endblocktrans %}{% endblock %}
|
||||
{% block content %}
|
||||
{% trans "Where do you want to create this" as where_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=where_str subtitle=content_type.model_class.get_verbose_name %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=where_str subtitle=content_type.model_class.get_verbose_name icon="doc-empty-inverse" %}
|
||||
|
||||
<ul>
|
||||
{% for page in parent_pages %}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{% block bodyclass %}menu-explorer{% endblock %}
|
||||
{% block content %}
|
||||
{% trans "Create a new page" as create_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=create_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=create_str icon="doc-empty-inverse" %}
|
||||
|
||||
<div class="nice-padding">
|
||||
<p>{% trans "Your new page will be saved in the <em>top level</em> of your website. You can move it after saving." %}</p>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<div class="row">
|
||||
<div class="left">
|
||||
<div class="col">
|
||||
<h1>{{ title }} <span>{{ subtitle }}</span></h1>
|
||||
<h1 class="icon icon-{{ icon }}">{{ title }} <span>{{ subtitle }}</span></h1>
|
||||
</div>
|
||||
{% if search_url %}
|
||||
<form class="col search-bar" action="{% url search_url %}" method="get">
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
{% block content %}
|
||||
{% trans "Add document" as add_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=add_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=add_str icon="doc-full-inverse" %}
|
||||
|
||||
<div class="nice-padding">
|
||||
<form action="{% url 'wagtaildocs_add_document' %}" method="POST" enctype="multipart/form-data">
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{% block bodyclass %}menu-documents{% endblock %}
|
||||
{% block content %}
|
||||
{% trans "Delete document" as del_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=del_str subtitle=document.title %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=del_str subtitle=document.title icon="doc-full-inverse" %}
|
||||
|
||||
<div class="nice-padding">
|
||||
<p>{% trans "Are you sure you want to delete this document?" %}</p>
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
{% block content %}
|
||||
{% trans "Editing" as editing_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=editing_str subtitle=document.title %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=editing_str subtitle=document.title icon="doc-full-inverse" %}
|
||||
|
||||
<div class="nice-padding">
|
||||
<form action="{% url 'wagtaildocs_edit_document' document.id %}" method="POST" enctype="multipart/form-data">
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
{% block content %}
|
||||
{% trans "Documents" as doc_str %}
|
||||
{% trans "Add a document" as add_doc_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=doc_str add_link="wagtaildocs_add_document" add_text=add_doc_str search_url="wagtaildocs_index" %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=doc_str add_link="wagtaildocs_add_document" icon="doc-full-inverse" add_text=add_doc_str search_url="wagtaildocs_index" %}
|
||||
|
||||
<div class="nice-padding">
|
||||
<div id="document-results" class="documents">
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
{% block content %}
|
||||
{% trans "Add image" as add_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=add_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=add_str icon="image" %}
|
||||
|
||||
<div class="nice-padding">
|
||||
<form action="{% url 'wagtailimages_add_image' %}" method="POST" enctype="multipart/form-data">
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
{% block content %}
|
||||
{% trans "Delete image" as del_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=del_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=del_str icon="image" %}
|
||||
|
||||
<div class="row row-flush nice-padding">
|
||||
<div class="col6">
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
{% block content %}
|
||||
{% trans "Editing" as editing_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=editing_str subtitle=image.title %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=editing_str subtitle=image.title icon="image" %}
|
||||
|
||||
<div class="row row-flush nice-padding">
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
{% block content %}
|
||||
{% trans "Images" as im_str %}
|
||||
{% trans "Add an image" as add_img_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=im_str add_link="wagtailimages_add_image" add_text=add_img_str search_url="wagtailimages_index" %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=im_str add_link="wagtailimages_add_image" icon="image" add_text=add_img_str search_url="wagtailimages_index" %}
|
||||
|
||||
<div class="nice-padding">
|
||||
<div id="image-results">
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{% block bodyclass %}menu-redirects{% endblock %}
|
||||
{% block content %}
|
||||
{% trans "Add redirect" as add_red_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=add_red_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=add_red_str icon="redirect" %}
|
||||
|
||||
<form action="{% url 'wagtailredirects_add_redirect' %}" method="POST" class="nice-padding">
|
||||
{% csrf_token %}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{% block titletag %}{% blocktrans with title=redirect.title %}Delete redirect {{ title }}{% endblocktrans %}{% endblock %}
|
||||
{% block content %}
|
||||
{% trans "Delete" as delete_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=delete_str subtitle=redirect.title %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=delete_str subtitle=redirect.title icon="redirect" %}
|
||||
|
||||
<div class="row row-flush nice-padding">
|
||||
<p>{% trans "Are you sure you want to delete this redirect?" %}</p>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{% block titletag %}{% blocktrans with title=redirect.title %}Editing {{ title }}{% endblocktrans %}{% endblock %}
|
||||
{% block content %}
|
||||
{% trans "Editing" as editing_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=editing_str subtitle=redirect.title %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=editing_str subtitle=redirect.title icon="redirect" %}
|
||||
|
||||
<form action="{% url 'wagtailredirects_edit_redirect' redirect.id %}" method="POST" class="nice-padding">
|
||||
{% csrf_token %}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
{% block content %}
|
||||
{% trans "Redirects" as redirects_str %}
|
||||
{% trans "Add redirect" as add_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=redirects_str add_link="wagtailredirects_add_redirect" add_text=add_str search_url="wagtailredirects_index" %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=redirects_str icon="redirect" add_link="wagtailredirects_add_redirect" add_text=add_str search_url="wagtailredirects_index" %}
|
||||
|
||||
<div class="nice-padding">
|
||||
<div id="redirects-results" class="redirects">
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
{% block content %}
|
||||
{% trans "Editor's search picks" as sp_title_str %}
|
||||
{% trans "Add new editor's pick" as sp_text_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=sp_title_str add_link="wagtailsearch_editorspicks_add" add_text=sp_text_str search_url="wagtailsearch_editorspicks_index" %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=sp_title_str add_link="wagtailsearch_editorspicks_add" icon="pick" add_text=sp_text_str search_url="wagtailsearch_editorspicks_index" %}
|
||||
|
||||
<div class="nice-padding">
|
||||
<div id="editorspicks-results" class="redirects">
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{% block bodyclass %}menu-snippets{% endblock %}
|
||||
{% block content %}
|
||||
{% trans "Delete" as delete_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=delete_str subtitle=instance %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=delete_str subtitle=instance icon="snippet" %}
|
||||
|
||||
<div class="nice-padding">
|
||||
<p>{% blocktrans %}Are you sure you want to delete this {{ snippet_type_name }}?{% endblocktrans %}</p>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{% block bodyclass %}menu-snippets{% endblock %}
|
||||
{% block content %}
|
||||
{% trans "New" as new_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=new_str subtitle=snippet_type_name %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=new_str subtitle=snippet_type_name icon="snippet" %}
|
||||
|
||||
<form action="{% url 'wagtailsnippets_create' content_type.app_label content_type.model %}" method="POST">
|
||||
{% csrf_token %}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{% block bodyclass %}menu-snippets{% endblock %}
|
||||
{% block content %}
|
||||
{% trans "Editing" as editing_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=editing_str subtitle=instance %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=editing_str subtitle=instance icon="snippet" %}
|
||||
|
||||
<form action="{% url 'wagtailsnippets_edit' content_type.app_label content_type.model instance.id %}" method="POST">
|
||||
{% csrf_token %}
|
||||
|
|
|
@ -4,16 +4,18 @@
|
|||
{% block bodyclass %}menu-snippets{% endblock %}
|
||||
{% block content %}
|
||||
|
||||
{% include "wagtailadmin/shared/header.html" with title="Snippets" %}
|
||||
{% include "wagtailadmin/shared/header.html" with title="Snippets" icon="snippet" %}
|
||||
|
||||
<div class="nice-padding">
|
||||
<ul class="listing">
|
||||
{% for name, description, content_type in snippet_types %}
|
||||
<li>
|
||||
<div class="row row-flush">
|
||||
<a href="{% url 'wagtailsnippets_list' content_type.app_label content_type.model %}" class="col6">
|
||||
{{ name|capfirst }}
|
||||
</a>
|
||||
<div class="row row-flush title">
|
||||
<h2>
|
||||
<a href="{% url 'wagtailsnippets_list' content_type.app_label content_type.model %}" class="col6">
|
||||
{{ name|capfirst }}
|
||||
</a>
|
||||
</h2>
|
||||
<small class="col6">{{ description }}</small>
|
||||
</div>
|
||||
</li>
|
||||
|
|
|
@ -14,7 +14,6 @@
|
|||
<td class="title">
|
||||
{% if choosing %}
|
||||
<h2><a class="snippet-choice" href="{% url 'wagtailsnippets_chosen' content_type.app_label content_type.model snippet.id %}">{{ snippet }}</a></h2>
|
||||
|
||||
{% else %}
|
||||
<h2><a href="{% url 'wagtailsnippets_edit' content_type.app_label content_type.model snippet.id %}">{{ snippet }}</a></h2>
|
||||
{% endif %}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<header class="nice-padding">
|
||||
<div class="row row-flush">
|
||||
<div class="left col9">
|
||||
<h1>{% blocktrans with snippet_type_name_plural=snippet_type_name_plural|capfirst %}Snippets <span>{{ snippet_type_name_plural }}</span>{% endblocktrans %}</h1>
|
||||
<h1 class="icon icon-snippet">{% blocktrans with snippet_type_name_plural=snippet_type_name_plural|capfirst %}Snippets <span>{{ snippet_type_name_plural }}</span>{% endblocktrans %}</h1>
|
||||
</div>
|
||||
<div class="right col3">
|
||||
<a href="{% url 'wagtailsnippets_create' content_type.app_label content_type.model %}" class="button bicolor icon icon-plus">{% blocktrans %}Add {{ snippet_type_name }}{% endblocktrans %}</a>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
{% block content %}
|
||||
|
||||
{% trans "Add user" as add_user_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=add_user_str merged=1 tabbed=1 %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=add_user_str merged=1 tabbed=1 icon="user" %}
|
||||
|
||||
<ul class="tab-nav merged">
|
||||
<li class="active"><a href="#account">{% trans "Account" %}</a></li>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
{% block content %}
|
||||
|
||||
{% trans "Editing" as editing_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=editing_str subtitle=user.username merged=1 tabbed=1 %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=editing_str subtitle=user.username merged=1 tabbed=1 icon="user" %}
|
||||
|
||||
<ul class="tab-nav merged">
|
||||
<li class="active"><a href="#account">{% trans "Account" %}</a></li>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
{% block content %}
|
||||
{% trans "Users" as users_str %}
|
||||
{% trans "Add a user" as add_a_user_str %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=users_str add_link="wagtailusers_create" add_text=add_a_user_str search_url="wagtailusers_index" %}
|
||||
{% include "wagtailadmin/shared/header.html" with title=users_str add_link="wagtailusers_create" add_text=add_a_user_str icon="user" search_url="wagtailusers_index" %}
|
||||
|
||||
<div class="nice-padding">
|
||||
<div id="user-results" class="users">
|
||||
|
|
Ładowanie…
Reference in New Issue