Revert "Revert "html lang""

This reverts commit ea7fb2d5c8.
This commit is contained in:
tg(x) 2016-03-01 14:47:56 +01:00
parent 6ee2a15162
commit cdde6fd03b
5 changed files with 62 additions and 46 deletions

View File

@ -16,6 +16,12 @@
"use strict"; "use strict";
document.addEventListener(
"DOMContentLoaded",
function () {
document.body.lang = chrome.i18n.getUILanguage();
});
declare var i18n: any; declare var i18n: any;
const JedModule = window["Jed"]; const JedModule = window["Jed"];

View File

@ -1,30 +1,34 @@
<!doctype html> <!DOCTYPE html>
<html> <html>
<head>
<title>Taler Wallet: Confirm Reserve Creation</title>
<script src="../lib/vendor/URI.js"></script>
<script src="../lib/vendor/mithril.js"></script>
<script src="../lib/vendor/lodash.core.min.js"></script>
<script src="../lib/vendor/system-csp-production.src.js"></script>
<script src="../lib/vendor/jed.js"></script>
<script src="../lib/i18n.js"></script>
<script src="../lib/i18n-strings.js"></script>
<script src="../lib/module-trampoline.js"></script>
<link rel="stylesheet" type="text/css" href="../style/wallet.css">
<body> <head>
<header> <title>Taler Wallet: Confirm Reserve Creation</title>
<div id="logo"></div>
<h1>Payment Confirmation</h1>
</header>
<aside class="sidebar" id="left"> <link rel="stylesheet" type="text/css" href="../style/lang.css">
</aside> <link rel="stylesheet" type="text/css" href="../style/wallet.css">
<section id="main"> <script src="../lib/vendor/URI.js"></script>
<article id="contract" class="fade"></article> <script src="../lib/vendor/mithril.js"></script>
</section> <script src="../lib/vendor/lodash.core.min.js"></script>
<script src="../lib/vendor/system-csp-production.src.js"></script>
<script src="../lib/vendor/jed.js"></script>
<script src="../lib/i18n.js"></script>
<script src="../lib/i18n-strings.js"></script>
<script src="../lib/module-trampoline.js"></script>
</head>
<body>
<header>
<div id="logo"></div>
<h1>Payment Confirmation</h1>
</header>
<aside class="sidebar" id="left">
</aside>
<section id="main">
<article id="contract" class="fade"></article>
</section>
</body>
</body>
</html> </html>

View File

@ -1,34 +1,36 @@
<!doctype html> <!DOCTYPE html>
<html> <html>
<head> <head>
<title>Taler Wallet: Select Taler Provider</title> <title>Taler Wallet: Select Taler Provider</title>
<link rel="stylesheet" type="text/css" href="../style/lang.css">
<link rel="stylesheet" type="text/css" href="popup.css">
<script src="../lib/vendor/URI.js"></script> <script src="../lib/vendor/URI.js"></script>
<script src="../lib/vendor/mithril.js"></script> <script src="../lib/vendor/mithril.js"></script>
<script src="../lib/vendor/system-csp-production.src.js"></script> <script src="../lib/vendor/system-csp-production.src.js"></script>
<script src="../lib/vendor/jed.js"></script> <script src="../lib/vendor/jed.js"></script>
<script src="../lib/lang.js"></script>
<script src="../lib/i18n.js"></script> <script src="../lib/i18n.js"></script>
<script src="../lib/i18n-strings.js"></script> <script src="../lib/i18n-strings.js"></script>
<script src="../lib/module-trampoline.js"></script> <script src="../lib/module-trampoline.js"></script>
<link rel="stylesheet" type="text/css" href="../style/wallet.css">
</head> </head>
<body> <body>
<header>
<div id="logo"></div>
<h1>Select Taler Provider</h1>
</header>
<header> <aside class="sidebar" id="left">
<div id="logo"></div> </aside>
<h1>Select Taler Provider</h1>
</header>
<aside class="sidebar" id="left"> <section id="main">
</aside> <article>
<div class="fade" id="mint-selection"></div>
<section id="main"> </article>
</section>
<article>
<div class="fade" id="mint-selection"></div>
</article>
</section>
</body> </body>
</html> </html>

View File

@ -1,8 +1,12 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<link rel="stylesheet" href="popup.css" type="text/css">
<link rel="stylesheet" type="text/css" href="../style/lang.css">
<link rel="stylesheet" type="text/css" href="popup.css">
<script src="../lib/vendor/mithril.js"></script> <script src="../lib/vendor/mithril.js"></script>
<script src="../lib/vendor/lodash.core.min.js"></script> <script src="../lib/vendor/lodash.core.min.js"></script>
<script src="../lib/vendor/system-csp-production.src.js"></script> <script src="../lib/vendor/system-csp-production.src.js"></script>
@ -11,10 +15,10 @@
<script src="../lib/i18n-strings.js"></script> <script src="../lib/i18n-strings.js"></script>
<script src="../lib/module-trampoline.js"></script> <script src="../lib/module-trampoline.js"></script>
</head> </head>
<body> <body>
<div id="nav"></div> <div id="nav"></div>
<div id="content"></div> <div id="content"></div>
</body> </body>
</html> </html>

View File

@ -135,4 +135,4 @@ button.linky {
table, th, td { table, th, td {
border: 1px solid black; border: 1px solid black;
} }