Added post login action
This commit is contained in:
		
							
								
								
									
										11
									
								
								views/account/view.erb
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								views/account/view.erb
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,11 @@ | ||||
| <div class="row"> | ||||
|   <div class="twelve columns"> | ||||
|     <ul> | ||||
|       <li>Username: <%= account.username %></li> | ||||
|       <li>Email address: <%= account.mail %></li> | ||||
|       <li>Display name: <%= account.displayName %></li> | ||||
|       <li>UID number: <%= account.uidNumber %></li> | ||||
|       <li>Home directory: <%= account.homeDirectory %></li> | ||||
|     </ul> | ||||
|   </div> | ||||
| </div> | ||||
| @@ -14,7 +14,7 @@ | ||||
|         <div class="three columns"><p></p></div> | ||||
|         <div class="six columns"> | ||||
|           <label for="auth_password">Password:</label> | ||||
|           <input id="auth_password" class="u-full-width" type="text" name="auth_password" required> | ||||
|           <input id="auth_password" class="u-full-width" type="password" name="auth_password" required> | ||||
|         </div> | ||||
|       </div> | ||||
|  | ||||
|   | ||||
| @@ -1,6 +1,8 @@ | ||||
| <div class="row"> | ||||
|   <div class="twelve columns"> | ||||
|     <h1>Welcome to Webdap!</h1> | ||||
|     <p>You can use this site to manage your network account. <a href="/auth/login">Click here</a> to login.</p> | ||||
|     <p>You can use this site to manage your network account. <i class="fa-solid fa-address-book"></i></p> | ||||
|  | ||||
|     <p><a href="/auth/login">Click here</a> to login.</p> | ||||
|   </div> | ||||
| </div> | ||||
|   | ||||
| @@ -6,6 +6,7 @@ | ||||
|   <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||
|   <title><%= title %> | Webdap</title> | ||||
|   <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/skeleton/2.0.4/skeleton.min.css"> | ||||
|   <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.1/css/all.min.css"> | ||||
|   <link rel="stylesheet" href="/styles/darkmeyer.css"> | ||||
|   <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script> | ||||
|   <script src="/js/meiyerditch.js"></script> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user