mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
Added html/image for folder support
This commit is contained in:
parent
545652722e
commit
576b0037ff
4 changed files with 23 additions and 2 deletions
|
@ -301,6 +301,13 @@
|
|||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.folder-icon {
|
||||
background: url(../img/folder.png) no-repeat 0px 0px;
|
||||
width: 95px;
|
||||
height: 65px;
|
||||
display: block;
|
||||
padding-top: 35px;
|
||||
}
|
||||
.overlay a {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
|
|
|
@ -1545,6 +1545,14 @@ a {
|
|||
margin-left: auto;
|
||||
margin-right: auto; }
|
||||
|
||||
.folder-icon {
|
||||
background: url(../img/folder.png) no-repeat 0px 0px;
|
||||
width: 95px;
|
||||
height: 65px;
|
||||
display: block;
|
||||
padding-top: 35px;
|
||||
font-size: 14px; }
|
||||
|
||||
.overlay a {
|
||||
color: white;
|
||||
text-decoration: none;
|
||||
|
|
BIN
public/assets/img/folder.png
Normal file
BIN
public/assets/img/folder.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2 KiB |
|
@ -88,10 +88,10 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="breadcrumbs">My Files</div> <!-- Should be Home when Folders are implemented -->
|
||||
<div class="breadcrumbs">Home</div>
|
||||
<div class="actions">
|
||||
<a href="/site_files/new_page" class="btn-Action new-Page"><span>New Page</span></a>
|
||||
<!--<a href="" class="btn-Action new-Folder"><span>New Folder</span></a>-->
|
||||
<a href="" class="btn-Action new-Folder"><span>New Folder</span></a>
|
||||
<a href="#" class="btn-Action upload" onclick="clickUploadFiles(); return false"><span>Upload</span></a>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -112,6 +112,12 @@
|
|||
<img src="<%= current_site.thumbnail_url(file.filename, '105x63') %>" style="">
|
||||
<div class="overlay"></div>
|
||||
</div>
|
||||
<!-- if folder
|
||||
<div class="html-thumbnail folder fileimagehover">
|
||||
<div class="folder-icon"></div>
|
||||
<div class="overlay"></div>
|
||||
</div>
|
||||
-->
|
||||
<% else %>
|
||||
<div class="html-thumbnail misc fileimagehover">
|
||||
<div class="misc-icon"><%= file.ext %></div>
|
||||
|
|
Loading…
Add table
Reference in a new issue