1 | <!-- LOGIN PANEL --> |
---|
2 | <div id="toppanel"> |
---|
3 | <div id="panel"> |
---|
4 | <div class="content clearfix"> |
---|
5 | <div class="left"> |
---|
6 | <h1>Welcome to the Generic Study Capture Framework</h1> |
---|
7 | <h2>pre-alpha version</h2> |
---|
8 | <p class="grey">Please use the forms on the right to either log in if you already have an account, or sign up if you think this data support platform suits your needs.</p> |
---|
9 | <p class="grey">Note that <span class="red">registration</span> and <span class="red">password reminders</span> are not yet implemented and hence <span class="red">do not work</span> at this moment!</p> |
---|
10 | <g:if test="${flash.message}"><p class="red">${flash.message}</p></g:if> |
---|
11 | </div> |
---|
12 | <div class="left"> |
---|
13 | <g:form url="[action:'signin',controller:'auth']" class="clearfix"> |
---|
14 | <input type="hidden" name="targetUri" value="${targetUri}" /> |
---|
15 | <h1>Member Login</h1> |
---|
16 | <label class="grey" for="username">Username:</label> |
---|
17 | <input class="field" type="text" name="username" id="username" value="${username}" size="23" /> |
---|
18 | <label class="grey" for="password">Password:</label> |
---|
19 | <input class="field" type="password" name="password" id="password" size="23" /> |
---|
20 | <label><g:checkBox name="rememberMe" value="${rememberMe}" /> Remember me</label> |
---|
21 | <div class="clear"></div> |
---|
22 | <input type="submit" name="submit" value="Login" class="bt_login" /> |
---|
23 | <a class="lost-pwd" href="<g:createLink url="[action:'passwordReminder',controller:'auth']" class="lost-pwd" />">Lost your password?</a> |
---|
24 | </g:form> |
---|
25 | </div> |
---|
26 | <div class="left right"> |
---|
27 | <g:form url="[action:'signUp',controller:'auth']" class="clearfix"> |
---|
28 | <input type="hidden" name="targetUri" value="${targetUri}" /> |
---|
29 | <h1>Not a member yet? Sign Up!</h1> |
---|
30 | <label class="grey" for="signup">Username:</label> |
---|
31 | <input class="field" type="text" name="signup" id="signup" value="${username}" size="23" /> |
---|
32 | <label class="grey" for="email">Email:</label> |
---|
33 | <input class="field" type="text" name="email" id="email" value="${email}" size="23" /> |
---|
34 | <label>A password will be e-mailed to you.</label> |
---|
35 | <input type="submit" name="submit" value="Register" class="bt_register" /> |
---|
36 | </g:form> |
---|
37 | </div> |
---|
38 | </div> |
---|
39 | </div> |
---|
40 | <div class="tab"> |
---|
41 | <ul class="login"> |
---|
42 | <li class="left"> </li> |
---|
43 | <li>Hello <n:isLoggedIn><n:principal/></n:isLoggedIn><n:isNotLoggedIn>Guest</n:isNotLoggedIn>!</li> |
---|
44 | <li class="sep">|</li> |
---|
45 | <li id="toggle"> |
---|
46 | <n:isLoggedIn><g:link controller="auth" action="signout">sign out</g:link></n:isLoggedIn> |
---|
47 | <n:isNotLoggedIn> |
---|
48 | <a id="open" class="open" href="#">Log In | Register</a> |
---|
49 | <a id="close" style="display: none;" class="close" href="#">Close Panel</a> |
---|
50 | </n:isNotLoggedIn> |
---|
51 | </li> |
---|
52 | <li class="right"> </li> |
---|
53 | </ul> |
---|
54 | </div> |
---|
55 | </div> |
---|
56 | <!-- /LOGIN PANEL --> |
---|