96 lines
2.0 KiB
Plaintext
96 lines
2.0 KiB
Plaintext
@model string[]
|
|
@{
|
|
ViewData["Title"] = "Step 3";
|
|
}
|
|
|
|
<style>
|
|
html,
|
|
body {
|
|
height: 100%;
|
|
}
|
|
|
|
div.container-fluid {
|
|
height: 90%;
|
|
}
|
|
|
|
#HeaderGrid,
|
|
#FieldsGrid {
|
|
font-size: 12px;
|
|
}
|
|
|
|
.FieldTitle {
|
|
font-weight: bold;
|
|
}
|
|
</style>
|
|
|
|
<h4>Step 3</h4>
|
|
|
|
<table>
|
|
<tr>
|
|
<td>
|
|
<label for="Layer">Layer:</label>
|
|
</td>
|
|
<td>
|
|
<span> </span>
|
|
</td>
|
|
<td>
|
|
<span> </span>
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td>
|
|
<span> </span>
|
|
</td>
|
|
<td>
|
|
<div class="form-group">
|
|
<input class="btn btn-primary" type="button" value="Layer 1" id="Layer1Button" />
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div class="form-group">
|
|
<input class="btn btn-primary" type="button" value="Layer 2" id="Layer2Button" />
|
|
</div>
|
|
</td>
|
|
<td>
|
|
<div class="form-group">
|
|
<input class="btn btn-primary" type="button" value="Layer 3" id="Layer3Button" />
|
|
</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(layer) {
|
|
if (layer === 'RestartButton') {
|
|
window.location.href = '\Step1';
|
|
}
|
|
else {
|
|
window.location.href = '\Step4?mod=@(Model[0])&equipment=@(Model[1])&layer=' + layer;
|
|
}
|
|
}
|
|
|
|
$(document).ready(function () {
|
|
|
|
$("#Layer1Button").click(function () { Submit('1'); });
|
|
$("#Layer2Button").click(function () { Submit('2'); });
|
|
$("#Layer3Button").click(function () { Submit('3'); });
|
|
|
|
$("#RestartButton").click(function () { Submit('RestartButton'); });
|
|
|
|
});
|
|
</script>
|