src/de/uhilger/mediaz/api/ListFileHandler.java | ●●●●● patch | view | raw | blame | history | |
src/de/uhilger/mediaz/store/StorageFile.java | ●●●●● patch | view | raw | blame | history | |
www/ui/app.css | ●●●●● patch | view | raw | blame | history | |
www/ui/data/tpl/katalog_root_liste.tpl | ●●●●● patch | view | raw | blame | history |
src/de/uhilger/mediaz/api/ListFileHandler.java
@@ -29,9 +29,7 @@ import java.io.IOException; import java.io.OutputStream; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.logging.Level; import java.util.logging.Logger; src/de/uhilger/mediaz/store/StorageFile.java
@@ -1,7 +1,19 @@ /* * To change this license header, choose License Headers in Project Properties. * To change this template file, choose Tools | Templates * and open the template in the editor. Mediazentrale - Personal Media Center Copyright (C) 2021 Ulrich Hilger This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see <https://www.gnu.org/licenses/>. */ package de.uhilger.mediaz.store; @@ -15,6 +27,7 @@ public static final String TYP_FILE = "file"; public static final String TYP_AUDIO = "audio"; public static final String TYP_VIDEO = "video"; public static final String TYP_KATALOG = "katalog"; private String name; private String typ; www/ui/app.css
@@ -193,6 +193,12 @@ padding-right: 0.3rem; } .entity-typ-katalog:before { font-family: "pikto"; content: '\f1c0'; /* icon-database */ padding-right: 0.3rem; } .form-button-footer { display: flex; flex-flow: row; www/ui/data/tpl/katalog_root_liste.tpl
@@ -6,7 +6,7 @@ </div> <ul class='entity-liste'> {{#ArrayList}} <li class='entity-eintrag'>{{.}}</li> <li class='entity-eintrag entity-typ-katalog'>{{.}}</li> {{/ArrayList}} </ul> </div>