-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
95 lines (81 loc) · 4.23 KB
/
index.html
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
85
86
87
88
89
90
91
92
93
94
95
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Editeur de diagrammes d'actions (pseudo-code)</title>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans|Oxygen+Mono">
<link rel="stylesheet" href="styles/reset.css" media="all">
<link rel="stylesheet" href="styles/app.css" media="screen">
<link rel="stylesheet" href="styles/pcp-highlight.css" media="all">
<link rel="stylesheet" href="styles/toastr.min.css" media="screen">
<link rel="stylesheet" href="styles/print.css" media="print">
<script src="https://use.fontawesome.com/ca53c7c19d.js"></script>
<script src="scripts/PseudoCodeParser.js"></script>
<script defer src="scripts/libraries/jquery-3.2.1.min.js"></script>
<script defer src="scripts/libraries/toastr.min.js"></script>
<script defer src="scripts/app.js"></script>
</head>
<body>
<div class="welcome-overlay" id="welcomePanel">
<div class="welcome-overlay-content">
<h1 class="welcome-title">Editeur de diagrammes d'actions</h1>
<h2 class="welcome-subtitle">Parseur de pseudo-code</h2>
<a href="#" class="button" id="buttonOpen" title="Ouvrir l'éditeur de diagramme(s) d'actions">Accéder à l'éditeur</a>
<p class="welcome-sub-button">
Besoin d'un <a href="#" id="buttonOpenWithExample" title="Ouvrir l'éditeur de diagramme(s) d'actions avec un exemple de code">exemple d'utilisation</a> ?
</p>
<p class="welcome-copyright">
Development version - Alpha v0.2.1<br>
A free-project from <a href="https://www.github.com/gaetanledocte" target="_blank" title="Gaëtan Le Docte's Github Profile">@gaetanledocte</a>.
</p>
</div>
</div>
<header class="topbar">
<h1 class="topbar-title">Editeur de diagrammes d'actions (pseudo-code)</h1>
<nav class="topbar-menu">
<a href="#" class="menu-item" id="buttonNew">Nouveau</a>
<a href="#" class="menu-item" id="buttonSaveInCache">Sauvegarder</a>
<a href="#" class="menu-item" id="buttonPrint">Imprimer le résultat</a>
<input class="menu-item menu-item--input" type="text" placeholder="Nom du fichier à exporter..." id="inputFileNameToSaveAs">
<a href="#" class="menu-item menu-item--input-button" id="buttonSaveAsFile">Exporter la source</a>
</nav>
</header>
<main class="editor-container">
<section class="editor editor-input editor--split editor--dark" id="editorInput">
<header class="editor-header">
<h2 class="header-title">Source</h2>
<ul class="header-option-items horizontal-scroll hide-scrollbar">
<li class="option-item" id="buttonInsert__Main">Bloc principal</li>
<li class="option-item" id="buttonInsert__Condition">Condition</li>
<li class="option-item" id="buttonInsert__Switch">Switch</li>
<li class="option-item" id="buttonInsert__Loop">Boucle</li>
<li class="option-item" id="buttonInsert__Module">Module</li>
<li class="option-item" id="buttonInsert__Paragraph">Paragraphe</li>
<li class="option-item" id="buttonZoomPlus" title="Ctrl +" style="margin-left: 16px;">+</li>
<li class="option-item" id="buttonZoomReset" title="Ctrl 0">Reset</li>
<li class="option-item" id="buttonZoomMinus" title="Ctrl -" style="margin-right: 16px;">-</li>
<li class="option-item option-item--align-end option-item--active" id="buttonDarkTheme">Thème sombre</li>
</ul>
</header>
<div class="editor-content editor-content--input">
<textarea class="source-input" id="input" placeholder="Diagramme d'actions (pseudo-code)..." spellcheck="false"></textarea>
</div>
</section>
<section class="editor editor-output editor--split">
<header class="editor-header">
<h2 class="header-title">Résultat</h2>
<ul class="header-option-items">
<li class="option-item option-item--disabled" id="buttonReload">Actualiser</li>
<li class="option-item option-item--active" id="buttonLiveReload">Actualisation en direct</li>
<li class="option-item option-item--active" id="buttonExtendedFormatting">Mise en forme étendue</li>
</ul>
</header>
<div class="editor-content editor-content--output">
<pre class="source-output pcp-highlight" id="output"></pre>
</div>
</section>
</main>
</body>
</html>