rejetto forum

Author Topic: A mobile phone and PAD template  (Read 22458 times)

Offline Mars

  • Operator
  • Tireless poster
  • *****
  • Posts: 2059
    • View Profile
Re: A mobile phone and PAD template
« on: April 22, 2014, 05:53:31 PM »
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

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>
« Last Edit: April 22, 2014, 05:57:37 PM by Mars »

Follow members gave a thank to your post:


Thank-o-Matic 3.0 By Adk Team