mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 05:33:47 +08:00
bd1616d3d9
* set up static offline.html route and service worker for Android Web App Banner * add viewport meta tag to offline view for android app banner * add i18n support for offline.html pages, cleanup * fix html syntax, add page title, remove license for service-worker.js
18 lines
756 B
Plaintext
18 lines
756 B
Plaintext
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" lang="<%= SiteSetting.default_locale %>" xml:lang="<%= SiteSetting.default_locale %>">
|
|
|
|
<head>
|
|
<meta http-equiv="Content-type" name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no, width=device-width">
|
|
<title><%= SiteSetting.title %></title>
|
|
</head>
|
|
<body>
|
|
<div style="padding:100px 40px; text-align:center; font-family: Helvetica, Arial, sans-serif;">
|
|
<h1 style="font-size: 36px; color: #333;"><%= t 'offline.title' %></h1>
|
|
<p style="margin: 40px; font-size: 18px; color: #555;">
|
|
<%= t 'offline.offline_page_message' %>
|
|
</p>
|
|
</div>
|
|
</body>
|
|
|
|
</html>
|