offline.html.twig in Progressive Web App 8
Same filename and directory in other branches
Default theme implementation for pwa-offline page.
1 theme call to offline.html.twig
- PWAController::pwa_offline_page in src/
Controller/ PWAController.php - Provide a render array for offline pages.
File
templates/offline.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation for pwa-offline page.
- *
- */
- #}
- <h1 data-drupal-pwa-offline="true">
- You are offline.
- </h1>
- <input type="button" value="Reload Page" onClick="document.location.reload(true)">