Ready to test Steps
This commit is contained in:
96
Archive/Views/Pages/Step1.cshtml
Normal file
96
Archive/Views/Pages/Step1.cshtml
Normal file
@ -0,0 +1,96 @@
|
||||
@model string[]
|
||||
@{
|
||||
ViewData["Title"] = "Step 1";
|
||||
string side = Model[0] == "0" ? "Even" : "Odd";
|
||||
}
|
||||
|
||||
<style>
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
div.container-fluid {
|
||||
height: 90%;
|
||||
}
|
||||
|
||||
#HeaderGrid,
|
||||
#FieldsGrid {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.FieldTitle {
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
|
||||
@if (!string.IsNullOrEmpty(Model[5]))
|
||||
{
|
||||
<h3>@(side) - @(Model[1])</h3><br />
|
||||
<h3>__-@(Model[4])-____.@(Model[2])-@(Model[3])</h3><br />
|
||||
<h3>@(Model[5])</h3><br />
|
||||
}
|
||||
<h4>Step 1</h4>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="Side">Side:</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="Even" id="EvenButton" />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="form-group">
|
||||
<input class="btn btn-primary" type="button" value="Odd" id="OddButton" />
|
||||
</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(mod) {
|
||||
if (mod === 9) {
|
||||
window.location.href = '\Step1';
|
||||
}
|
||||
else {
|
||||
window.location.href = '\Step2?mod=' + mod;
|
||||
}
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
$("#EvenButton").click(function () { Submit(0); });
|
||||
$("#OddButton").click(function () { Submit(1); });
|
||||
|
||||
$("#RestartButton").click(function () { Submit(9); });
|
||||
|
||||
});
|
||||
</script>
|
167
Archive/Views/Pages/Step2.cshtml
Normal file
167
Archive/Views/Pages/Step2.cshtml
Normal file
@ -0,0 +1,167 @@
|
||||
@model string[]
|
||||
@{
|
||||
ViewData["Title"] = "Step 2";
|
||||
}
|
||||
|
||||
<style>
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
div.container-fluid {
|
||||
height: 90%;
|
||||
}
|
||||
|
||||
#HeaderGrid,
|
||||
#FieldsGrid {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.FieldTitle {
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
|
||||
<h4>Step 2</h4>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="Equipment">Equipment:</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="Tencor 1" id="Tencor1Button" />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="form-group">
|
||||
<input class="btn btn-primary" type="button" value="Tencor 2" id="Tencor2Button" />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="form-group">
|
||||
<input class="btn btn-primary" type="button" value="Tencor 3" id="Tencor3Button" />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span> </span>
|
||||
</td>
|
||||
<td>
|
||||
<div class="form-group">
|
||||
<input class="btn btn-primary" type="button" value="HgCV 1" id="HgCV1Button" />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="form-group">
|
||||
<input class="btn btn-primary" type="button" value="HgCV 2" id="HgCV2Button" />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="form-group">
|
||||
<input class="btn btn-primary" type="button" value="HgCV 3" id="HgCV3Button" />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span> </span>
|
||||
</td>
|
||||
<td>
|
||||
<div class="form-group">
|
||||
<input class="btn btn-primary" type="button" value="BioRad 2" id="BioRad2Button" />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="form-group">
|
||||
<input class="btn btn-primary" type="button" value="BioRad 3" id="BioRad3Button" />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="form-group">
|
||||
<input class="btn btn-primary" type="button" value="BioRad 4" id="BioRad4Button" />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span> </span>
|
||||
</td>
|
||||
<td>
|
||||
<div class="form-group">
|
||||
<input class="btn btn-primary" type="button" value="CDE 2" id="CDE2Button" />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="form-group">
|
||||
<input class="btn btn-primary" type="button" value="CDE 4" id="CDE4Button" />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="form-group">
|
||||
<input class="btn btn-primary" type="button" value="CDE 5" id="CDE5Button" />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span> </span>
|
||||
</td>
|
||||
<td>
|
||||
<span> </span>
|
||||
</td>
|
||||
<td>
|
||||
<div class="form-group">
|
||||
<input class="btn btn-primary" type="button" value="Restart" id="RestartButton" />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<script>
|
||||
|
||||
function Submit(equipment) {
|
||||
if (equipment === 'RestartButton') {
|
||||
window.location.href = '\Step1';
|
||||
}
|
||||
else {
|
||||
window.location.href = '\Step3?mod=@(Model[0])&equipment=' + equipment;
|
||||
}
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
$("#Tencor1Button").click(function () { Submit('Tencor1'); });
|
||||
$("#Tencor2Button").click(function () { Submit('Tencor2'); });
|
||||
$("#Tencor3Button").click(function () { Submit('Tencor3'); });
|
||||
|
||||
$("#HgCV1Button").click(function () { Submit('HgCV1'); });
|
||||
$("#HgCV2Button").click(function () { Submit('HgCV2'); });
|
||||
$("#HgCV3Button").click(function () { Submit('HgCV3'); });
|
||||
|
||||
$("#BioRad2Button").click(function () { Submit('BioRad2'); });
|
||||
$("#BioRad3Button").click(function () { Submit('BioRad3'); });
|
||||
$("#BioRad4Button").click(function () { Submit('BioRad4'); });
|
||||
|
||||
$("#CDE2Button").click(function () { Submit('CDE2'); });
|
||||
$("#CDE4Button").click(function () { Submit('CDE4'); });
|
||||
$("#CDE5Button").click(function () { Submit('CDE5'); });
|
||||
|
||||
$("#RestartButton").click(function () { Submit('RestartButton'); });
|
||||
|
||||
});
|
||||
</script>
|
95
Archive/Views/Pages/Step3.cshtml
Normal file
95
Archive/Views/Pages/Step3.cshtml
Normal file
@ -0,0 +1,95 @@
|
||||
@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>
|
115
Archive/Views/Pages/Step4.cshtml
Normal file
115
Archive/Views/Pages/Step4.cshtml
Normal file
@ -0,0 +1,115 @@
|
||||
@model string[]
|
||||
@{
|
||||
ViewData["Title"] = "Step 4";
|
||||
}
|
||||
|
||||
<style>
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
div.container-fluid {
|
||||
height: 90%;
|
||||
}
|
||||
|
||||
#HeaderGrid,
|
||||
#FieldsGrid {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.FieldTitle {
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
|
||||
<h4>Step 4</h4>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="Zone">Zone:</label>
|
||||
</td>
|
||||
<td>
|
||||
<span> </span>
|
||||
</td>
|
||||
<td>
|
||||
<span> </span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<div class="form-group">
|
||||
<input class="btn btn-primary" type="button" value="Zone 1" id="Zone1Button" />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="form-group">
|
||||
<input class="btn btn-primary" type="button" value="Zone 2" id="Zone2Button" />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="form-group">
|
||||
<input class="btn btn-primary" type="button" value="Zone 3" id="Zone3Button" />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<span> </span>
|
||||
</td>
|
||||
<td>
|
||||
<span> </span>
|
||||
</td>
|
||||
<td>
|
||||
<label for="NoZone">No Zone - RDS:</label>
|
||||
</td>
|
||||
<td>
|
||||
<div class="form-group">
|
||||
<input class="txt txt-primary" type="input" value="" id="RDSInput" /><br />
|
||||
<input class="btn btn-warning" 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 if (zone > 9) {
|
||||
var rds = $("#RDSInput").val();
|
||||
window.location.href = '\Step6?mod=@(Model[0])&equipment=@(Model[1])&layer=@(Model[2])&zone=0&rds=' + rds;
|
||||
}
|
||||
else {
|
||||
window.location.href = '\Step5?mod=@(Model[0])&equipment=@(Model[1])&layer=@(Model[2])&zone=' + zone;
|
||||
}
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
$("#Zone1Button").click(function () { Submit(1); });
|
||||
$("#Zone2Button").click(function () { Submit(2); });
|
||||
$("#Zone3Button").click(function () { Submit(3); });
|
||||
|
||||
$("#RDSButton").click(function () { Submit(123456); });
|
||||
|
||||
$("#RestartButton").click(function () { Submit(9); });
|
||||
|
||||
});
|
||||
</script>
|
89
Archive/Views/Pages/Step5.cshtml
Normal file
89
Archive/Views/Pages/Step5.cshtml
Normal file
@ -0,0 +1,89 @@
|
||||
@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>
|
89
Archive/Views/Pages/Step6.cshtml
Normal file
89
Archive/Views/Pages/Step6.cshtml
Normal file
@ -0,0 +1,89 @@
|
||||
@model string[]
|
||||
@{
|
||||
ViewData["Title"] = "Step 6";
|
||||
}
|
||||
|
||||
<style>
|
||||
html,
|
||||
body {
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
div.container-fluid {
|
||||
height: 90%;
|
||||
}
|
||||
|
||||
#HeaderGrid,
|
||||
#FieldsGrid {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.FieldTitle {
|
||||
font-weight: bold;
|
||||
}
|
||||
</style>
|
||||
|
||||
<h4>Step 6</h4>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<label for="Initials">Initials:</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="InitialsInput" />
|
||||
</div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="form-group">
|
||||
<input class="btn btn-primary" type="button" value="Next" id="InitialsButton" />
|
||||
</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(initials) {
|
||||
if (initials === 'RestartButton') {
|
||||
window.location.href = '\Step1';
|
||||
}
|
||||
else {
|
||||
var initials = $("#InitialsInput").val();
|
||||
window.location.href = '\Step1?mod=@(Model[0])&equipment=@(Model[1])&layer=@(Model[2])&zone=@(Model[3])&rds=@(Model[4])&initials=' + initials;
|
||||
}
|
||||
}
|
||||
|
||||
$(document).ready(function () {
|
||||
|
||||
$("#InitialsButton").click(function () { Submit('MP'); });
|
||||
|
||||
$("#RestartButton").click(function () { Submit('RestartButton'); });
|
||||
|
||||
});
|
||||
</script>
|
Reference in New Issue
Block a user