updated frontend stack to latest versions (#729)

This commit is contained in:
Kevin Papst
2019-06-03 01:43:49 +02:00
committed by GitHub
parent 19636582ab
commit 97feed0be6
76 changed files with 12126 additions and 6729 deletions

View File

@@ -167,14 +167,14 @@
{% block stylesheets %}
{# we do not call parent() as we use a custom built for the frontend assets and don't want the default <stylesheet> #}
<link rel="stylesheet" href="{{ asset('build/app.css') }}">
{{ encore_entry_link_tags('app') }}
{% set event = trigger(constant('App\\Event\\ThemeEvent::STYLESHEET')) %}
{{ event.content|raw }}
{% endblock %}
{% block head %}
{{ parent() }}
<script src="{{ asset('build/app.js') }}"></script>
{{ encore_entry_script_tags('app') }}
{% include 'partials/head.html.twig' %}
{% set event = trigger(constant('App\\Event\\ThemeEvent::HTML_HEAD')) %}
{{ event.content|raw }}

View File

@@ -5,13 +5,13 @@
{% block head %}
{{ parent() }}
<script src="{{ asset('build/app.js') }}"></script>
{% include 'partials/head.html.twig' %}
{% endblock %}
{% block stylesheets %}
{# we do not call parent() as we use a custom built for the frontend assets and don't want the default <stylesheet> #}
<link rel="stylesheet" href="{{ asset('build/app.css') }}">
{{ encore_entry_link_tags('app') }}
{% endblock %}
{% block javascripts %}{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
{% endblock %}

View File

@@ -5,13 +5,13 @@
{% block head %}
{{ parent() }}
<script src="{{ asset('build/app.js') }}"></script>
{% include 'partials/head.html.twig' %}
{% endblock %}
{% block stylesheets %}
{# we do not call parent() as we use a custom built for the frontend assets and don't want the default <stylesheet> #}
<link rel="stylesheet" href="{{ asset('build/app.css') }}">
{{ encore_entry_link_tags('app') }}
{% endblock %}
{% block javascripts %}{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
{% endblock %}

View File

@@ -5,13 +5,13 @@
{% block head %}
{{ parent() }}
<script src="{{ asset('build/app.js') }}"></script>
{% include 'partials/head.html.twig' %}
{% endblock %}
{% block stylesheets %}
{# we do not call parent() as we use a custom built for the frontend assets and don't want the default <stylesheet> #}
<link rel="stylesheet" href="{{ asset('build/app.css') }}">
{{ encore_entry_link_tags('app') }}
{% endblock %}
{% block javascripts %}{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
{% endblock %}

View File

@@ -3,16 +3,15 @@
{% block logo_login %}{% include 'partials/logo_login.html.twig' %}{% endblock %}
{% block title %}{{- get_title() -}}{% endblock %}
{% block login_box_icon %}
<span class="glyphicon glyphicon-user"></span>
{% endblock %}
{% block head %}
{{ parent() }}
{% include 'partials/head.html.twig' %}
{% endblock %}
{% block stylesheets %}
{# we do not call parent() as we use a custom built for the frontend assets and don't want the default <stylesheet> #}
<link rel="stylesheet" href="{{ asset('build/app.css') }}">
{{ encore_entry_link_tags('app') }}
{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
{% endblock %}

View File

@@ -5,13 +5,13 @@
{% block head %}
{{ parent() }}
<script src="{{ asset('build/app.js') }}"></script>
{% include 'partials/head.html.twig' %}
{% endblock %}
{% block stylesheets %}
{# we do not call parent() as we use a custom built for the frontend assets and don't want the default <stylesheet> #}
<link rel="stylesheet" href="{{ asset('build/app.css') }}">
{{ encore_entry_link_tags('app') }}
{% endblock %}
{% block javascripts %}{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
{% endblock %}

View File

@@ -15,6 +15,16 @@
{% endembed %}
{% endblock %}
{% block stylesheets %}
{{ parent() }}
{{ encore_entry_link_tags('calendar') }}
{% endblock %}
{% block head %}
{{ parent() }}
{{ encore_entry_script_tags('calendar') }}
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script>

View File

@@ -6,6 +6,16 @@
{% block page_content_class %}{{ parent() }} dashboard{% endblock %}
{% block stylesheets %}
{{ parent() }}
{{ encore_entry_link_tags('chart') }}
{% endblock %}
{% block head %}
{{ parent() }}
{{ encore_entry_script_tags('chart') }}
{% endblock %}
{% block main %}
{% for row in widget_rows %}

View File

@@ -4,8 +4,8 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="{{ asset('build/app.css') }}">
<script src="{{ asset('build/app.js') }}"></script>
{{ encore_entry_link_tags('app') }}
{{ encore_entry_script_tags('app') }}
{% block styles %}{% endblock %}
</head>
<body class="pad export_print">

View File

@@ -4,8 +4,8 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<link rel="stylesheet" href="{{ asset('build/app.css') }}">
<script src="{{ asset('build/app.js') }}"></script>
{{ encore_entry_link_tags('app') }}
{{ encore_entry_script_tags('app') }}
</head>
<body class="invoice_print">
<div class="wrapper">

View File

@@ -2,6 +2,16 @@
{% import "macros/actions.html.twig" as actions %}
{% import "macros/widgets.html.twig" as widgets %}
{% block stylesheets %}
{{ parent() }}
{{ encore_entry_link_tags('chart') }}
{% endblock %}
{% block head %}
{{ parent() }}
{{ encore_entry_script_tags('chart') }}
{% endblock %}
{% block profile_content %}
{% if years is empty %}