[Redizajn 1KA] - Testiranje --> Diagnostika - v4
This commit is contained in:
parent
a0f75c2551
commit
b1fff94e45
@ -168,8 +168,11 @@ class SurveyDiagnostics
|
||||
|
||||
echo '<p class="bottom16">'.$lang['srv_diagnostika_testiranje_notea'].'<a href="index.php?anketa=' . $this->anketa . '&a=testiranje&m=testnipodatki">'.$lang['srv_diagnostika_testiranje_noteb'].'</a>'.$lang['srv_diagnostika_testiranje_notec'].'</p>';
|
||||
|
||||
echo '<div class="button_holder inline center bottom0">';
|
||||
echo '<span class="faicon link-chain link-right blue"></span><span class="italic">'.SurveyInfo::getSurveyLink().'&preview=on&testdata=on'.$preview_options.'</span>';
|
||||
echo '<div class="button_holder inline vertical_center bottom0">';
|
||||
echo '<div class="input_box">';
|
||||
echo '<span class="faicon link-chain link-right blue"></span><span class="italic"></span>';
|
||||
echo '<input type="text" value="'.SurveyInfo::getSurveyLink().'&preview=on&testdata=on'.$preview_options.'" readonly/>';
|
||||
echo '</div>';
|
||||
echo '<button type="button" class="medium blue" onclick="CopyToClipboard(\''.SurveyInfo::getSurveyLink().'&preview=on&testdata=on'.$preview_options.'\');" return false;">'.$lang['srv_diagnostika_testiranje_copy'].'</button>';
|
||||
echo '</div>';
|
||||
|
||||
|
@ -5520,3 +5520,12 @@ function popupClose(){
|
||||
$('#general_popup').fadeOut('slow').html('').attr('class', 'divPopUp');
|
||||
$('#fade').fadeOut('slow');
|
||||
}
|
||||
|
||||
function selectInputText() {
|
||||
var focusedElement;
|
||||
$(document).on('focus', 'input', function () {
|
||||
if (focusedElement == this) return;
|
||||
focusedElement = this;
|
||||
setTimeout(function () { focusedElement.select(); }, 100);
|
||||
});
|
||||
}
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -135,7 +135,7 @@ div.button_holder {
|
||||
&.inline {
|
||||
align-items: flex-end;
|
||||
|
||||
&.center {
|
||||
&.vertical_center {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
|
@ -71,6 +71,19 @@ div#srv_diagnostic {
|
||||
}
|
||||
|
||||
}
|
||||
div.input_box {
|
||||
border: 1px solid $dark-gray;
|
||||
width: 300px;
|
||||
padding: 10px 0 10px 8px;
|
||||
|
||||
input {
|
||||
border: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
font-size: 16px;
|
||||
width: 90%
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//OCENJEVANJE TRAJANJA, DEJANSKI ČASI
|
||||
|
Loading…
x
Reference in New Issue
Block a user