mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
fix forgot password page
This commit is contained in:
parent
7ee6317dae
commit
c86543dc59
5 changed files with 26 additions and 31 deletions
|
@ -42,7 +42,7 @@
|
||||||
"tag": "v1.0.3",
|
"tag": "v1.0.3",
|
||||||
"commit": "90b54de14264c19693601b9fc16af6b68a9d48e4"
|
"commit": "90b54de14264c19693601b9fc16af6b68a9d48e4"
|
||||||
},
|
},
|
||||||
"_source": "git://github.com/PolymerElements/paper-behaviors.git",
|
"_source": "git://github.com/polymerelements/paper-behaviors.git",
|
||||||
"_target": "^1.0.0",
|
"_target": "^1.0.0",
|
||||||
"_originalSource": "PolymerElements/paper-behaviors"
|
"_originalSource": "polymerelements/paper-behaviors"
|
||||||
}
|
}
|
|
@ -14,24 +14,19 @@
|
||||||
<h1>${HeaderForgotPassword}</h1>
|
<h1>${HeaderForgotPassword}</h1>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<label for="txtName" style="text-align: left;">${LabelUser}</label>
|
<paper-input type="text" id="txtName" label="${LabelUser}" autocomplete="off"></paper-input>
|
||||||
<input type="text" id="txtName" />
|
|
||||||
<div class="fieldDescription">${LabelForgotPasswordUsernameHelp}</div>
|
<div class="fieldDescription">${LabelForgotPasswordUsernameHelp}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<p>
|
<div>
|
||||||
<button type="submit" data-icon="check">
|
<button type="submit" data-role="none" class="clearButton">
|
||||||
${ButtonSubmit}
|
<paper-button raised class="submit block"><iron-icon icon="check"></iron-icon><span>${ButtonSubmit}</span></paper-button>
|
||||||
</button>
|
</button>
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
<paper-button raised class="cancel block btnCancel" onclick="history.back();"><iron-icon icon="close"></iron-icon><span>${ButtonCancel}</span></paper-button>
|
||||||
<a data-role="button" data-icon="delete" href="login.html">
|
</div>
|
||||||
${ButtonCancel}
|
|
||||||
</a>
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
|
@ -13,22 +13,19 @@
|
||||||
<div style="text-align: left;">
|
<div style="text-align: left;">
|
||||||
<h2>${HeaderPasswordReset}</h2>
|
<h2>${HeaderPasswordReset}</h2>
|
||||||
|
|
||||||
<label for="txtPin" style="text-align: left;">${LabelPasswordRecoveryPinCode}</label>
|
<div>
|
||||||
<input type="text" id="txtPin" required="required" />
|
<paper-input type="text" id="txtPin" label="${LabelPasswordRecoveryPinCode}" autocomplete="off" required="required"></paper-input>
|
||||||
|
</div>
|
||||||
|
|
||||||
<br />
|
<br />
|
||||||
|
|
||||||
<p>
|
<div>
|
||||||
<button type="submit" data-icon="check">
|
<button type="submit" data-role="none" class="clearButton">
|
||||||
${ButtonSubmit}
|
<paper-button raised class="submit block"><iron-icon icon="check"></iron-icon><span>${ButtonSubmit}</span></paper-button>
|
||||||
</button>
|
</button>
|
||||||
</p>
|
|
||||||
|
|
||||||
<p>
|
<paper-button raised class="cancel block btnCancel" onclick="history.back();"><iron-icon icon="close"></iron-icon><span>${ButtonCancel}</span></paper-button>
|
||||||
<a data-role="button" data-icon="delete" href="login.html">
|
</div>
|
||||||
${ButtonCancel}
|
|
||||||
</a>
|
|
||||||
</p>
|
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
|
@ -51,8 +51,11 @@
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$(document).on('pageinit', '#forgotPasswordPinPage', function () {
|
$(document).on('pageinit', '.forgotPasswordPinPage', function () {
|
||||||
$('.forgotPasswordPinForm').off('submit', onSubmit).on('submit', onSubmit);
|
|
||||||
|
var page = this;
|
||||||
|
|
||||||
|
$('form', page).off('submit', onSubmit).on('submit', onSubmit);
|
||||||
});
|
});
|
||||||
|
|
||||||
})(window);
|
})(window);
|
|
@ -1776,10 +1776,10 @@
|
||||||
renderCriticReviews(page, currentItem);
|
renderCriticReviews(page, currentItem);
|
||||||
});
|
});
|
||||||
|
|
||||||
var btnMore = page.querySelectorAll('.btnMoreCommands iron-icon');
|
//var btnMore = page.querySelectorAll('.btnMoreCommands iron-icon');
|
||||||
for (var i = 0, length = btnMore.length; i < length; i++) {
|
//for (var i = 0, length = btnMore.length; i < length; i++) {
|
||||||
btnMore[i].icon = AppInfo.moreIcon;
|
// btnMore[i].icon = AppInfo.moreIcon;
|
||||||
}
|
//}
|
||||||
|
|
||||||
}).on('pagebeforeshow', "#itemDetailPage", function () {
|
}).on('pagebeforeshow', "#itemDetailPage", function () {
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue