summaryrefslogtreecommitdiff
path: root/index.html
blob: 8b20d3dc5cc9519715feced2bb7bbeae46f3ea6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
<!DOCTYPE html>
<html lang="fr_fr">
<head>
  <meta charset="utf-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="HandheldFriendly" content="True" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <meta name="robots" content="noindex, nofollow" />

  <title>Tengwar transcription</title>

</head>
<style>
input[type='text'] { font-size: 24px; }
.annatar { 
  font-family: "Tengwar Annatar"
}
.telcontar { 
  font-family: "Tengwar Telcontar"
}

fieldset {
  display: table;
}
fieldset p {
  display: table-row;
}
fieldset label {
 display: table-cell;
 margin: 100px;
}

  @font-face {
    font-family: "Tengwar Telcontar" ;
    src: url("tengtelc.ttf") format("truetype");
  }

</style>
<body>
  <main>

  <header>
    <h1 id="Application">Application</h1>
  </header>
  <div>
    <noscript>Sorry, you need to enable JavaScript to see this page.</noscript>
      <script id="lib" type="text/javascript" defer="defer" src="src/js/tengwar.js"></script>
    <script>
      var script = document.getElementById('lib');
      script.addEventListener('load', function() {
        lib.run("source", "phono", "tengwar", "font");
      });
    </script>

 <fieldset>
  <p>
    <label for="source">Entrée :</label>
    <input type="text" id="source" name="source" class="telcontar">
  </p>
  <p>
  <label for="output">Phonétique :</label>
  <input type="text" id="phono" name="output">
  </p>
  <p>
  <label for="font">Police :</label>
  <select id="font">
    <option value="annatar">Tengwar Annatar</option>
    <option selected value="telcontar">Tengwar Telcontar</option>
  </select>
  </p>
  <p>
  <label for="output">Tengwar :</label>
  <input type="text" id="tengwar" class="telcontar" name="output">
  </p>
 </fieldset> 

  </div>

  </main>


</body>
</html>