settings page window
This commit is contained in:
		| @@ -1,5 +1,6 @@ | ||||
| package com.wasteinformationserver.website; | ||||
|  | ||||
| import com.wasteinformationserver.basicutils.Log; | ||||
| import com.wasteinformationserver.db.PostRequest; | ||||
|  | ||||
| import java.util.HashMap; | ||||
| @@ -7,7 +8,7 @@ import java.util.HashMap; | ||||
| public class CheckLoginState extends PostRequest { | ||||
|     @Override | ||||
|     public String request(HashMap<String, String> params) { | ||||
|         System.out.println("checkin login state"); | ||||
|         Log.message("checking login state"); | ||||
|         if ((params.get("action")).equals("getloginstate")){ | ||||
|             if (LoginState.getObject().isLoggedIn()){ | ||||
|                 return "{\"loggedin\":true, \"username\":\""+LoginState.getObject().getUsername()+"\"}"; | ||||
|   | ||||
| @@ -1,8 +1,36 @@ | ||||
| .test{ | ||||
|     background-color: #7F7F7F; | ||||
| html,body{ | ||||
|   background-image: url('../rsc/login2.jpg'); | ||||
|   background-size: cover; | ||||
|   background-repeat: no-repeat; | ||||
|   height: 100%; | ||||
|   font-family: 'Numans', sans-serif; | ||||
| } | ||||
|  | ||||
|  | ||||
| .optionsarray{ | ||||
|   margin-left: 20mm; | ||||
|   margin-top: 20mm; | ||||
| } | ||||
|  | ||||
| .create-table{ | ||||
|   margin-top: 50px; | ||||
|   margin-left: 20%; | ||||
|   background-color: rgba(0,0,0,0.5) !important; | ||||
|   width: 60%; | ||||
|   height: 65%; | ||||
|  | ||||
| } | ||||
|  | ||||
| .create-table-window-toolpane{ | ||||
|   height: 50px; | ||||
|   background-color: rgba(0,0,0,0.5) !important; | ||||
| } | ||||
|  | ||||
| .exit-icon{ | ||||
|   color: #FF0000; | ||||
|   float: right; | ||||
|   display: table-cell; | ||||
|       vertical-align: middle; | ||||
|       text-align: center; | ||||
|       text-decoration: none; | ||||
| } | ||||
|   | ||||
| @@ -49,6 +49,15 @@ | ||||
|         </div> | ||||
|     </nav> | ||||
|  | ||||
|     <button type="button" name="button">click me to add new table</button> | ||||
|  | ||||
|     <div class="create-table"> | ||||
|       <div class="create-table-window-toolpane"> | ||||
|           <i class="fas fa-times-circle fa-2x exit-icon"></i> | ||||
|           <!-- TODO:  --> | ||||
|       </div> | ||||
|     </div> | ||||
|  | ||||
|   <div class="optionsarray"> | ||||
|     <div class="custom-control custom-switch"> | ||||
|         <input type="checkbox" class="custom-control-input" id="customSwitch1"> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user