[Redizajn 1KA] - Testiranje --> Avtomatski vnosi - v1
This commit is contained in:
parent
4c20e27c2f
commit
94866f81b3
@ -8896,17 +8896,33 @@ class SurveyAdminSettings {
|
||||
$total_rows = $row['count'];
|
||||
|
||||
echo '<form name="" action="ajax.php?anketa='.$this->anketa.'&a=testiranje&m=testnipodatki" method="post" onsubmit="init_progressBar(true);">';
|
||||
echo '<p>';
|
||||
echo '<span class="spaceRight">'.$lang['srv_stevilo_vnosov'].': <input type="text" name="stevilo_vnosov" value="1" onkeyup="max_stevilo_vnosov();"> (max 1000) </span>';
|
||||
|
||||
echo '<fieldset><legend>'.$lang['srv_testiranje_vnosi'].'</legend>';
|
||||
echo '<p class="bottom16">'.$lang['srv_testni_nagovor'].'</p>';
|
||||
|
||||
echo '<div class="setting_holder">';
|
||||
echo $lang['srv_stevilo_vnosov'].':';
|
||||
echo '<div class="max_wrap">';
|
||||
echo '<input class="text large" type="text" name="stevilo_vnosov" value="1" onkeyup="max_stevilo_vnosov();">';
|
||||
echo '<span class="gray">(max 1000)</span>';
|
||||
echo '</div>';
|
||||
echo '</div>';
|
||||
|
||||
echo '<div class="setting_holder">';
|
||||
echo '<input type="hidden" name="only_valid" id="only_valid_0" value="0" />';
|
||||
echo '<span style="margin: 0 25px;"><label for="only_valid_1">'.$lang['srv_testni_samo_veljavni'].': <input type="checkbox" name="only_valid" id="only_valid_1" value="1"></label></span>';
|
||||
echo '<span class="spaceLeft"><input type="submit" name="" value="'.$lang['srv_dodaj_vnose'].'" /></span>';
|
||||
echo '</p>';
|
||||
echo '<input type="checkbox" name="only_valid" id="only_valid_1" value="1">';
|
||||
echo '<label for="only_valid_1">'.$lang['srv_testni_samo_veljavni'].'</label>';
|
||||
echo '</div>';
|
||||
|
||||
echo '<div class="button_holder">';
|
||||
echo '<button class="medium blue" type="submit">'.$lang['srv_dodaj_vnose'].'</button>';
|
||||
echo '</div>';
|
||||
|
||||
echo '</form>';
|
||||
|
||||
echo '<p>'.$lang['srv_testni_nagovor'].'</p>';
|
||||
|
||||
echo '<a href="#" onClick="delete_test_data();">'.$lang['srv_delete_testdata'].'</a> ('.$total_rows.')';
|
||||
echo '<p class="bottom16">'.$lang['srv_testni_nakonec'].'</p>';
|
||||
|
||||
echo '<a class="noline" href="#" onClick="delete_test_data();"><span class="faicon trash empty link-right"></span>'.$lang['srv_delete_testdata'].'</a> ('.$total_rows.')';
|
||||
|
||||
if ($total_rows > 0) {
|
||||
|
||||
@ -8927,12 +8943,12 @@ class SurveyAdminSettings {
|
||||
}
|
||||
|
||||
echo '<fieldset><legend>'.$row['pagename'].'</legend>';
|
||||
echo '<table style="width:100%">';
|
||||
echo '<table>';
|
||||
|
||||
$prevpage = $row['gru_id'];
|
||||
}
|
||||
|
||||
echo '<tr><td style="width:20%; text-align:left" title="'.strip_tags($row['naslov']).'">'.skrajsaj(strip_tags($row['naslov']),20).'</td>';
|
||||
echo '<tr><td title="'.strip_tags($row['naslov']).'">'.skrajsaj(strip_tags($row['naslov']),50).'</td>';
|
||||
|
||||
// radio ali select, checkbox, textbox, textbox*, number, datum
|
||||
if ( ($row['tip']==1 || $row['tip']==3 || $row['tip']==2 || $row['tip']==4 || $row['tip']==21 || $row['tip']==7 || $row['tip']==8) ) {
|
||||
@ -9000,9 +9016,11 @@ class SurveyAdminSettings {
|
||||
}
|
||||
}
|
||||
|
||||
echo '<td>';
|
||||
echo ' <div class="graph_lb" style="text-align: right; float: left; width: '.($p*0.7).'%"> </div>';
|
||||
echo ' <span style="display: block; margin: auto auto auto 5px; float: left">'.$p.'% ('.($total_rows-$rowc['count']).')</span>';
|
||||
echo '<td class="graph_cell">';
|
||||
echo '<div class="graph_cell">';
|
||||
echo ' <div class="graph_full" style="width: '.($p*0.7).'%"></div>';
|
||||
echo ' <span>'.$p.'% ('.($total_rows-$rowc['count']).')</span>';
|
||||
echo '</div>';
|
||||
echo '</td>';
|
||||
|
||||
echo '</tr>';
|
||||
@ -9012,8 +9030,8 @@ class SurveyAdminSettings {
|
||||
|
||||
echo '</table>';
|
||||
echo '</fieldset>';
|
||||
|
||||
echo '<p>'.$lang['srv_testni_nakonec'].'</p>';
|
||||
|
||||
echo '</fieldset>';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -4016,10 +4016,10 @@ $lang = array (
|
||||
"srv_verjetnost_pojavitve" => "Verjetnost pojavitve",
|
||||
"srv_vnosi_no_entry" => "Anketa trenutno še nima vnosov!<br/>",
|
||||
"srv_vnosi_no_entry_filter" => "Nobena enota ne ustreza izbranim filtrom!<br/>",
|
||||
"srv_stevilo_vnosov" => "Dodaj testne vnose",
|
||||
"srv_stevilo_vnosov" => "Število testnih vnosov",
|
||||
"srv_testni_samo_veljavni" => "Samo veljavni odgovori",
|
||||
"srv_dodaj_vnose" => "Generiraj testne vnose",
|
||||
"srv_delete_testdata" => "Pobriši testne vnose",
|
||||
"srv_delete_testdata" => "Izbriši vse testne vnose",
|
||||
"srv_delete_autogen_testdata" => "Pobriši avtomatsko generirane vnose",
|
||||
"srv_autogen_testni_podatki_alert" => "Med njimi so tudi avtomatsko generirani testni vnosi.",
|
||||
"srv_sklop_osnovna" => "Osnovna vprašanja - kategorije",
|
||||
@ -4059,8 +4059,8 @@ $lang = array (
|
||||
"srv_casi_po_vprasanjih_bloki" => "Časi po vprašanjih (Bloki)",
|
||||
"srv_frekvencna_porazdelitev" => "Frekvenčna porazdelitev trajanja",
|
||||
"srv_dejanski_casi" => "Dejanski časi trajanja (brez morebitnih testnih enot)",
|
||||
"srv_testni_nagovor" => "Predvideno število odgovorov po vprašanjih. V primeru več kategorij se odgovori porazdeljujejo enakomerno. <br /><br />Za številske spremenljivke se generira slučajna 4 mestna številka, v primeru besedila pa slučajno 10 mestno besedilo.",
|
||||
"srv_testni_nakonec" => "Statistično analizo testnih podatkov v analizah naredite tako, da v Statusih izberete Vse statuse oziroma status null.",
|
||||
"srv_testni_nagovor" => "Vnesite število avtomatskih vnosov, ki jih želite generirati. Za številske spremenljivke se generira slučajna 4-mestna številka, v primeru besedila pa slučajno 10-mestno besedilo. V primeru več kategorij se odgovori porazdeljujejo enakomerno.",
|
||||
"srv_testni_nakonec" => "Statistično analizo testnih podatkov v zavihku 'ANALIZE' naredite tako, da v Statusih izberete Vse statuse oziroma status null.",
|
||||
"srv_analiza_arhiv" => "Arhiv",
|
||||
"srv_analiza_arhiviraj" => "Arhiviraj",
|
||||
"srv_analiza_arhiviraj_ttl" => "Ustvari arhiv analize",
|
||||
|
@ -3997,10 +3997,10 @@ $lang = array (
|
||||
"srv_verjetnost_pojavitve" => "Probability of occurence",
|
||||
"srv_vnosi_no_entry" => "Survey currently has no entries!<br/>",
|
||||
"srv_vnosi_no_entry_filter" => "Entries does not meet the selected filter?<br/>",
|
||||
"srv_stevilo_vnosov" => "Add new test entries",
|
||||
"srv_stevilo_vnosov" => "Number of test entries",
|
||||
"srv_testni_samo_veljavni" => "Only valid answers",
|
||||
"srv_dodaj_vnose" => "Generate test responses",
|
||||
"srv_delete_testdata" => "Delete test entries",
|
||||
"srv_delete_testdata" => "Delete all test entries",
|
||||
"srv_delete_autogen_testdata" => "Delete auto generated data.",
|
||||
"srv_autogen_testni_podatki_alert" => "Some of test data is auto generated.",
|
||||
"srv_sklop_osnovna" => "Basic questions - categories",
|
||||
@ -4040,8 +4040,8 @@ $lang = array (
|
||||
"srv_casi_po_blokih_blok" => "Block",
|
||||
"srv_frekvencna_porazdelitev" => "Frequency distribution",
|
||||
"srv_dejanski_casi" => "Actual duration of survey",
|
||||
"srv_testni_nagovor" => "Expected number of answers per question. Test data are distributed evenly for questions with several answer categories. <br /><br />A random 4-digit variable is generated for numeric questions and random text with 10 characters is generated for text questions.",
|
||||
"srv_testni_nakonec" => "Statistical analysis on test data can be performed by setting the missing values status to null.",
|
||||
"srv_testni_nagovor" => "Enter the number of automatic entries you want to generate. For numeric variables, a random 4-digit number is generated, and in the case of text, a random 10-digit text is generated. In the case of multiple categories, the answers are distributed evenly.",
|
||||
"srv_testni_nakonec" => "Statistical analysis on test data can be performed in the 'ANALYSIS' tab by setting the missing values status to null.",
|
||||
"srv_analiza_arhiv" => "Archive", // ahrhiv analiz, meni
|
||||
"srv_analiza_arhiviraj" => "Archive",
|
||||
"srv_analiza_arhiviraj_ttl" => "Create analysis archive",
|
||||
|
@ -10773,6 +10773,43 @@ div.page_komentarji_anketa ul div.question_comment_holder div.question_comment d
|
||||
padding: 2px 0px 2px 0;
|
||||
}
|
||||
|
||||
div.subpage_testnipodatki fieldset fieldset:first-of-type {
|
||||
margin-top: 16px;
|
||||
}
|
||||
div.subpage_testnipodatki fieldset fieldset:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
div.subpage_testnipodatki fieldset fieldset table {
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
}
|
||||
div.subpage_testnipodatki fieldset fieldset table td.graph_cell {
|
||||
width: 100%;
|
||||
}
|
||||
div.subpage_testnipodatki fieldset fieldset table td.graph_cell div.graph_cell {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
}
|
||||
div.subpage_testnipodatki fieldset fieldset table td.graph_cell div.graph_cell .graph_full {
|
||||
background-color: #1E88E5;
|
||||
height: 16px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
div.subpage_testnipodatki fieldset div.setting_holder .max_wrap {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
}
|
||||
div.subpage_testnipodatki fieldset div.setting_holder .max_wrap input.text {
|
||||
width: 150px;
|
||||
height: 40px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
div.subpage_testnipodatki fieldset .button_holder {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
div.page_tema h2 {
|
||||
font-size: 24px;
|
||||
margin-top: 32px;
|
||||
|
@ -1,3 +1,4 @@
|
||||
@import "trajanje";
|
||||
@import "diagnostika";
|
||||
@import "komentarji";
|
||||
@import "komentarji";
|
||||
@import "testni_vnosi";
|
@ -0,0 +1,57 @@
|
||||
div.subpage_testnipodatki {
|
||||
|
||||
fieldset {
|
||||
fieldset {
|
||||
&:first-of-type {
|
||||
margin-top: 16px;
|
||||
}
|
||||
|
||||
&:last-of-type {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
table {
|
||||
width: 100%;
|
||||
white-space: nowrap;
|
||||
|
||||
td {
|
||||
|
||||
&.graph_cell {
|
||||
width: 100%;
|
||||
|
||||
div.graph_cell {
|
||||
|
||||
display:flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
|
||||
.graph_full {
|
||||
background-color: $blue;
|
||||
height: 16px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
div.setting_holder{
|
||||
|
||||
.max_wrap {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
input.text {
|
||||
width: 150px;
|
||||
height: 40px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.button_holder {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user