mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-01 18:57:24 +00:00
Adds unlit color to hidden file system browser dialog elements.
This commit is contained in:
1 parent
3f7cc2c60f
commit
b46dce745b
58 files changed
+855
-360
No files matched your search
@@ -32,14 +32,16 @@ GET api/v1/directories/get-directories?path=C%3A%5CUsers%5C&shouldIncludeHiddenE
|
||||
"path": "/media/movies/The Matrix (1999)/",
|
||||
"name": "The Matrix",
|
||||
"dateCreated": "2025-01-01T13:50:38.3183787Z",
|
||||
"dateModified": "2025-01-01T13:40:38.3183791Z"
|
||||
"dateModified": "2025-01-01T13:40:38.3183791Z",
|
||||
"isHidden": false
|
||||
},
|
||||
{
|
||||
"items": [],
|
||||
"path": "/media/movies/The Lord of the Rings - The Fellowship of the Ring (2001)/",
|
||||
"name": "The Lord of the Rings - The Fellowship of the Ring (2001)",
|
||||
"dateCreated": "2025-01-01T13:50:38.3184681Z",
|
||||
"dateModified": "2025-01-01T13:40:38.3184683Z"
|
||||
"dateModified": "2025-01-01T13:40:38.3184683Z",
|
||||
"isHidden": false
|
||||
}
|
||||
]
|
||||
```
|
||||
@@ -31,6 +31,7 @@ GET api/v1/drives/get-drives
|
||||
"path": "C:\\",
|
||||
"name": "C:\\",
|
||||
"itemType": "Root",
|
||||
"isHidden": false,
|
||||
"isExpanded": false,
|
||||
"childrenLoaded": false,
|
||||
"children": []
|
||||
@@ -39,6 +40,7 @@ GET api/v1/drives/get-drives
|
||||
"path": "D:\\",
|
||||
"name": "D:\\",
|
||||
"itemType": "Root",
|
||||
"isHidden": false,
|
||||
"isExpanded": false,
|
||||
"childrenLoaded": false,
|
||||
"children": []
|
||||
|
||||
@@ -35,14 +35,16 @@ GET api/v1/files/get-files?path=C%3A%5CUsers%5C&shouldIncludeHiddenElements=true
|
||||
"path": "/media/movies/The Matrix (1999)/The Matrix.mkv",
|
||||
"name": "The Matrix.mkv",
|
||||
"dateCreated": "2025-01-01T13:50:38.3143711Z",
|
||||
"dateModified": "2025-01-01T13:40:38.3143719Z"
|
||||
"dateModified": "2025-01-01T13:40:38.3143719Z",
|
||||
"isHidden": false
|
||||
},
|
||||
{
|
||||
"size": 6897,
|
||||
"path": "/media/movies/The Matrix (1999)/The Matrix.en.srt",
|
||||
"name": "The Matrix.en.srt",
|
||||
"dateCreated": "2025-01-01T13:50:38.3145606Z",
|
||||
"dateModified": "2025-01-01T13:40:38.3145609Z"
|
||||
"dateModified": "2025-01-01T13:40:38.3145609Z",
|
||||
"isHidden": false
|
||||
}
|
||||
]
|
||||
```
|
||||
@@ -67,6 +69,7 @@ GET api/v1/files/get-tree-files?path=C%3A%5CUsers%5C&shouldIncludeHiddenElements
|
||||
"path": "/media/movies/The Matrix (1999)/The Matrix.mkv",
|
||||
"name": "The Matrix.mkv",
|
||||
"itemType": "File",
|
||||
"isHidden": false,
|
||||
"isExpanded": false,
|
||||
"childrenLoaded": false,
|
||||
"children": []
|
||||
@@ -75,6 +78,7 @@ GET api/v1/files/get-tree-files?path=C%3A%5CUsers%5C&shouldIncludeHiddenElements
|
||||
"path": "/media/movies/The Matrix (1999)/The Matrix.en.srt",
|
||||
"name": "The Matrix.en.srt",
|
||||
"itemType": "File",
|
||||
"isHidden": false,
|
||||
"isExpanded": false,
|
||||
"childrenLoaded": false,
|
||||
"children": []
|
||||
@@ -83,6 +87,7 @@ GET api/v1/files/get-tree-files?path=C%3A%5CUsers%5C&shouldIncludeHiddenElements
|
||||
"path": "/media/movies/The Matrix (1999)/poster.jpg",
|
||||
"name": "poster.jpg",
|
||||
"itemType": "File",
|
||||
"isHidden": false,
|
||||
"isExpanded": false,
|
||||
"childrenLoaded": false,
|
||||
"children": []
|
||||
|
||||
@@ -86,7 +86,7 @@ The manifest is a JSON object describing the theme. The example below is the man
|
||||
"name": "Editorial Paper",
|
||||
"description": "A clean, readable proof of concept theme.",
|
||||
"author": "Lumina",
|
||||
"version": "1.4.0",
|
||||
"version": "1.5.61",
|
||||
"preview": "assets/preview.svg",
|
||||
"templates": {
|
||||
"default": "templates/index.html"
|
||||
@@ -511,8 +511,8 @@ The sub templates are rendered client side by the application script for each dy
|
||||
|
||||
| Template | Fields |
|
||||
| --- | --- |
|
||||
| `tree-node` | `path`, `name`, `itemType` (`Root`, `Directory` or `File`), `isRoot`, `isDirectory`, `isFile`, `isExpanded` and `icon`. The node must keep the `.tree-node` root with its `data-path`, the `.node-content`, `.expand-button` (or `.spacer` for files), `.node-icon` and `.node-name` elements, and the `.child-nodes` container. |
|
||||
| `explorer-item` | `path`, `name`, `itemType` (`Directory` or `File`), `isDirectory`, `isFile`, `cssClass` (the active view mode, such as `large-icons`) and `iconUrl`. The item must keep the `.e` root with its `data-path` and `data-type`, and an `<img>` element, which the script replaces with thumbnails for image files. |
|
||||
| `tree-node` | `path`, `name`, `itemType` (`Root`, `Directory` or `File`), `isRoot`, `isDirectory`, `isFile`, `isHidden`, `isExpanded` and `icon`. The node must keep the `.tree-node` root with its `data-path`, the `.node-content`, `.expand-button` (or `.spacer` for files), `.node-icon` and `.node-name` elements, and the `.child-nodes` container. When `isHidden` is true the application also adds the `is-hidden` class to the root, so a theme can dim hidden nodes. |
|
||||
| `explorer-item` | `path`, `name`, `itemType` (`Directory` or `File`), `isDirectory`, `isFile`, `isHidden`, `cssClass` (the active view mode, such as `large-icons`) and `iconUrl`. The item must keep the `.e` root with its `data-path` and `data-type`, and an `<img>` element, which the script replaces with thumbnails for image files. When `isHidden` is true the application also adds the `is-hidden` class to the root, so a theme can dim hidden items. |
|
||||
| `path-segment` | `id`, `path` (the segment name), `dataPath` (the full path up to and including the segment), `toggleId` and `dropdownId`. The segment must keep the combobox structure with its `.navigator-combobox` (`data-path`), `.navigator-toggle-checkbox`, `.navigator-selected-text`, `.navigator-arrow` and `.navigator-dropdown` elements. |
|
||||
|
||||
#### The file icons mapping (assets/file-icons.json)
|
||||
|
||||
Reference in new issue
Block a user