mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-01-07 01:55:34 +00:00
Started implementation
This commit is contained in:
@@ -428,6 +428,18 @@ footer{
|
||||
|
||||
/* global colors */
|
||||
|
||||
.modal-overlay {
|
||||
z-index: 999999 !important;
|
||||
}
|
||||
|
||||
.modal {
|
||||
z-index: 9999999999 !important;
|
||||
}
|
||||
|
||||
#user_password {
|
||||
width: 50% !important;
|
||||
}
|
||||
|
||||
.modal-header-fixed{
|
||||
position:fixed;
|
||||
width:100px;
|
||||
|
||||
2
server/public/assets/dist/main.min.js
vendored
2
server/public/assets/dist/main.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -177,6 +177,9 @@ function init(){
|
||||
$("#help").modal();
|
||||
$("#contact").modal();
|
||||
$("#embed").modal();
|
||||
$("#user_password").modal({
|
||||
dismissible: false
|
||||
});
|
||||
|
||||
spotify_is_authenticated(spotify_authenticated);
|
||||
|
||||
@@ -951,9 +954,27 @@ $(document).on("click", ".modal-close", function(e){
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
$(document).on("change", ".password_protected", function(e) {
|
||||
e.preventDefault();
|
||||
if(this.checked) {
|
||||
//alert("kwek");
|
||||
$("#user_password").modal('open');
|
||||
}
|
||||
});
|
||||
|
||||
$(document).on("click", ".submit-user-password", function(e) {
|
||||
e.preventDefault();
|
||||
$("#user_password").modal('close');
|
||||
console.log($("#user-pass-input").val());
|
||||
})
|
||||
|
||||
$(document).on("click", ".close-user-password", function() {
|
||||
$(".password_protected").prop("checked", false);
|
||||
});
|
||||
|
||||
$(document).on("click", ".not-exported-container .not-exported-element #extra-export-container-text .extra-add-text", function(){
|
||||
this.select();
|
||||
})
|
||||
});
|
||||
|
||||
$(document).on("click", ".next_page", function(e){
|
||||
e.preventDefault();
|
||||
|
||||
Reference in New Issue
Block a user