mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-04 14:58:37 +09:00
Dactyloidae iOS initial commit
This commit is contained in:
parent
daa6179d22
commit
7154a0497e
2123 changed files with 197052 additions and 0 deletions
50
mobile/ios/Client/Assets/NetError.html
Normal file
50
mobile/ios/Client/Assets/NetError.html
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
||||
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>%error_title%</title>
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1">
|
||||
<link rel="stylesheet" href="NetError.css" type="text/css" media="all" />
|
||||
|
||||
<script type="application/javascript">
|
||||
// If the user swipes back and forth to this tab, we want to make sure we make an attempt to reload the original page.
|
||||
var fresh = true;
|
||||
window.addEventListener('popstate', function () {
|
||||
if (fresh)
|
||||
fresh = false;
|
||||
else
|
||||
webkit.messageHandlers.localRequestHelper.postMessage({ type: "reload" });
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body dir="&locale.dir;">
|
||||
|
||||
<!-- PAGE CONTAINER (for styling purposes only) -->
|
||||
<div id="errorPageContainer">
|
||||
|
||||
<!-- Error Title -->
|
||||
<div id="errorTitle">
|
||||
<h1 id="errorTitleText">%error_title%</h1>
|
||||
</div>
|
||||
|
||||
<!-- LONG CONTENT (the section most likely to require scrolling) -->
|
||||
<div id="errorLongContent">
|
||||
|
||||
<!-- Short Description -->
|
||||
<div id="errorShortDesc">
|
||||
<p id="errorShortDescText">%short_description%</p>
|
||||
</div>
|
||||
|
||||
<!-- Buttons -->
|
||||
<div id="actions">%actions%</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div id="decoration"></div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue