rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: hzplay on September 14, 2013, 09:47:27 PM

Title: A mobile phone and PAD template
Post by: hzplay on September 14, 2013, 09:47:27 PM
Sorry, I do not speak English, HFS great. :)
Title: Re: A mobile phone and PAD template
Post by: hzplay on September 14, 2013, 09:53:14 PM
printscreen
Title: Re: A mobile phone and PAD template
Post by: DSJ on September 29, 2013, 02:15:46 PM
That's really cool thanks for the post! :)!
Title: Re: A mobile phone and PAD template
Post by: gmchandio on March 30, 2014, 04:20:58 AM
it is great please send me template at email: gmchandio125@gmail.com

i am very thank full you
Title: Re: A mobile phone and PAD template
Post by: Louis on April 17, 2014, 01:00:51 PM
做的不错

文件夹显示不出来 :(



EDIT by Mars:

it is really important that you write your texts with the same language of previous posts in this topic.
Or else use the chinese board to post in a new topic.
Thanks
Title: Re: A mobile phone and PAD template
Post by: LeoNeeson on April 21, 2014, 05:42:09 AM
For which version was designed for? I've tried with the latest version (v2.3a Build 289) and it doesn't seems to work (it doesn't show up any files).
Any ideas?........
Title: Re: A mobile phone and PAD template
Post by: Mars on April 21, 2014, 08:41:21 PM
the template in zip is buged

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.}
%list%
[file]
                    <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>
[special]
                </ul>

            </div>
        </div>
    </div>
</body>
</html>
Title: Re: A mobile phone and PAD template
Post by: LeoNeeson on April 22, 2014, 02:30:31 AM
the template in zip is buged
Any fix? The code you posted is the same included in the zip.
Title: Re: A mobile phone and PAD template
Post by: Mars 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>
Title: Re: A mobile phone and PAD template
Post by: LeoNeeson on April 23, 2014, 04:20:59 AM
Now is working great! Thank you! :)

The next big thing would be make it use the default server's icons, instead of that "movie" icon. It's strange that all the files look like movies files. That would be just a nice enhancement... ;)
Title: Re: A mobile phone and PAD template
Post by: Mars on April 23, 2014, 08:51:43 PM
replace
 <img src="/layout/img/normal.png" alt=""/>
by
<img src="%item-icon%">
Title: Re: A mobile phone and PAD template
Post by: LeoNeeson on April 25, 2014, 03:36:44 AM
Great, thanks.... ;)

I've attached the original fixed template, and another modified by me (that I've cleaned it up a little, by removing some unused files). Thanks to Hzplay and Mars for sharing this.
Title: Re: A mobile phone and PAD template
Post by: coleman_lee on January 27, 2018, 03:42:31 AM
I can't download all the templates zip files, the web page shows "404 - Attachment Not Found", what is the reason.
How can i download the templates zip files?

--my web browser is Chrome.
Title: Re: A mobile phone and PAD template
Post by: bmartino1 on February 03, 2018, 01:45:27 PM
it is great please send me template at email: gmchandio125@gmail.com

i am very thank full you

post has download link: http://rejetto.com/forum/index.php?action=dlattach;topic=11178.0;attach=7508