|
@@ -82,7 +82,7 @@ panel.getUploads = function(){
|
|
|
|
|
|
var container = document.createElement('div');
|
|
var container = document.createElement('div');
|
|
container.innerHTML = `
|
|
container.innerHTML = `
|
|
- <table class="table">
|
|
|
|
|
|
+ <table class="table is-striped is-narrow">
|
|
<thead>
|
|
<thead>
|
|
<tr>
|
|
<tr>
|
|
<th>File</th>
|
|
<th>File</th>
|
|
@@ -104,7 +104,7 @@ panel.getUploads = function(){
|
|
<tr>
|
|
<tr>
|
|
<th><a href="${item.file}" target="_blank">${item.file}</a></th>
|
|
<th><a href="${item.file}" target="_blank">${item.file}</a></th>
|
|
<th>${item.album}</th>
|
|
<th>${item.album}</th>
|
|
- <td>${item.timestamp}</td>
|
|
|
|
|
|
+ <td>${item.date}</td>
|
|
</tr>
|
|
</tr>
|
|
`;
|
|
`;
|
|
|
|
|
|
@@ -134,7 +134,7 @@ panel.getAlbums = function(){
|
|
|
|
|
|
<h2 class="subtitle">List of albums</h2>
|
|
<h2 class="subtitle">List of albums</h2>
|
|
|
|
|
|
- <table class="table">
|
|
|
|
|
|
+ <table class="table is-striped is-narrow">
|
|
<thead>
|
|
<thead>
|
|
<tr>
|
|
<tr>
|
|
<th>Name</th>
|
|
<th>Name</th>
|
|
@@ -167,7 +167,7 @@ panel.getAlbums = function(){
|
|
<tr>
|
|
<tr>
|
|
<th>${item.name}</th>
|
|
<th>${item.name}</th>
|
|
<th>${item.files}</th>
|
|
<th>${item.files}</th>
|
|
- <td>${item.timestamp}</td>
|
|
|
|
|
|
+ <td>${item.date}</td>
|
|
</tr>
|
|
</tr>
|
|
`;
|
|
`;
|
|
|
|
|
|
@@ -231,7 +231,7 @@ panel.getAlbumsSidebar = function(){
|
|
|
|
|
|
var albumsContainer = document.getElementById('albumsContainer');
|
|
var albumsContainer = document.getElementById('albumsContainer');
|
|
albumsContainer.innerHTML = '';
|
|
albumsContainer.innerHTML = '';
|
|
-
|
|
|
|
|
|
+
|
|
if(json.albums === undefined) return;
|
|
if(json.albums === undefined) return;
|
|
|
|
|
|
for(var album of json.albums){
|
|
for(var album of json.albums){
|