Coverage for .tox/coverage/lib/python3.11/site-packages/sideshow/web/static/__init__.py: 100%
10 statements
« prev ^ index » next coverage.py v7.6.10, created at 2025-01-09 12:58 -0600
« prev ^ index » next coverage.py v7.6.10, created at 2025-01-09 12:58 -0600
1# -*- coding: utf-8; -*-
2################################################################################
3#
4# Sideshow -- Case/Special Order Tracker
5# Copyright © 2024 Lance Edgar
6#
7# This file is part of Sideshow.
8#
9# Sideshow is free software: you can redistribute it and/or modify it
10# under the terms of the GNU General Public License as published by
11# the Free Software Foundation, either version 3 of the License, or
12# (at your option) any later version.
13#
14# Sideshow is distributed in the hope that it will be useful, but
15# WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17# General Public License for more details.
18#
19# You should have received a copy of the GNU General Public License
20# along with Sideshow. If not, see <http://www.gnu.org/licenses/>.
21#
22################################################################################
23"""
24Static assets
25"""
27from fanstatic import Library, Resource
30# # libcache
31libcache = Library('sideshow_libcache', 'libcache')
32vue_js = Resource(libcache, 'vue-2.6.14.min.js')
33vue_resource_js = Resource(libcache, 'vue-resource-1.5.3.min.js')
34buefy_js = Resource(libcache, 'buefy-0.9.25.min.js')
35buefy_css = Resource(libcache, 'buefy-0.9.25.min.css')
36fontawesome_js = Resource(libcache, 'fontawesome-5.3.1-all.min.js')
37# bb_vue_js = Resource(libcache, 'vue.esm-browser-3.3.11.prod.js')
38# bb_oruga_js = Resource(libcache, 'oruga-0.8.10.js')
39# bb_oruga_bulma_js = Resource(libcache, 'oruga-bulma-0.3.0.js')
40# bb_oruga_bulma_css = Resource(libcache, 'oruga-bulma-0.3.0.css')
41# bb_fontawesome_svg_core_js = Resource(libcache, 'fontawesome-svg-core-6.5.2.js')
42# bb_free_solid_svg_icons_js = Resource(libcache, 'free-solid-svg-icons-6.5.2.js')
43# bb_vue_fontawesome_js = Resource(libcache, 'vue-fontawesome-3.0.6.index.es.js')
46def includeme(config):
47 config.include('wuttaweb.static')
48 config.add_static_view('sideshow', 'sideshow.web:static', cache_max_age=3600)