diff --git a/superset/templates/superset/basic.html b/superset/templates/superset/basic.html index b97ecb338cfa4..ad828de516053 100644 --- a/superset/templates/superset/basic.html +++ b/superset/templates/superset/basic.html @@ -1,124 +1,130 @@ -{# Licensed to the Apache Software Foundation (ASF) under one or more -contributor license agreements. See the NOTICE file distributed with this work -for additional information regarding copyright ownership. The ASF licenses this -file to you under the Apache License, Version 2.0 (the "License"); you may not -use this file except in compliance with the License. You may obtain a copy of -the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by -applicable law or agreed to in writing, software distributed under the License -is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, either express or implied. See the License for the specific language -governing permissions and limitations under the License. #} - -{% import 'appbuilder/general/lib.html' as lib %} {% from -'superset/partials/asset_bundle.html' import css_bundle, js_bundle with context -%} {% set favicons = appbuilder.app.config['FAVICONS'] %} - - - {% include "head_custom_extra.html" %} - - {% block title %} {% if title %} {{ title }} {% elif appbuilder and - appbuilder.app_name %} {{ appbuilder.app_name }} {% endif %} {% endblock - %} - - {% block head_meta %}{% endblock %} {% block head_css %} {% for favicon in - favicons %} {% - endfor %} - - - - - - +{# Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with this work + for additional information regarding copyright ownership. The ASF licenses this + file to you under the Apache License, Version 2.0 (the "License"); you may not + use this file except in compliance with the License. You may obtain a copy of + the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by + applicable law or agreed to in writing, software distributed under the License + is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the specific language + governing permissions and limitations under the License. #} - {{ css_bundle("theme") }} {% if entry %} {{ css_bundle(entry) }} {% endif %} - {% endblock %} {{ js_bundle("theme") }} + + {% import 'appbuilder/general/lib.html' as lib %} {% from + 'superset/partials/asset_bundle.html' import css_bundle, js_bundle with context + %} {% set favicons = appbuilder.app.config['FAVICONS'] %} + + + {% include "head_custom_extra.html" %} + + {% block title %} {% if title %} {{ title }} {% elif appbuilder and + appbuilder.app_name %} {{ appbuilder.app_name }} {% endif %} {% endblock + %} + + {% block head_meta %}{% endblock %} {% block head_css %} {% for favicon in + favicons %} {% + endfor %} + + + + + - - + {{ css_bundle("theme") }} {% if entry %} {{ css_bundle(entry) }} {% endif %} + {% endblock %} {{ js_bundle("theme") }} - - {% block navbar %} {% if not standalone_mode %} {% include - 'appbuilder/navbar.html' %} {% endif %} {% endblock %} {% block body %} -
- -
- {% endblock %} + - -