clavier.html 4.05 KB
Newer Older
1
2
3
4
{% load static %}
<!DOCTYPE html>
<html>
<head>
5
    <title>Clavier phonographémique</title>
6
    <meta charset="utf-8">
Sylvain Coulange's avatar
Sylvain Coulange committed
7
    <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
8
    <link rel="stylesheet" type="text/css" href="{% static 'styles/kinephones_style_v2.css'%}">
Sylvain Coulange's avatar
Sylvain Coulange committed
9
    <link rel="stylesheet" type="text/css" href="{% static 'styles/clavier.css'%}">
10
11
</head>
<body>
12
    {% include 'header.html' %}
13
    <div>
14
        <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>
15
16
        <button id="div2png">Exporter en png (expérimental)</button>
        <button id="div2pdf">Exporter en pdf (expérimental)</button>
Sylvain Coulange's avatar
Sylvain Coulange committed
17
18
19
20
        <div class="fenetre textZone" id="textZone" contenteditable="true">
            <div class="outputParam" onclick="bg2white()">
                <span class="glyphicon glyphicon-adjust" aria-hidden="true" title="Changer la couleur du fond"></span>
            </div>
Sylvain Coulange's avatar
Sylvain Coulange committed
21
        </div>
22
23
24
    </div>

    <div class="boutons">
25
26
27
28
29
30
        <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
31
        <button onclick="writeHyphon()" class="btn-car">-</button>
32
        <button onclick="writeLiaison()" class="btn-car"></button>
Sylvain Coulange's avatar
Sylvain Coulange committed
33
34
        <button onclick="writeGuill1()" class="btn-car">«</button>
        <button onclick="writeGuill2()" class="btn-car">»</button>
35
36
37
        <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>
38
39
40
    </div>
    
    <div class="clavier-graphiesZone">
41
        <div class="clavier" id="clavier">
42
            <embed id="svgFond" src="../static/svg/00.svg" class="superposeBack">
Sylvain Coulange's avatar
Sylvain Coulange committed
43
            <img id="pngPochoir" class="superpose">
Sylvain Coulange's avatar
Sylvain Coulange committed
44
45
            <img id="pngCalq" class="superpose">
            <embed id="svgClick" src="../static/svg/00-click.svg" class="superpose">
46
47
48
49
            <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>
50
51
52
        </div>

        <div class="graphies">
Sylvain Coulange's avatar
Sylvain Coulange committed
53
            <div id="graphiesZone" class="graphiesZone"></div>
54
55
        </div>
    </div>
Sylvain Coulange's avatar
Sylvain Coulange committed
56
57
    
    <div class="fenetre btn-calq-div">
Sylvain Coulange's avatar
Sylvain Coulange committed
58
59
        <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" />
60
        <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
61
        <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
62
63
    </div>

64
    {% include 'footer.html' %}
65

66
    <script src="https://unpkg.com/jspdf@latest/dist/jspdf.min.js"></script>
67
    <script src="https://code.jquery.com/jquery-3.1.0.min.js"></script>
68
69
    <script src="{% static 'js/html2canvas.min.js' %}"></script>
    <script src="{% static 'js/download.js' %}"></script>
70
    <script src="{% static 'js/clavier.js' %}"></script>
71
    
72
</html>