html lang

This commit is contained in:
tg(x) 2016-02-29 18:19:20 +01:00
parent 9beacc4688
commit 7c0ca49d03
5 changed files with 62 additions and 46 deletions

View File

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

View File

@ -1,30 +1,34 @@
<!doctype html>
<!DOCTYPE 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>
<header>
<div id="logo"></div>
<h1>Payment Confirmation</h1>
</header>
<head>
<title>Taler Wallet: Confirm Reserve Creation</title>
<aside class="sidebar" id="left">
</aside>
<link rel="stylesheet" type="text/css" href="../style/lang.css">
<link rel="stylesheet" type="text/css" href="../style/wallet.css">
<section id="main">
<article id="contract" class="fade"></article>
</section>
<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>
</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>

View File

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

View File

@ -1,8 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<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/lodash.core.min.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/module-trampoline.js"></script>
</head>
<body>
<div id="nav"></div>
<div id="content"></div>
<div id="nav"></div>
<div id="content"></div>
</body>
</html>