Compare commits

...

2 Commits

Author SHA1 Message Date
DebaucheryLibrarian 4429169166 1.227.1 2023-06-08 02:36:50 +02:00
DebaucheryLibrarian 3dbb74a1dc Added alert transfer tools. Removed stash and alert add-tiles in favor of more prominent heading buttons. 2023-06-08 02:36:47 +02:00
6 changed files with 39 additions and 20 deletions

1
.gitignore vendored
View File

@ -12,6 +12,7 @@ assets/js/config/
!assets/js/config/default.js
/export*
/stashes*
/alerts*
*.heapprofile
*.heapsnapshot
.vscode

View File

@ -14,11 +14,13 @@
<div class="section-header">
<h3 class="section-heading">Stashes</h3>
<Icon
icon="plus3"
class="header-add"
<button
v-if="isMe"
class="button button-secondary header-add"
@click="showAddStash = true"
/>
>
<Icon icon="plus3" />Add stash
</button>
</div>
<ul class="section-body stashes nolist">
@ -35,6 +37,7 @@
/>
</li>
<!--
<li
v-if="isMe"
class="stashes-stash stashes-add"
@ -42,6 +45,7 @@
>
<Icon icon="plus2" />
</li>
-->
</ul>
<AddStash
@ -54,11 +58,13 @@
<div class="section-header">
<h3 class="section-heading">Alerts</h3>
<Icon
icon="plus3"
class="header-add"
<button
v-if="isMe"
class="button button-secondary header-add"
@click="showAddAlert = true"
/>
>
<Icon icon="plus3" />Set alert
</button>
</div>
<ul class="section-body alerts nolist">
@ -74,12 +80,14 @@
/>
</li>
<!--
<li
class="alerts-add"
@click="showAddAlert = true"
>
<Icon icon="plus2" />
</li>
-->
</ul>
<AddAlert
@ -186,7 +194,7 @@ export default {
display: flex;
justify-content: space-between;
align-items: center;
margin: 0 0 1rem 0;
margin: 0 1rem 1rem 0;
}
.section-body {
@ -201,14 +209,6 @@ export default {
}
.header-add {
height: auto;
padding: .5rem 1rem;
fill: var(--shadow);
&:hover {
fill: var(--primary);
cursor: pointer;
}
}
.stashes-stash {

View File

@ -26,6 +26,8 @@
}
.button {
display: inline-flex;
align-items: center;
border: none;
background: none;
padding: .5rem;
@ -49,6 +51,11 @@
background: var(--shadow-weak);
cursor: default;
}
.icon {
fill: var(--text-light);
margin-right: .5rem;
}
}
.button-secondary {
@ -57,12 +64,21 @@
&:hover:not(:disabled) {
color: var(--text-light);
background: var(--primary);
.icon {
fill: var(--text-light);
}
}
&:disabled {
color: var(--shadow-strong);
cursor: default;
}
.icon {
fill: var(--primary);
margin-right: .5rem;
}
}
.album-toggle {

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "traxxx",
"version": "1.227.0",
"version": "1.227.1",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "traxxx",
"version": "1.227.0",
"version": "1.227.1",
"license": "ISC",
"dependencies": {
"@casl/ability": "^5.2.2",

View File

@ -1,6 +1,6 @@
{
"name": "traxxx",
"version": "1.227.0",
"version": "1.227.1",
"description": "All the latest porn releases in one place",
"main": "src/app.js",
"scripts": {

View File

@ -1,3 +1,5 @@
'use strict';
const fs = require('fs');
const knex = require('../knex');
const args = require('../argv');