mirror of
https://gitlab.com/MrFry/mrfrys-node-server
synced 2025-04-01 20:24:18 +02:00
Fixed qa table width stuff
This commit is contained in:
parent
0f076b4c74
commit
a3dfc2497c
2 changed files with 3 additions and 2 deletions
|
@ -379,6 +379,7 @@ function RemoveDuplFromSubject(subj) {
|
||||||
subj.Questions = [];
|
subj.Questions = [];
|
||||||
for (var i = 0; i < cp.length; i++) {
|
for (var i = 0; i < cp.length; i++) {
|
||||||
var j = 0;
|
var j = 0;
|
||||||
|
// Only removes 100% match!
|
||||||
while (j < subj.length && cp[i].Compare(subj.Questions[j]) != 100) {
|
while (j < subj.length && cp[i].Compare(subj.Questions[j]) != 100) {
|
||||||
j++;
|
j++;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
<center><h2> Q & A: </h3></center>
|
<center><h2> Q & A: </h3></center>
|
||||||
<% for (var i = 0; i < qa.length; i++) { %>
|
<% for (var i = 0; i < qa.length; i++) { %>
|
||||||
<hr>
|
<hr>
|
||||||
<table>
|
<table style="width:100%">
|
||||||
<td style="vertical-align:middle;text-align:center;width:5%">
|
<td style="vertical-align:middle;text-align:center;width:5%">
|
||||||
<h2 >
|
<h2 >
|
||||||
<%= i %>
|
<%= i %>
|
||||||
</h2>
|
</h2>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td>
|
<td >
|
||||||
|
|
||||||
<b>
|
<b>
|
||||||
<%= qa[i].q %>
|
<%= qa[i].q %>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue