Updated dashboard

Added ID column to albums list (https://the.fiery.me/HtUb.png).
This info may be useful if you want to use something like my fork of uguush (https://github.com/BobbyWibowo/uguush/tree/lolisafe-kde), because to associated uploads into an album, you will have to specify its numerical ID.
This commit is contained in:
Bobby Wibowo 2018-04-12 19:15:25 +07:00
parent 8af32c457f
commit 4a7b407ccd
No known key found for this signature in database
GPG Key ID: 51C3A1E1E22D26CF
2 changed files with 3 additions and 1 deletions

View File

@ -17,7 +17,7 @@
<script type="text/javascript" src="libs/sweetalert/sweetalert.min.js?v=vvtL7Y3cjD"></script>
<script type="text/javascript" src="libs/axios/axios.min.js?v=vvtL7Y3cjD"></script>
<script type="text/javascript" src="libs/clipboard.js/clipboard.min.js?v=vvtL7Y3cjD"></script>
<script type="text/javascript" src="js/dashboard.js?v=UgnivvrH1d"></script>
<script type="text/javascript" src="js/dashboard.js?v=cjjyPrikAR"></script>
<!-- Open Graph tags -->
<meta property="og:type" content="website" />

View File

@ -667,6 +667,7 @@ panel.getAlbums = () => {
<table class="table is-fullwidth is-hoverable">
<thead>
<tr>
<th>ID</th>
<th>Name</th>
<th>Files</th>
<th>Created at</th>
@ -686,6 +687,7 @@ panel.getAlbums = () => {
const tr = document.createElement('tr')
tr.innerHTML = `
<tr>
<th>${album.id}</th>
<th>${album.name}</th>
<th>${album.files}</th>
<td>${album.date}</td>