this play-authenticate 모듈을 내 응용 프로그램의 모바일 측에 통합하려고합니다. Twitter Bootstrap 대신 각 페이지에 대해 JQuery 모바일을 사용하고 싶습니다. 따라서 별도의보기를 만들었고 기본 색인을 설정하고 로그인 페이지가 먼저 작동하도록 노력하고 있습니다. 로그인 페이지는 폼의 형태를 취하고 JQuery Mobile을 사용하여 스케이프 폼 헬퍼를 play 2.0. *에서 사용할 수 있는지 궁금합니다. 지금까지Play Framework를 사용하는 JQuery Mobile Form 도우미
내 기본 로그인 페이지 :
@(loginForm: Form[_])
@import helper._
@main(Messages("playauthenticate.login.title"),"login") {
<div data-role="content">
<div data-role="fieldcontain">
<label for="textinput1">
Your Email
</label>
<input name="" id="textinput1" placeholder="" value="" type="email" />
</div>
<div data-role="fieldcontain">
<label for="textinput2">
Your Password
</label>
<input name="" id="textinput2" placeholder="" value="" type="password" />
</div>
<a data-role="button" href="#page1">
Login Now
</a>
<h4>
Or login with a different service:
</h4>
@* Display list of available providers *@
@_providerPartial(skipCurrent=false)
<a data-role="button" data-transition="slidedown" href="routes.Application.index()">
Home
</a>
</div>
}
This이 트위터 부트 스트랩을 사용하는 모습입니다.