clavier.html 3.65 KB
Newer Older
1
2
3
4
{% load static %}
<!DOCTYPE html>
<html>
<head>
5
    <title>Clavier phonographémique</title>
6
    <meta charset="utf-8">
7
    <link rel="stylesheet" type="text/css" href="{% static 'styles/kinephones_style_v2.css'%}">
Sylvain Coulange's avatar
Sylvain Coulange committed
8
    <link rel="stylesheet" type="text/css" href="{% static 'styles/clavier.css'%}">
9
10
</head>
<body>
11
    {% include 'header.html' %}
12
    <div>
13
        <h2>Clavier phonographémique <span class="phon_p">p</span><span class="phon_u">ou</span><span class="phon_r_maj">r</span><span> </span><span class="phon_e">é</span><span class="phon_k">c</span><span class="phon_r_maj">r</span><span class="phon_i">i</span><span class="phon_r_maj">re</span><span> </span><span class="phon_a_maj_nas">en</span><span> </span><span class="phon_k">c</span><span class="phon_u">ou</span><span class="phon_l">l</span><span class="phon_9">eu</span><span class="phon_r_maj">rs</span></h2>
14
15
16
        <button id="div2png">Exporter en png (expérimental)</button>
        <button id="div2pdf">Exporter en pdf (expérimental)</button>
        <div class="fenetre textZone" id="textZone" contenteditable="true"></div>
17
18
19
    </div>

    <div class="boutons">
20
21
22
23
24
25
        <button onclick="writeDot()" class="btn-car">.</button>
        <button onclick="writeComma()" class="btn-car">,</button>
        <button onclick="writeQuestionMark()" class="btn-car">?</button>
        <button onclick="writeExclamationMark()" class="btn-car">!</button>
        <button onclick="writeColumn()" class="btn-car">:</button>
        <button onclick="writeSemicolumn()" class="btn-car">;</button>
Sylvain Coulange's avatar
Sylvain Coulange committed
26
        <button onclick="writeHyphon()" class="btn-car">&#860;</button>
27
        <button onclick="writeLiaison()" class="btn-car"></button>
Sylvain Coulange's avatar
Sylvain Coulange committed
28
29
        <button onclick="writeGuill1()" class="btn-car">«</button>
        <button onclick="writeGuill2()" class="btn-car">»</button>
30
31
32
        <button onclick="writeSpace()" class="btn-car-space">Espace</button>
        <button onclick="writeEnter()" class="btn-car">Entrer</button>
        <button onclick="eraseLastSpan()" class="btn-car">Effacer</button>
33
34
35
    </div>
    
    <div class="clavier-graphiesZone">
36
        <div class="clavier" id="clavier">
37
            <embed id="svgFond" src="../static/svg/00.svg" class="superposeBack">
Sylvain Coulange's avatar
Sylvain Coulange committed
38
39
40
            <img id="svgColor" src="../static/png/01.png" class="superpose">
            <img id="pngCalq" class="superpose">
            <embed id="svgClick" src="../static/svg/00-click.svg" class="superpose">
41
42
43
44
            <div class="control-clavier">
                <img src="../static/png/moins.png" id="btn-min" title="réduire le clavier"/>
                <img src="../static/png/plus.png" id="btn-max" title="agrandir le clavier"/>
            </div>
45
46
47
48
49
50
        </div>

        <div class="graphies">
            <div id="graphiesZone"></div>
        </div>
    </div>
Sylvain Coulange's avatar
Sylvain Coulange committed
51
52
    
    <div class="fenetre btn-calq-div">
Sylvain Coulange's avatar
Sylvain Coulange committed
53
54
        <input type="image" class="btn-calq" src="../static/png/btn_rien.png" title="Panneau vierge" id="btn-rien" />
        <input type="image" class="btn-calq" src="../static/png/btn_vsm.png" title="Voisements et position langue" id="btn-vsm" />
55
        <input type="image" class="btn-calq btnfocus" src="../static/png/btn_bch.png" title="Formes de bouche" id="btn-bch" />
Sylvain Coulange's avatar
Sylvain Coulange committed
56
        <input type="image" class="btn-calq" src="../static/png/btn_cpsg.png" title="Coupes sagitales" id="btn-cpsg" />
Sylvain Coulange's avatar
Sylvain Coulange committed
57
58
    </div>

59
    {% include 'footer.html' %}
60

61
    <script src="https://unpkg.com/jspdf@latest/dist/jspdf.min.js"></script>
62
    <script src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
63
64
    <script src="{% static 'js/html2canvas.min.js' %}"></script>
    <script src="{% static 'js/download.js' %}"></script>
65
    <script src="{% static 'js/clavier.js' %}"></script>
66
    
67
</html>