Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure template header_color and header_background are applied #1917

Merged
merged 2 commits into from
Jan 18, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion panel/template/golden/golden.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

<!-- goes in body -->
{% block contents %}
<header class="app-bar" id="header">
<header class="app-bar" id="header" style="{% if header_background %}background-color: {{ header_background }} !important;{% endif %}{% if header_color %}color: {{ header_color }} !important;{% endif %}">
<div style="display: contents;">
<div class="app-header">
{% if app_logo %}<a href="/"><img src="{{ app_logo }}" class="app-logo"></a>{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion panel/template/material/material.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<!-- goes in body -->
{% block contents %}
<div class="mdc-typography" id="container">
<header class="mdc-top-app-bar app-bar mdc-top-app-bar--fixed" style="{% if header_background %}background-color: {{ header_background }} !important;{% endif %}{% if header_color %}color: {{ header_color }}{% endif %}" id="header">
<header class="mdc-top-app-bar app-bar mdc-top-app-bar--fixed" style="{% if header_background %}background-color: {{ header_background }} !important;{% endif %}{% if header_color %}color: {{ header_color }} !important;{% endif %}" id="header">
<div class="mdc-top-app-bar__row">
<section class="mdc-top-app-bar__section mdc-top-app-bar__section--align-start">
{% if nav %}
Expand Down
2 changes: 1 addition & 1 deletion panel/template/react/react.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<!-- goes in body -->
{% block contents %}
<div class="" id="container">
<nav class="" style="{% if header_background %}background-color: {{ header_background }} !important;{% endif %}{% if header_color %}color: {{ header_color }}{% endif %}" id="header">
<nav class="" style="{% if header_background %}background-color: {{ header_background }} !important;{% endif %}{% if header_color %}color: {{ header_color }} !important;{% endif %}" id="header">
{% if nav %}
<span style="font-size:30px;cursor:pointer" onclick="closeNav()" id="sidebar-button">
<div class="pn-bar"></div>
Expand Down
2 changes: 1 addition & 1 deletion panel/template/vanilla/vanilla.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<!-- goes in body -->
{% block contents %}
<div id="container">
<nav style="{% if header_background %}background-color: {{ header_background }} !important;{% endif %}{% if header_color %}color: {{ header_color }}{% endif %}" id="header">
<nav style="{% if header_background %}background-color: {{ header_background }} !important;{% endif %}{% if header_color %}color: {{ header_color }} !important;{% endif %}" id="header">
{% if nav %}
<span onclick="closeNav()" id="sidebar-button">
<div class="pn-bar"></div>
Expand Down