Mobile filter predlog pri ustvarjanju ankete iz predloge
This commit is contained in:
parent
52b6940f0b
commit
b32bd94f3f
@ -64,7 +64,7 @@ class NewSurvey{
|
||||
echo '<a href="'.$site_url.'admin/survey/index.php?a=ustvari_anketo&b=template" title="'.$lang['srv_newSurvey_survey_template2'].'"><span class="item '.($this->subpage == 'template' ? ' active' : '').'">'.$lang['srv_newSurvey_survey_template'].'</span></a>';
|
||||
|
||||
if($this->subpage == 'template'){
|
||||
echo '<ul>';
|
||||
echo '<ul class="template_type_menu">';
|
||||
for($i=0; $i<=10; $i++){
|
||||
echo '<li><a href="'.$site_url.'admin/survey/index.php?a=ustvari_anketo&b=template&c='.$i.'" title="'.$lang['srv_newSurvey_survey_template_cat'.$i].'"><span class="subitem '.($this->subpage == 'template' && $this->template_category == $i ? ' active' : '').'">'.$lang['srv_newSurvey_survey_template_cat'.$i].'</span></a></li>';
|
||||
}
|
||||
@ -341,6 +341,13 @@ class NewSurvey{
|
||||
echo '<div class="title">' . $lang['srv_newSurvey_survey_template_cat'.$this->template_category] . '</div>';
|
||||
|
||||
echo '<input type="hidden" name="noSurvey_template_id" id="noSurvey_template_id" value="">';
|
||||
|
||||
// Mobile dropdown za izbiro tipa predloge
|
||||
echo '<select class="template_type_menu" onchange="location.href=this.value;">';
|
||||
for($i=0; $i<=10; $i++){
|
||||
echo '<option value="'.$site_url.'admin/survey/index.php?a=ustvari_anketo&b=template&c='.$i.'" '.($this->subpage == 'template' && $this->template_category == $i ? ' selected="selected"' : '').'>'.$lang['srv_newSurvey_survey_template_cat'.$i].'</option>';
|
||||
}
|
||||
echo '</select>';
|
||||
|
||||
// Prikaz predlog
|
||||
foreach($this->templates as $template_id => $template_name){
|
||||
|
@ -11999,6 +11999,9 @@ and open the template in the editor.
|
||||
background-color: #ffdda1;
|
||||
border: none;
|
||||
}
|
||||
#new_anketa_div #right_content .noSurvey_template select.template_type_menu {
|
||||
display: none;
|
||||
}
|
||||
#new_anketa_div #right_content .anketa_from_text {
|
||||
height: auto;
|
||||
overflow: auto;
|
||||
@ -28947,6 +28950,19 @@ fieldset textarea {
|
||||
#new_anketa_div .fieldset.noSurvey_template .template .template_preview {
|
||||
margin-right: 10px !important;
|
||||
}
|
||||
#new_anketa_div #left_menu ul.template_type_menu {
|
||||
display: none;
|
||||
}
|
||||
#new_anketa_div select.template_type_menu {
|
||||
display: block !important;
|
||||
height: 40px;
|
||||
width: 100%;
|
||||
padding: 2px 5px;
|
||||
margin-bottom: 40px !important;
|
||||
font-size: 15px !important;
|
||||
border: 1px solid #c8e3f8 !important;
|
||||
border-radius: 1px;
|
||||
}
|
||||
|
||||
table.dashboard {
|
||||
border-spacing: 0px;
|
||||
|
@ -86,4 +86,22 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#left_menu ul.template_type_menu{
|
||||
display: none;
|
||||
}
|
||||
select.template_type_menu{
|
||||
display: block !important;
|
||||
|
||||
height: 40px;
|
||||
width: 100%;
|
||||
padding: 2px 5px;
|
||||
margin-bottom: 40px !important;
|
||||
|
||||
font-size: 15px !important;
|
||||
|
||||
border: 1px solid #c8e3f8 !important;
|
||||
border-radius: 1px;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -411,6 +411,10 @@ $skin_selector: $orange_very_lighten;
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
||||
select.template_type_menu{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
.anketa_from_text{
|
||||
|
Loading…
x
Reference in New Issue
Block a user