updated core and modules
This commit is contained in:
@@ -8,10 +8,11 @@ To use Classy as your base theme, set the 'base theme' in your theme's .info.yml
|
||||
file to "classy":
|
||||
base theme: classy
|
||||
|
||||
See https://www.drupal.org/theme-guide/8/classy for more information on using
|
||||
the Classy theme.
|
||||
See https://www.drupal.org/docs/8/theming-drupal-8/using-classy-as-a-base-theme
|
||||
for more information on using the Classy theme.
|
||||
|
||||
ABOUT DRUPAL THEMING
|
||||
--------------------
|
||||
|
||||
See https://www.drupal.org/theme-guide/8 for more information on Drupal theming.
|
||||
See https://www.drupal.org/docs/8/theming for more information on Drupal
|
||||
theming.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
name: Classy
|
||||
type: theme
|
||||
description: 'A base theme with sensible default CSS classes added. Learn how to use Classy as a base theme in the <a href="https://www.drupal.org/theme-guide/8">Drupal 8 Theming Guide</a>.'
|
||||
description: 'A base theme with sensible default CSS classes added. Learn how to use Classy as a base theme in the <a href="https://www.drupal.org/docs/8/theming">Drupal 8 Theming Guide</a>.'
|
||||
package: Core
|
||||
# version: VERSION
|
||||
# core: 8.x
|
||||
@@ -22,8 +22,8 @@ libraries-extend:
|
||||
core/drupal.progress:
|
||||
- classy/progress
|
||||
|
||||
# Information added by Drupal.org packaging script on 2016-08-03
|
||||
version: '8.1.8'
|
||||
# Information added by Drupal.org packaging script on 2017-08-16
|
||||
version: '8.3.7'
|
||||
core: '8.x'
|
||||
project: 'drupal'
|
||||
datestamp: 1470233792
|
||||
datestamp: 1502903957
|
||||
|
||||
@@ -56,6 +56,12 @@ forum:
|
||||
component:
|
||||
css/components/forum.css: { weight: -10 }
|
||||
|
||||
image-widget:
|
||||
version: VERSION
|
||||
css:
|
||||
component:
|
||||
css/components/image-widget.css: {}
|
||||
|
||||
indented:
|
||||
version: VERSION
|
||||
css:
|
||||
|
||||
@@ -1,7 +1,19 @@
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Image upload widget.
|
||||
*
|
||||
* This CSS file is not used in this theme (Classy). It was intended to be used,
|
||||
* but due to a bug, Drupal 8 shipped with it not being used. To not break
|
||||
* backwards compatibility, we continue to not load it in Classy. Every
|
||||
* subtheme of Classy is encouraged to use it, by attaching the
|
||||
* classy/image-widget asset library in their image-widget.html.twig file.
|
||||
*
|
||||
* @see core/themes/seven/templates/content-edit/image-widget.html.twig.
|
||||
*
|
||||
* @todo In Drupal 9, let core/themes/classy/templates/content-edit/image-widget.html.twig
|
||||
* attach the classy/image-widget asset library.
|
||||
*/
|
||||
|
||||
.image-preview {
|
||||
float: left; /* LTR */
|
||||
padding: 0 10px 10px 0; /* LTR */
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
* @see template_preprocess_image_widget()
|
||||
*/
|
||||
#}
|
||||
{{ attach_library('classy/image-widget') }}
|
||||
<div{{ attributes }}>
|
||||
{% if data.preview %}
|
||||
<div class="image-preview">
|
||||
|
||||
@@ -30,5 +30,7 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
{% if description %}
|
||||
<div class="description">{{ description }}</div>
|
||||
<div{{ description_attributes.addClass('description') }}>
|
||||
{{ description }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
@@ -16,7 +16,13 @@
|
||||
#}
|
||||
<details{{ attributes }}>
|
||||
{%- if title -%}
|
||||
<summary{{ summary_attributes }}>{{ title }}</summary>
|
||||
{%
|
||||
set summary_classes = [
|
||||
required ? 'js-form-required',
|
||||
required ? 'form-required',
|
||||
]
|
||||
%}
|
||||
<summary{{ summary_attributes.addClass(summary_classes) }}>{{ title }}</summary>
|
||||
{%- endif -%}
|
||||
<div class="details-wrapper">
|
||||
{% if errors %}
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
* - root_path: The root path of the current page (e.g., node, admin, user).
|
||||
* - node_type: The content type for the current node, if the page is a node.
|
||||
* - head_title: List of text elements that make up the head_title variable.
|
||||
* May contain or more of the following:
|
||||
* May contain one or more of the following:
|
||||
* - title: The title of the page.
|
||||
* - name: The name of the site.
|
||||
* - slogan: The slogan of the site.
|
||||
@@ -34,10 +34,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html{{ html_attributes }}>
|
||||
<head>
|
||||
<head-placeholder token="{{ placeholder_token|raw }}">
|
||||
<head-placeholder token="{{ placeholder_token }}">
|
||||
<title>{{ head_title|safe_join(' | ') }}</title>
|
||||
<css-placeholder token="{{ placeholder_token|raw }}">
|
||||
<js-placeholder token="{{ placeholder_token|raw }}">
|
||||
<css-placeholder token="{{ placeholder_token }}">
|
||||
<js-placeholder token="{{ placeholder_token }}">
|
||||
</head>
|
||||
<body{{ attributes.addClass(body_classes) }}>
|
||||
{#
|
||||
@@ -50,6 +50,6 @@
|
||||
{{ page_top }}
|
||||
{{ page }}
|
||||
{{ page_bottom }}
|
||||
<js-bottom-placeholder token="{{ placeholder_token|raw }}">
|
||||
<js-bottom-placeholder token="{{ placeholder_token }}">
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -5,10 +5,16 @@
|
||||
*
|
||||
* Available variables:
|
||||
* - account: The full account information for the user.
|
||||
* - name: The user's name, sanitized.
|
||||
* - uid: The user ID, or zero if not a user. As used in anonymous comments.
|
||||
* - name: The user's name, sanitized, and optionally truncated.
|
||||
* - name_raw: The user's name, un-truncated.
|
||||
* - truncated: Whether the user's name was truncated.
|
||||
* - extra: Additional text to append to the user's name, sanitized.
|
||||
* - profile_access: Whether the current user has permission to access this
|
||||
users profile page.
|
||||
* - link_path: The path or URL of the user's profile page, home page,
|
||||
* or other desired page to link to for more information about the user.
|
||||
* - homepage: (optional) The home page of the account, only set for non users.
|
||||
* - link_options: Options to set on the \Drupal\Core\Url object if linking the
|
||||
* user's name to the user's page.
|
||||
* - attributes: HTML attributes for the containing element.
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
* @see template_preprocess_views_view_opml()
|
||||
*/
|
||||
#}
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<opml version="2.0">
|
||||
<head>
|
||||
<title>{{ title }}</title>
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
* @see template_preprocess_views_view_rss()
|
||||
*/
|
||||
#}
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<rss version="2.0" xml:base="{{ link }}"{{ namespaces }}>
|
||||
<channel>
|
||||
<title>{{ title }}</title>
|
||||
|
||||
Reference in New Issue
Block a user