| Safe Haskell | None |
|---|
Hledger.Web.Settings.StaticFiles
Description
This module exports routes for all the files in the static directory at compile time, allowing compile-time verification that referenced files exist. However, any files added during run-time can't be accessed this way; use their FilePath or URL to access them.
This is a separate module to satisfy template haskell requirements.
- staticSite :: IO Static
- excanvas_js :: StaticRoute
- style_css :: StaticRoute
- hledger_js :: StaticRoute
- jquery_url_js :: StaticRoute
- dhtmlxcommon_js :: StaticRoute
- dhtmlxcombo_js :: StaticRoute
- jquery_flot_js :: StaticRoute
- jquery_flot_min_js :: StaticRoute
- combo_select_gif :: StaticRoute
- favicon_ico :: StaticRoute
- jquery_js :: StaticRoute
- excanvas_min_js :: StaticRoute
Documentation
staticSite :: IO StaticSource
use this to create your static file serving site
excanvas_js :: StaticRouteSource
This generates easy references to files in the static directory at compile time, giving you compile-time verification that referenced files exist. Warning: any files added to your static directory during run-time can't be accessed this way. You'll have to use their FilePath or URL to access them.
hledger_js :: StaticRouteSource
jquery_url_js :: StaticRouteSource
dhtmlxcommon_js :: StaticRouteSource
dhtmlxcombo_js :: StaticRouteSource
jquery_flot_js :: StaticRouteSource
jquery_flot_min_js :: StaticRouteSource
combo_select_gif :: StaticRouteSource
favicon_ico :: StaticRouteSource
excanvas_min_js :: StaticRouteSource