asiaH8/modules/faq/faq_index2.html.erb

31 lines
985 B
Plaintext
Raw Normal View History

2021-05-03 02:11:08 +00:00
<div class="index-faqs index2">
2022-02-09 02:23:52 +00:00
<h3 class="index-title">
2021-05-03 02:11:08 +00:00
<span>{{page-title}}</span>
2022-02-09 02:23:52 +00:00
</h3>
2021-05-03 02:11:08 +00:00
<ul class="list-unstyled" data-list="faqs" data-level="0">
<li class="index-content">
2022-02-09 02:23:52 +00:00
<h4 class="index-content-title-wrap">
2021-05-03 02:11:08 +00:00
<span class="index-content-title">{{question}}</span>
<span data-list="statuses" data-level="1">
<span class="label status {{status-class}}">{{status}}</span>
</span>
</h4>
2022-02-09 02:23:52 +00:00
<section class="post">
<p>{{answer}}</p>
<div data-list="qa_files" data-level="1"><div><a href="{{file_url}}" target="_blank">{{file_title}}</a></div></div>
</section>
2021-05-03 02:11:08 +00:00
</li>
</ul>
</div>
{{pagination_goes_here}}
<script>
2022-02-09 02:23:52 +00:00
$('.index-faqs.index2 .index-content .index-content-title-wrap').click(function(){
2021-05-03 02:11:08 +00:00
$('section.post').slideUp(200);
$(this).removeClass('open');
if($("+section",this).css("display")=="none"){
$("+section",this).slideDown(300);
$(this).addClass("open");
}
})
</script>