-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
152 lines (135 loc) · 5.33 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!-- Integrate languages -->
<!DOCTYPE html>
<html >
<head>
<meta charset="UTF-8">
<title>AlgoCode</title>
<meta charset="utf-8">
<script type="text/javascript">var type_comments="//",v=type_comments+"AlgoCode by 'S@n1x-D4rk3r' https://github.com/sanix-darker\n\n";</script>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="css/normalize.min.css">
<link rel='stylesheet prefetch' href='css/bootstrap.min.css'>
<link rel='stylesheet prefetch' href='css/bootstrap-select.min.css'>
<link rel="icon" href="img/logo.png" sizes="32x32">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<!-- Editor -->
<div class="container">
<div class="row">
<div class="col-md-12">
<center>
<h2 class="toptitle"><\AlgoCode/></h2><br>
</center>
</div>
<div class="col-md-12 col-sm-12">
<div class="row">
<div class="col-md-3 col-sm-3">
<!-- To select an example -->
<div class="algorithmOptions" style="margin-left: -17px;">
<div class="col-md-6">
<select class="selectpicker" data-live-search="true" class="form-control" name="exemple">
<option>Examples</option>
<optgroup label="Basics">
<option> Input / Output</option>
<option> Conditions </option>
<option> Loop </option>
<option> Functions </option>
</optgroup>
<optgroup label="Middle">
<option> Classes </option>
</optgroup>
<optgroup label="Expert">
</optgroup>
</select>
</div>
<div class="col-md-6">
<select class="selectpicker" data-live-search="true" class="form-control" name="exercice">
<option>Exercice</option>
<optgroup label="Basics">
<option> Input / Output</option>
<option> Conditions </option>
<option> Loop </option>
<option> Functions </option>
</optgroup>
<optgroup label="Middle">
<option> Classes </option>
</optgroup>
<optgroup label="Expert">
</optgroup>
</select>
</div>
</div>
<textarea class="form-control " style="height: 300px;margin-top: 50px;width: 100%;"> // Write your algorithm there...</textarea>
<div class="algorithmOptions" style="margin-left: -5px;">
<select class="selectpicker" data-live-search="true" class="form-control" name="exercice">
<option>Learn algorithms</option>
<optgroup label="Basics">
<option> Input / Output</option>
<option> Conditions </option>
<option> Loop </option>
<option> Functions </option>
</optgroup>
<optgroup label="Middle">
<option> Classes </option>
</optgroup>
<optgroup label="Expert">
</optgroup>
</select>
</div>
</div>
<div class="col-md-6 col-sm-6 codeSide">
<div class="compile-code" >
<!-- Bouton to generate the code -->
<input type="button" class="btn btn-success" value="Convert to code">
<!-- Language Selection -->
<select class="selectpicker" data-live-search="true" class="form-control" name="Language" id="mode" onchange="changeMode()" >
<option value="c" id="c" selected>C</option>
<option value="c++" id="c++">C++</option>
<option value="python2" id="python2">Python2</option>
<option value="python3" id="python3">Python3</option>
<option value="php" id="php">PHP</option>
<option value="java" id="java">Java</option>
</select>
<input type="submit" id="compile" class="btn btn-sky text-uppercase btn-sm" value="Compile">
<!-- Editor -->
<pre name="code" id="editor" style="border: none;"></pre>
</div>
</div>
<div class="col-md-3">
<div id="console">
>Console
</div>
</div>
</div>
<br>
<div class="row">
<center>
<div class="col-md-3 "></div>
<div class="col-md-4 ">
© 2017 AlgoCode All rights reserved by Sanix Darker.
</div>
<div class="col-md-2">
<select class="form-control" name="Language" style="margin-top: -7px;" >
<option value="en" id="english" selected>English</option>
<option value="fr" id="french">French</option>
</select>
</div>
<div class="col-md-3 "></div>
<!-- To select the language -->
</center>
</div>
</div>
<!-- /.col-md-12 col-sm-12 codeSide -->
</div>
<!-- /.row -->
</div>
<!-- /.container -->
<script src='js/jquery.min.js'></script>
<script src='js/bootstrap.min.js'></script>
<script src='js/bootstrap-select.min.js'></script>
<script src='js/ace.js'></script>
<script src="js/index.js"></script>
</body>
</html>