mirror of
https://github.com/simon987/sist2.git
synced 2025-04-19 10:16:42 +00:00
Code style
This commit is contained in:
parent
a8505cb8c1
commit
1ac8b40e3d
@ -95,7 +95,6 @@ typedef int (*read_func_t)(struct vfile *, void *buf, size_t size);
|
|||||||
typedef void (*close_func_t)(struct vfile *);
|
typedef void (*close_func_t)(struct vfile *);
|
||||||
|
|
||||||
typedef struct vfile {
|
typedef struct vfile {
|
||||||
|
|
||||||
union {
|
union {
|
||||||
int fd;
|
int fd;
|
||||||
struct archive *arc;
|
struct archive *arc;
|
||||||
|
@ -102,6 +102,7 @@ body {
|
|||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
border-left: none;
|
border-left: none;
|
||||||
border-right: none;
|
border-right: none;
|
||||||
|
padding: .25rem 0.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-group-item:first-child {
|
.list-group-item:first-child {
|
||||||
@ -199,7 +200,7 @@ body {
|
|||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
max-height: 175px;
|
max-height: 175px;
|
||||||
margin: 0 auto 0;
|
margin: 0 auto 0;
|
||||||
padding: 3px 3px 0 3px;
|
padding: 3px 3px 0;
|
||||||
width: auto;
|
width: auto;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
@ -208,7 +209,7 @@ body {
|
|||||||
display: block;
|
display: block;
|
||||||
max-width: 64px;
|
max-width: 64px;
|
||||||
max-height: 64px;
|
max-height: 64px;
|
||||||
margin: 0 auto 0;
|
margin: 0 auto;
|
||||||
width: auto;
|
width: auto;
|
||||||
height: auto;
|
height: auto;
|
||||||
}
|
}
|
||||||
@ -391,10 +392,6 @@ option {
|
|||||||
margin-top: 1em;
|
margin-top: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-group-item {
|
|
||||||
padding: .25rem 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.wrapper-sm {
|
.wrapper-sm {
|
||||||
min-width: 64px;
|
min-width: 64px;
|
||||||
}
|
}
|
||||||
|
@ -183,7 +183,7 @@ function infoButtonCb(hit) {
|
|||||||
"bitrate", "artist", "album", "album_artist", "genre", "title", "font_name", "tag"
|
"bitrate", "artist", "album", "album_artist", "genre", "title", "font_name", "tag"
|
||||||
]);
|
]);
|
||||||
Object.keys(doc)
|
Object.keys(doc)
|
||||||
.filter(key => key.startsWith("_keyword.") || key.startsWith("_text.") || displayFields.has(key) || key.startsWith("exif_"))
|
.filter(key => key.startsWith("_keyword.") || key.startsWith("_text.") || displayFields.has(key) || key.startsWith("exif_"))
|
||||||
.forEach(key => {
|
.forEach(key => {
|
||||||
tbody.append($("<tr>")
|
tbody.append($("<tr>")
|
||||||
.append($("<td>").text(key))
|
.append($("<td>").text(key))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user