90 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			90 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| @model string[]
 | |
| @{
 | |
|     ViewData["Title"] = "Step 5";
 | |
| }
 | |
| 
 | |
| <style>
 | |
|     html,
 | |
|     body {
 | |
|         height: 100%;
 | |
|     }
 | |
| 
 | |
|     div.container-fluid {
 | |
|         height: 90%;
 | |
|     }
 | |
| 
 | |
|     #HeaderGrid,
 | |
|     #FieldsGrid {
 | |
|         font-size: 12px;
 | |
|     }
 | |
| 
 | |
|     .FieldTitle {
 | |
|         font-weight: bold;
 | |
|     }
 | |
| </style>
 | |
| 
 | |
| <h4>Step 5</h4>
 | |
| 
 | |
| <table>
 | |
|     <tr>
 | |
|         <td>
 | |
|             <label for="RDS">RDS:</label>
 | |
|         </td>
 | |
|         <td>
 | |
|             <span> </span>
 | |
|         </td>
 | |
|         <td>
 | |
|             <span> </span>
 | |
|         </td>
 | |
|     </tr>
 | |
|     <tr>
 | |
|         <td>
 | |
|             <span> </span>
 | |
|         </td>
 | |
|         <td>
 | |
|             <div class="form-group">
 | |
|                 <input class="txt txt-primary" type="input" value="" id="RDSInput" />
 | |
|             </div>
 | |
|         </td>
 | |
|         <td>
 | |
|             <div class="form-group">
 | |
|                 <input class="btn btn-primary" type="button" value="Next" id="RDSButton" />
 | |
|             </div>
 | |
|         </td>
 | |
|     </tr>
 | |
|     <tr>
 | |
|         <td>
 | |
|             <span> </span>
 | |
|         </td>
 | |
|         <td>
 | |
|             <span> </span>
 | |
|         </td>
 | |
|         <td>
 | |
|             <div class="form-group">
 | |
|                 <input class="btn btn-warning" type="button" value="Restart" id="RestartButton" />
 | |
|             </div>
 | |
|         </td>
 | |
|     </tr>
 | |
| </table>
 | |
| 
 | |
| <script>
 | |
| 
 | |
|     function Submit(zone) {
 | |
|         if (zone === 9) {
 | |
|             window.location.href = '\Step1';
 | |
|         }
 | |
|         else {
 | |
|             var rds = $("#RDSInput").val();
 | |
|             window.location.href = '\Step6?mod=@(Model[0])&equipment=@(Model[1])&layer=@(Model[2])&zone=@(Model[3])&rds=' + rds;
 | |
|         }
 | |
|     }
 | |
| 
 | |
|     $(document).ready(function () {
 | |
| 
 | |
|         $("#RDSButton").click(function () { Submit(123456); });
 | |
| 
 | |
|         $("#RestartButton").click(function () { Submit(9); });
 | |
| 
 | |
|     });
 | |
| </script>
 |