Skip to content

Commit

Permalink
use static bulma #1054
Browse files Browse the repository at this point in the history
  • Loading branch information
mrlt8 committed Dec 3, 2023
1 parent 419ee6b commit ac80f26
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 6 additions & 0 deletions app/static/bulma-toast.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions app/static/bulma.css

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions app/templates/base.html
Expand Up @@ -5,9 +5,9 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Wyze-Bridge</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.4/css/bulma.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" />
<link rel="stylesheet" href="{{ 'static/bulma.css' if hass else url_for('static',filename='bulma.css') }}" />
<link rel="stylesheet" href="{{ 'static/site.css' if hass else url_for('static',filename='site.css') }}" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css" />
{% block stylesheet %}
{% endblock %}
</head>
Expand All @@ -32,7 +32,7 @@
</p>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/bulma-toast@2.4.2/dist/bulma-toast.min.js"></script>
<script src="{{ 'static/bulma-toast.js' if hass else url_for('static',filename='bulma-toast.js') }}"></script>
{% block javascript %}
{% endblock %}
</body>
Expand Down

0 comments on commit ac80f26

Please sign in to comment.