Files
phachon--mm-wiki/views/main/index.html
T
wehub-resource-sync a21fa4e11b
Go / Build (push) Failing after 1s
chore: import upstream snapshot with attribution
2026-07-13 12:30:21 +08:00

31 lines
1.6 KiB
Go

<div id="main-left" class="ui-layout-west">
<div class="left-collection">{{$documents := .documents}}{{$count := .count}}
<div class="collection-search">
<form action="#" onsubmit="return false">
<div class="form-group has-feedback">
<i class="glyphicon glyphicon-search form-control-feedback" style="line-height: 32px;"></i>
<input class="form-control input-sm" id="collect_doc_search" type="text" value="" placeholder="搜索收藏文档..." style="padding-right: 28px;">
</div>
</form>
</div>
<div class="collection-doc">
<h3 class="text-left"> 收藏文档 <span class="badge">{{$count}}</span> </h3>
<hr>
<ul id="collection_documents">
{{range $document := $documents}}
{{if eq $document.type "1"}}
<li><a href="/document/index?document_id={{$document.document_id}}"><i class="fa fa-file-word-o"></i> <span>{{$document.name}}</span></a></li>
{{else}}
<li><a href="/document/index?document_id={{$document.document_id}}"><i class="fa fa-folder-o"></i> <span>{{$document.name}}</span></a></li>
{{end}}
{{end}}
</ul>
</div>
</div>
</div>
<script type="text/javascript">
$(function () {
Main.Search("#collect_doc_search");
})
</script>
<iframe class="ui-layout-center" id="mainFrame" name="mainFrame" width="100%" frameborder="0" scrolling="yes" style="overflow-y: auto" src="/main/default"></iframe>