Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
piphone
piphone-front
Commits
cf42f3fe
Commit
cf42f3fe
authored
Sep 11, 2017
by
Okhin
Browse files
Fixing the JS
parent
c8420771
Pipeline
#1210
passed with stages
in 7 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
templates/feedbackform.html
View file @
cf42f3fe
...
@@ -9,8 +9,10 @@
...
@@ -9,8 +9,10 @@
</div>
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<div
class=
"col s12"
>
<div
class=
"container"
>
<p>
When you hear the MarioBros theme on the phone, you should press 1 to initiate the call to the representative.
</p>
<div
class=
"col s12"
>
<p
class=
"bold center"
>
When you hear the MarioBros theme on the phone, you should press 1 to initiate the call to the representative.
</p>
</div>
</div>
</div>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
...
@@ -115,15 +117,9 @@
...
@@ -115,15 +117,9 @@
caller
=
normalize_phone
(
response
[
'
data
'
][
'
caller
'
]);
caller
=
normalize_phone
(
response
[
'
data
'
][
'
caller
'
]);
callee
=
normalize_phone
(
response
[
'
data
'
][
'
callee
'
]);
callee
=
normalize_phone
(
response
[
'
data
'
][
'
callee
'
]);
if
(
phone
===
caller
)
{
if
(
phone
===
caller
)
{
$
(
'
#step_wait
'
).
addClass
(
'
bold
'
);
$
(
'
#step_wait
'
).
show
();
$
(
'
#step_wait
'
).
addClass
(
'
text-darken-4
'
);
$
(
'
#step_wait
'
).
removeClass
(
'
light
'
);
$
(
'
#step_wait
'
).
removeClass
(
'
text-lighten-2
'
);
}
else
{
}
else
{
$
(
'
#step_connected
'
).
addClass
(
'
bold
'
);
$
(
'
#step_callee
'
).
show
();
$
(
'
#step_connected
'
).
addClass
(
'
text-darken-4
'
);
$
(
'
#step_connected
'
).
removeClass
(
'
light
'
);
$
(
'
#step_connected
'
).
removeClass
(
'
text-lighten-2
'
);
};
};
};
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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