1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00
jellyfin-web/dashboard-ui/login.html

64 lines
2.6 KiB
HTML
Raw Normal View History

2013-02-20 20:33:05 -05:00
<!DOCTYPE html>
<html>
<head>
2014-04-05 11:02:50 -04:00
<title>${TitleSignIn}</title>
2013-02-20 20:33:05 -05:00
</head>
<body>
<div id="loginPage" data-role="page" class="page standalonePage">
<div data-role="content">
2013-07-08 12:13:21 -04:00
<form class="manualLoginForm" id="manualLoginForm" style="display: none; text-align: center; margin: 0 auto;">
2014-04-05 11:02:50 -04:00
<h2 style="text-align: left;">${HeaderPleaseSignIn}</h2>
2013-07-08 12:13:21 -04:00
2014-04-05 11:02:50 -04:00
<label for="txtManualName" style="text-align: left;">${LabelUser}</label>
2013-07-08 15:31:45 -04:00
<input type="text" name="txtManualName" id="txtManualName" required="required" />
2013-07-08 12:13:21 -04:00
2014-04-05 11:02:50 -04:00
<label for="txtManualPassword" style="text-align: left;">${LabelPassword}</label>
2013-07-08 12:13:21 -04:00
<input type="password" name="txtManualPassword" id="txtManualPassword" placeholder="password" />
<p>
2013-12-24 13:37:29 -05:00
<button type="submit" data-theme="b" data-icon="check">
2014-04-05 11:02:50 -04:00
${ButtonSignIn}
2013-07-08 12:13:21 -04:00
</button>
</p>
</form>
<div class="visualLoginForm" style="display: none; text-align: center;">
<div id="divUsers"></div>
2014-04-05 11:02:50 -04:00
<p class="localhostMessage" style="text-align: center; display: none;">${PasswordLocalhostMessage}</p>
<p style="text-align: center;"><a onclick="$('.manualLoginForm').show();$('.visualLoginForm').hide();$('#txtManualName').focus();" href="#">${ButtonManualLogin}</a></p>
2014-02-08 15:02:35 -05:00
</div>
2013-02-20 20:33:05 -05:00
</div>
2013-12-27 21:46:32 -05:00
<div data-role="popup" id="popupLogin" class="popup" data-dismissible="false">
2013-07-08 12:13:21 -04:00
<form class="loginForm">
2013-12-24 13:37:29 -05:00
<div class="ui-bar-a" style="text-align: center;">
2014-04-05 11:02:50 -04:00
<h3>${HeaderPleaseSignIn}</h3>
2013-02-20 20:33:05 -05:00
</div>
2013-12-24 13:37:29 -05:00
<div data-role="content">
2014-04-05 11:02:50 -04:00
<label for="pw" class="ui-hidden-accessible">${LabelPassword}</label>
2013-02-20 20:33:05 -05:00
<input type="password" name="pw" id="pw" value="" placeholder="password" />
<p>
2013-12-24 13:37:29 -05:00
<button type="submit" data-theme="b" data-icon="check">
2014-04-05 11:02:50 -04:00
${ButtonSignIn}
2013-02-20 20:33:05 -05:00
</button>
<button type="button" data-icon="delete" onclick="$(this).parents('.popup').popup('close');">
2014-04-05 11:02:50 -04:00
${ButtonCancel}
2013-02-20 20:33:05 -05:00
</button>
</p>
</div>
</form>
</div>
<script type="text/javascript">
2013-07-15 21:36:18 -04:00
$('.loginForm').on('submit', LoginPage.onSubmit);
2013-07-08 12:13:21 -04:00
$('#manualLoginForm').on('submit', LoginPage.onManualSubmit);
2013-02-20 20:33:05 -05:00
</script>
</div>
</body>
</html>