Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Stroop
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
7
Issues
7
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
PET Computação
Stroop
Commits
db3a6860
Commit
db3a6860
authored
Jul 06, 2017
by
pet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
alterando configuracoes
parent
ae8ec1f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
+10
-2
js/configuracoes.js
js/configuracoes.js
+6
-2
professor.html
professor.html
+4
-0
No files found.
js/configuracoes.js
View file @
db3a6860
...
...
@@ -14,14 +14,16 @@ var __configsDefault = {
"
ordemBateria
"
:
[
"
pC
"
,
"
C
"
,
"
C
"
,
"
pI
"
,
"
I
"
,
"
I
"
,
"
F
"
],
"
perguntas
"
:
6
,
"
tipoTeste
"
:
1
,
//1 para tempo, 0 para perguntas
"
tempoTeste
"
:
5
//Segundos
"
tempoTeste
"
:
5
,
//Segundos
"
tempoEntreTeste
"
:
5
};
var
__configs
=
{
"
perguntas
"
:
null
,
"
ordemBateria
"
:
null
,
"
tipoTeste
"
:
null
,
"
tempoTeste
"
:
null
"
tempoTeste
"
:
null
,
"
tempoEntreTeste
"
:
null
,
};
function
__saveConfigs
(){
...
...
@@ -133,6 +135,7 @@ function configuracoes(){
document
.
getElementById
(
"
logado_config_numero_perguntas
"
).
value
=
__configs
.
perguntas
;
document
.
getElementById
(
"
logado_config_tempoEntreTeste
"
).
value
=
__configs
.
tempoEntreTeste
;
if
(
__configs
.
tipoTeste
==
0
){
config_selectPerguntas
();
...
...
@@ -169,6 +172,7 @@ function logado_config_salvaConfig(){
if
(
confirm
(
"
Fazendo isso você deletará todos os testes!
\n
Deseja continuar?
"
)){
__configs
.
perguntas
=
parseInt
(
document
.
getElementById
(
"
logado_config_numero_perguntas
"
).
value
);
__configs
.
tempoTeste
=
parseInt
(
$
(
"
#logado_config_tempoDuracao
"
).
val
());
__configs
.
tempoEntreTeste
=
parseInt
(
$
(
"
#logado_config_tempoEntreTeste
"
).
val
());
newOrdemBateria
=
[]
for
(
var
i
=
0
;
i
<
numeroTestes
;
i
++
){
var
select
=
document
.
getElementById
(
"
config_select
"
+
i
);
...
...
professor.html
View file @
db3a6860
...
...
@@ -160,6 +160,10 @@
<br>
<input
type=
number
id=
"logado_config_tempoDuracao"
>
</div>
<br>
<br>
Tempo entre os testes
<br>
<input
type=
number
id=
"logado_config_tempoEntreTeste"
>
<br>
<br>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment