the starting template is rather simplistic, and in addition was buggy
it is necessary to add the folder "layout" as a real folder in root of VFS and mark it as recursively hidden and browsable
it is necessary to add the folder "layout" as a real folder in root of VFS and mark it as recursively hidden and browsable
Code: [Select]
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="GB2312">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>media play</title>
<link rel="stylesheet" href="/layout/plugins/bootstrap/bootstrap.min.css" />
<link rel="stylesheet" href="/layout/index/index.css" />
</head>
<body>
<header>
<h1 class="text-center">media play</h1>
</header>
<div class="container"><div class="row"><div class="col-md-12">
<ul class="media-list">
%list%
</ul>
</div></div></div>
</body>
</html>
[file=folder=link]
<li class="media">
<div class="pull-left">
<img src="/layout/img/normal.png" alt=""/>
</div>
<div class="media-body">
<!-- ���� -->
<h4 class="media-heading"><a href="%item-url%">%item-name%</a></h4>
<!-- ���� -->
<p class="pull-left">%item-size%B</p>
<!-- ���� -->
<p class="pull-right">%item-modified%</p>
</div>
</li>