ASF Bugzilla – Attachment 37902 Details for
Bug 65387
JSP compile error after upgrade 10.0.6 -> 10.0.7
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
login form
LoginForm.jsp (text/plain), 9.67 KB, created by
qeepcologne
on 2021-06-17 08:13:10 UTC
(
hide
)
Description:
login form
Filename:
MIME Type:
Creator:
qeepcologne
Created:
2021-06-17 08:13:10 UTC
Size:
9.67 KB
patch
obsolete
><%@ page trimDirectiveWhitespaces="true" %> ><%@ page contentType="text/html; charset=UTF-8" %> ><%@ page import="org.springframework.security.web.WebAttributes" %> ><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> ><%@ include file="qm/layout/Header.jsp" %> ><%@ include file="qm/layout/Main_Start.jsp" %> > > <div class="row"> > <div class="col-xs-12 col-sm-12 col-md-7 col-lg-8 hidden-xs hidden-sm"> > <h1 class="txt-color-red login-header-big">Qeep SmartAdmin</h1> > <div class="hero"> > > <div class="pull-left login-desc-box-l"> > <h4 class="paragraph-header">It's Okay to be Smart. Experience the simplicity of SmartAdmin, everywhere you go!</h4> > <div class="login-app-icons"> > </div> > </div> > > <img src="img/demo/iphoneview.png" class="pull-right display-image" alt="" style="width:210px"> > > </div> > </div> > <div class="col-xs-12 col-sm-12 col-md-5 col-lg-4"> > <div class="well no-padding"> > <form method="post" name="f" class="smart-form client-form" id="login-form" action="security/check"> > <header> > Sign in with Username > </header> > > <c:if test="${not empty param.login_error}"> > <div class="alert alert-danger fade in" role="alert"> > <button class="close" data-dismiss="alert"> > Ã > </button> > <i class="fa-fw fa fa-times"></i> > <strong>Authentication exception!</strong> > <span id="operation-success-message">${SPRING_SECURITY_LAST_EXCEPTION.message}</span> > </div> > </c:if> > <c:if test="${not empty param.accessdenied}"> > <div class="alert alert-danger"> > <strong>Access Denied!</strong> > </div> > </c:if> > > <fieldset> > > <section> > <label class="label">Username</label> > <label class="input" for="j_username"> <i class="icon-append fa fa-user"></i> > <input type="text" name="j_username" id="j_username" /> > <b class="tooltip tooltip-top-right"><i class="fa fa-user txt-color-teal"></i> Please enter your username</b></label> > </section> > > <section> > <label class="label">Password</label> > <label class="input" for="j_password"> <i class="icon-append fa fa-lock"></i> > <input type="password" name="j_password" id="j_password"/> > <b class="tooltip tooltip-top-right"><i class="fa fa-lock txt-color-teal"></i> Enter your password</b> </label> > <!-- <div class="note"> > <a href="forgotpassword.html">Forgot password?</a> > </div> --> > </section> > > <!-- <section> > <label class="checkbox"> > <input type="checkbox" name="remember" checked=""> > <i></i>Stay signed in</label> > </section> --> > </fieldset> > <footer> > <button type="submit" class="btn btn-primary"> > Sign in > </button> > </footer> > </form> > </div> > > <h5 class="text-center"> - Or -</h5> > > <ul class="list-inline text-center"> > <li> > <div id="my-signin2"></div> > </li> > </ul> > > </div> > </div> > </div> > > </div> > > <script> > function onSuccess(googleUser) { > var id_token = googleUser.getAuthResponse().id_token; > googleUser.disconnect() > > var xhr = new XMLHttpRequest(); > xhr.open('POST', '${pageContext.request.getContextPath()}/security/check/google'); > xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); > xhr.onload = function() { > // console.log(xhr.responseURL); > window.location.href=xhr.responseURL; > }; > xhr.send('googleIdToken=' + id_token); > } > function onFailure(error) { > // console.log(error); > } > function renderButton() { > gapi.signin2.render('my-signin2', { > 'scope': 'profile email', > 'width': 240, > 'height': 50, > 'longtitle': true, > 'theme': 'dark', > 'onsuccess': onSuccess, > 'onfailure': onFailure > }); > } > </script> > > <script src="https://apis.google.com/js/platform.js?onload=renderButton" async defer></script> > > <!--================================================== --> > > <!-- PACE LOADER - turn this on if you want ajax loading to show (caution: uses lots of memory on iDevices)--> > <script src="js/plugin/pace/pace.min.js"></script> > > <!-- Link to Google CDN's jQuery + jQueryUI; fall back to local --> > <script src="//ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> > <script> if (!window.jQuery) { document.write('<script src="js/libs/jquery-3.2.1.min.js"><\/script>');}</script> > > <script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.12.1/jquery-ui.min.js"></script> > <script> if (!window.jQuery.ui) { > document.write('<script src="js/libs/jquery-ui.min.js"><\/script>'); > }</script> > > <!-- IMPORTANT: APP CONFIG --> > <script src="js/app.config.js"></script> > > <!-- JS TOUCH : include this plugin for mobile drag / drop touch events > <script src="js/plugin/jquery-touch/jquery.ui.touch-punch.min.js"></script> --> > > <!-- BOOTSTRAP JS --> > <script src="js/bootstrap/bootstrap.min.js"></script> > > <!-- JQUERY VALIDATE --> > <script src="js/plugin/jquery-validate/jquery.validate.min.js"></script> > <script src="js/plugin/jquery-validate/additional-methods.min.js"></script> > > <!-- JQUERY MASKED INPUT --> > <script src="js/plugin/masked-input/jquery.maskedinput.min.js"></script> > > <!--[if IE 8]> > > <h1>Your browser is out of date, please update your browser by going to www.microsoft.com/download</h1> > > <![endif]--> > > <!-- MAIN APP JS FILE --> > <script src="js/app.js"></script> > <script src="js/patches.js"></script> > > <script> > runAllForms(); > > $(function () { > // Validation > var validationOpts = getGeneralValidationOptions(); > > $.extend(validationOpts, { > // Rules for form validation > rules: { > j_username: { > required: true > }, > j_password: { > required: true, > minlength: 3, > maxlength: 60 > } > }, > > // Messages for form validation > messages: { > j_username: { > required: 'Please enter your username', > }, > j_password: { > required: 'Please enter your password' > } > }}); > > // Validation > $("#login-form").validate(validationOpts); > > // Submit Login Form > $("#login-form").off('submit').on('submit', function(e) { > > e.preventDefault(); > > var xhr = new XMLHttpRequest(); > xhr.open('POST', '${pageContext.request.getContextPath()}/security/check'); > xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); > xhr.onload = function() { > window.location.href=xhr.responseURL; > }; > xhr.send($(this).serialize()); > }); > }); > </script> > </body> ></html>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 65387
:
37902
|
37903
|
37904
|
37905
|
37906
|
37907