#435 Started the wizard

This commit is contained in:
Jamie.Rees 2017-01-30 08:55:13 +00:00
commit 1f4ece8b5b
14 changed files with 231 additions and 26 deletions

View file

@ -517,3 +517,11 @@ label {
background-color: #3e3e3e;
border: 1px solid transparent; }
.wizard-heading {
text-align: center; }
.wizard-img {
width: 300px;
display: block !important;
margin: 0 auto !important; }

File diff suppressed because one or more lines are too long

View file

@ -641,4 +641,13 @@ $border-radius: 10px;
margin-bottom: -1px;
background-color: #3e3e3e;
border: 1px solid transparent;
}
.wizard-heading{
text-align: center;
}
.wizard-img{
width: 300px;
display: block $i;
margin: 0 auto $i;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 26 KiB

Before After
Before After

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View file

@ -3,9 +3,39 @@
// Step 1
$('#firstNext')
.click(function () {
loadArea("plexAuthArea");
loadArea("mediaApplicationChoice");
});
// Plex click
$('#contentBody')
.on("click", "#plexImg", function(e) {
e.preventDefault();
return loadArea("plexAuthArea");
});
$('#contentBody')
.on("click", "#embyImg", function (e) {
e.preventDefault();
return loadArea("embyApiKey");
});
$('#contentBody').on('click', '#embyApiKeySave', function (e) {
e.preventDefault();
var $form = $("#embyAuthForm");
$.post($form.prop("action"), $form.serialize(), function (response) {
if (response.result === true) {
loadArea("authArea");
} else {
generateNotify(response.message, "warning");
}
});
});
// Step 2 - Get the auth token
$('#contentBody').on('click', '#requestToken', function (e) {
e.preventDefault();