professor.html 6.28 KB
Newer Older
1 2
<html>
<head>
3
<meta charset="utf-8">
4 5 6 7
<title> Teste stroop </title>

<meta name="viewport" content="width=device-width, initial-scale=1.0">

pet's avatar
pet committed
8 9
<link rel="stylesheet" href="css/pure-min.css">
<link rel="stylesheet" href="css/style.css">
10

pdg16's avatar
pdg16 committed
11 12
<script>if (typeof module === 'object') {window.module = module; module = undefined;}</script>

pet's avatar
pet committed
13 14
<script src="js/jquery-3.1.1.min.js"></script>
<script src='js/plotly-latest.min.js'></script>
15

pdg16's avatar
pdg16 committed
16 17 18
<script>if (window.module) module = window.module;</script>


19
<style>
20 21 22 23 24 25
	.spanErrou{
		color:red;
	}
	.spanAcertou{
		color:purple;
	}
26 27 28
	.exclueTeste{
		color:red;
	}
29 30 31 32 33
	.js-plotly-plot{
		position:relative;
		width:90% !important;
		left:5% !important;
	}
34
</style>
35 36 37
</head>
<body>
<!--*******************************************************************************************!-->
38
<div id="logado_main" style="display:none;">
39 40
	<div class="header">

41 42
		<div id= "horizontal" class="home-menu pure-menu pure-menu-horizontal pure-menu-fixed">
			<a class="pure-menu-heading" href="index.html">STROOP</a>
mc16's avatar
mc16 committed
43

44

45
		</div>
mc16's avatar
mc16 committed
46
	<div id="lateral">
mc16's avatar
mc16 committed
47
			<div id="menu">
mc16's avatar
mc16 committed
48
				<h2> > </h2>
mc16's avatar
mc16 committed
49
				<h3 class="link-titulo">Menu</h3>
mc16's avatar
mc16 committed
50 51 52 53
				<ul class="box">
								<li><a onClick="inicioTestes();" class="pure-menu-link">Início</a></li>
								<li><a onClick="gerenciarTestes();" class="pure-menu-link">Gerenciar Testes</a></li>
								<li><a onClick="configuracoes();" class="pure-menu-link">Configurações</a></li>
pet's avatar
pet committed
54 55 56
								<li><a value='enviado' onClick="downloadCsv();">Baixar os resultados (planilha)</a></li>
								<li><a  onClick="save_data();">Salvar dados (<i>.stroop</i>)</a></li>
								<li><a class="pure-menu-link" onclick="getFile()"> Upload (<i>.stroop</i>)</a></li>
mc16's avatar
mc16 committed
57 58 59
								<div style='height: 0px;width: 0px; overflow:hidden;'>
								<input id="upfile" type="file" value="upload" onchange="load_data(this.files)"/>
								</div>
mc16's avatar
mc16 committed
60 61
								<li><a href="index.html">Fazer teste</a></li>
						</ul>
mc16's avatar
mc16 committed
62

mc16's avatar
mc16 committed
63 64
		</div> <!-- /#menu -->
	</div> <!-- /#lateral -->
65
	<br><br>
mc16's avatar
mc16 committed
66
</div>
pet's avatar
pet committed
67 68 69 70 71 72 73 74


<center id='graficoC'></center>
<center id='graficoI'></center>
<center id='graficoCMedia'></center>
<center id='graficoIMedia'></center>


75
</div>
76 77 78 79 80 81
<!--*******************************************************************************************!-->


<!--*******************************************************************************************!-->
<div id="logado_gerenciar" style="display:none;">
	<div class="header">
82 83
		<div id= "horizontal" class="home-menu pure-menu pure-menu-horizontal pure-menu-fixed">
			<a class="pure-menu-heading" href="index.html">STROOP</a>
84 85

		</div>
mc16's avatar
mc16 committed
86 87
		<div id="lateral">
			<div id="menu">
mc16's avatar
mc16 committed
88
				<h2> > </h2>
mc16's avatar
mc16 committed
89 90
				<h3 class="link-titulo">Menu</h3>
						<ul class="box">
mc16's avatar
mc16 committed
91
								<li><a onClick="inicioTestes();" class="pure-menu-link">Início</a></li>
pet's avatar
pet committed
92
								<li><a onClick="gerenciarTestes();" class="pure-menu-link">Gerenciar Testes</a></li>
mc16's avatar
mc16 committed
93
								<li><a onClick="configuracoes();" class="pure-menu-link">Configurações</a></li>
pet's avatar
pet committed
94 95 96
								<li><a value='enviado' onClick="downloadCsv();">Baixar os resultados (planilha)</a></li>
								<li><a  onClick="save_data();">Salvar dados (<i>.stroop</i>)</a></li>
								<li><a class="pure-menu-link" onclick="getFile()"> Upload (<i>.stroop</i>)</a></li>
mc16's avatar
mc16 committed
97 98 99
								<div style='height: 0px;width: 0px; overflow:hidden;'>
								<input id="upfile" type="file" value="upload" onchange="load_data(this.files)"/>
								</div>
mc16's avatar
mc16 committed
100 101 102 103
								<li><a href="index.html">Fazer teste</a></li>
						</ul>
		</div> <!-- /#menu -->
	</div> <!-- /#lateral -->
104
	</div>
pet's avatar
pet committed
105 106 107 108
	<div id="externa">
		<div id="corpoGerencia">
			<center>Clique nos nomes para visualizar os detalhes</center><br>
			<center id="gerencia_testes">
109

pet's avatar
pet committed
110 111
			</center>
		</div>
112
	</div>
113 114
</div>
<!--*******************************************************************************************!-->
mc16's avatar
mc16 committed
115 116 117 118

<!--*******************************************************************************************!-->
<div id="logado_config" style="display:none;">
	<div class="header">
119 120
		<div id= "horizontal" class="home-menu pure-menu pure-menu-horizontal pure-menu-fixed">
			<a class="pure-menu-heading" href="index.html">STROOP</a>
mc16's avatar
mc16 committed
121 122 123
		</div>
		<div id="lateral">
			<div id="menu">
mc16's avatar
mc16 committed
124
				<h2> > </h2>
mc16's avatar
mc16 committed
125 126
				<h3 class="link-titulo">Menu</h3>
						<ul class="box">
pet's avatar
pet committed
127 128 129 130 131 132 133 134 135 136
							<li><a onClick="inicioTestes();" class="pure-menu-link">Início</a></li>
							<li><a onClick="gerenciarTestes();" class="pure-menu-link">Gerenciar Testes</a></li>
							<li><a onClick="configuracoes();" class="pure-menu-link">Configurações</a></li>
							<li><a value='enviado' onClick="downloadCsv();">Baixar os resultados (planilha)</a></li>
							<li><a  onClick="save_data();">Salvar dados (<i>.stroop</i>)</a></li>
							<li><a class="pure-menu-link" onclick="getFile()"> Upload (<i>.stroop</i>)</a></li>
							<div style='height: 0px;width: 0px; overflow:hidden;'>
							<input id="upfile" type="file" value="upload" onchange="load_data(this.files)"/>
							</div>
							<li><a href="index.html">Fazer teste</a></li>
mc16's avatar
mc16 committed
137 138 139 140
						</ul>
		</div> <!-- /#menu -->
	</div> <!-- /#lateral -->
	</div>
mc16's avatar
mc16 committed
141

mc16's avatar
mc16 committed
142 143
	<div id="corpoConfig">
		<center>
144 145 146 147 148 149 150 151 152 153 154 155
			
			<button onClick="config_selectPerguntas()"> Teste por perguntas</button>
			<button onClick="config_selectTempo()" style="display:inline-block"> Teste por tempo</button>
			<br><br>
			
			
			<div id="config_perguntas" style="display:none">
				Número de perguntas
				<br>
				<input type=number id="logado_config_numero_perguntas">
				<br>
				<br>
pet's avatar
pet committed
156 157 158 159 160
				Número de perguntas nos pré testes
				<br>
				<input type=number id="logado_config_numero_perguntas_pre">
				<br>
				<br>
161 162 163 164 165 166 167 168 169 170 171 172 173
				Ordem dos testes
				<br>
				<center id="logado_config_selects"></center>
				<br>
				<br>
				<button onClick="logado_config_addTeste();">Adicionar teste</button>
			</div>
			
			<div id="config_tempo" style="display:none">
				Duração de cada teste (segundos)
				<br>
				<input type=number id="logado_config_tempoDuracao">
			</div>
pet's avatar
pet committed
174 175 176 177
			<br>
			<br>
			Tempo entre os testes<br>
			<input type=number id="logado_config_tempoEntreTeste">
178
		
mc16's avatar
mc16 committed
179 180 181 182
			<br>
			<br>
			<button onClick="logado_config_salvaConfig()">Salvar</button>
		</center>
mc16's avatar
mc16 committed
183

pet's avatar
pet committed
184 185 186 187 188
	</div>
</div>
<!--*******************************************************************************************!-->


189
<br><br>
190

191
</body>
pet's avatar
pet committed
192
<script src="js/professor.js"></script>
193
<script src="js/save_data.js"></script>
mc16's avatar
mc16 committed
194
<script src="js/configuracoes.js"></script>
mc16's avatar
mc16 committed
195

mc16's avatar
mc16 committed
196
<script> buscaTestes(); </script>
197
</html>