소스 검색

add pages display

master
Pascal Gloor 7 년 전
부모
커밋
593eba62af
2개의 변경된 파일과 11개의 추가작업 그리고 1개의 파일을 삭제
  1. 7
    1
      www/index.html
  2. 4
    0
      www/js/autodoc.js

+ 7
- 1
www/index.html 파일 보기

<img class="autodoc_template_home_img img-thumbnail rounded" src="" /> <img class="autodoc_template_home_img img-thumbnail rounded" src="" />
</td> </td>
</tr> </tr>
<tr>
<td class="text-left">Pages:</td>
<td class="text-right">
<span class="autodoc_template_home_pages">undefined</span>
</td>
</tr>
<tr> <tr>
<td class="text-left">Owner:</td> <td class="text-left">Owner:</td>
<td class="text-right"> <td class="text-right">
<script src="js/autodoc.js"></script> <script src="js/autodoc.js"></script>
</body> </body>


</html>
</html>

+ 4
- 0
www/js/autodoc.js 파일 보기

.find(".autodoc_template_home_name") .find(".autodoc_template_home_name")
.html(doc.name); .html(doc.name);


$(col)
.find(".autodoc_template_home_pages")
.html(doc.pages.length);

$.each(doc.tags, function (id, tag) { $.each(doc.tags, function (id, tag) {
$(col) $(col)
.find(".autodoc_template_home_tag") .find(".autodoc_template_home_tag")

Loading…
취소
저장