pesky changing ids bug squashed & added js libraries
Now that the bug is squashed, I no longer need to pin acid-state to a specific version (I previously thought it was a bad version, it was actually storing the StdGen in the DB). Also you can now get a ballot (though not submit it).
This commit is contained in:
parent
0e7f25e617
commit
eb50e5e5a0
9 changed files with 104 additions and 44 deletions
2
public/static/Sortable.min.js
vendored
Normal file
2
public/static/Sortable.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
10
public/static/script.js
Normal file
10
public/static/script.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
htmx.onLoad(function(content) {
|
||||
var sortables = content.querySelectorAll(".sortable");
|
||||
for (var i = 0; i < sortables.length; i++) {
|
||||
var sortable = sortables[i];
|
||||
new Sortable(sortable, {
|
||||
animation: 150,
|
||||
ghostClass: 'blue-background-class'
|
||||
});
|
||||
}
|
||||
})
|
||||
|
|
@ -5,7 +5,7 @@ body
|
|||
align-items: center;
|
||||
}
|
||||
|
||||
#inputs, #options-create
|
||||
#inputs, .options
|
||||
{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
|
@ -13,13 +13,19 @@ body
|
|||
gap: 10px;
|
||||
}
|
||||
|
||||
.options
|
||||
{
|
||||
padding: 10px
|
||||
}
|
||||
|
||||
#permenant-input
|
||||
{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
#options-create > * {
|
||||
.options > * {
|
||||
flex-direction: row;
|
||||
display: flex;
|
||||
background-color: white;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue