update template

This commit is contained in:
rulingcom 2022-02-09 02:23:50 +00:00
parent 7bc57828be
commit 82f82b4838
1 changed files with 8 additions and 8 deletions

View File

@ -1,26 +1,26 @@
<div class="index-faqs index2">
<h1 class="index-title">
<h3 class="index-title">
<span>{{page-title}}</span>
</h1>
</h3>
<ul class="list-unstyled" data-list="faqs" data-level="0">
<li class="index-content">
<h4>
<h4 class="index-content-title-wrap">
<span class="index-content-title">{{question}}</span>
<span data-list="statuses" data-level="1">
<span class="label status {{status-class}}">{{status}}</span>
</span>
</h4>
<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>
<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>
</li>
</ul>
</div>
{{pagination_goes_here}}
<script>
$('.index-faqs.index2 .index-content h4').click(function(){
$('.index-faqs.index2 .index-content .index-content-title-wrap').click(function(){
$('section.post').slideUp(200);
$(this).removeClass('open');
if($("+section",this).css("display")=="none"){