This repository was archived by the owner on Sep 10, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +20
-20
lines changed Expand file tree Collapse file tree 4 files changed +20
-20
lines changed Original file line number Diff line number Diff line change 30
30
method="POST">
31
31
<div class="formRow">
32
32
<label for="displayName">Name</label>
33
- <input type="text" name="displayName" value="<?php echo $ this ->producer ->getDisplayName (); ?> "/>
33
+ <input type="text" id="displayName" name="displayName" value="<?php echo $ this ->producer ->getDisplayName (); ?> "/>
34
34
</div>
35
35
<div class="formRow">
36
36
<label for="description">Description</label>
37
- <textarea class="description" name="description"><?php echo $ this ->producer ->getDescription (); ?> </textarea>
37
+ <textarea class="description" id="description" name="description"><?php echo $ this ->producer ->getDescription (); ?> </textarea>
38
38
</div>
39
39
<div class="formRow">
40
40
<label for="repository">Repository URL</label>
41
- <input type="text" name="repository" value="<?php echo $ this ->producer ->getRepository (); ?> "/>
41
+ <input type="text" id="repository" name="repository" value="<?php echo $ this ->producer ->getRepository (); ?> "/>
42
42
</div>
43
43
<div class="formRow">
44
44
<label for="revisionUrl">Revision URL</label>
45
- <input type="text" name="revisionUrl" value="<?php echo $ this ->producer ->getRevisionUrl (); ?> "/>
45
+ <input type="text" id="revisionUrl" name="revisionUrl" value="<?php echo $ this ->producer ->getRevisionUrl (); ?> "/>
46
46
</div>
47
47
<div class="formRow">
48
48
<label for="executableName">Executable Name</label>
49
- <input type="text" name="executableName" value="<?php echo $ this ->producer ->getExecutableName (); ?> "/>
49
+ <input type="text" id="executableName" name="executableName" value="<?php echo $ this ->producer ->getExecutableName (); ?> "/>
50
50
</div>
51
- <input type="hidden" name="producerId" value="<?php echo $ this ->producer ->getKey (); ?> "/>
51
+ <input type="hidden" id="producerId" name="producerId" value="<?php echo $ this ->producer ->getKey (); ?> "/>
52
52
53
53
<div class="submitButtonContainer">
54
54
<input type="submit" class="globalButton" value="Save"/>
Original file line number Diff line number Diff line change @@ -32,17 +32,17 @@ $this->headScript()->appendFile($this->coreWebroot.'/public/js/jquery/jquery.for
32
32
method="POST">
33
33
<div class="formRow">
34
34
<label for="metricName">Metric name</label>
35
- <input type="text" name="metricName" value="<?php echo $ this ->escape ($ this ->trend ->getMetricName ()); ?> "
35
+ <input type="text" id="metricName" name="metricName" value="<?php echo $ this ->escape ($ this ->trend ->getMetricName ()); ?> "
36
36
qtip="The metric name that submission clients use to identify this trend"/>
37
37
</div>
38
38
<div class="formRow">
39
39
<label for="displayName">Display name</label>
40
- <input type="text" name="displayName" value="<?php echo $ this ->escape ($ this ->trend ->getDisplayName ()); ?> "
40
+ <input type="text" id="displayName" name="displayName" value="<?php echo $ this ->escape ($ this ->trend ->getDisplayName ()); ?> "
41
41
qtip="The title that is displayed in Midas for this trend"/>
42
42
</div>
43
43
<div class="formRow">
44
44
<label for="unit">Unit</label>
45
- <input type="text" name="unit" value="<?php echo $ this ->escape ($ this ->trend ->getUnit ()); ?> "
45
+ <input type="text" id="unit" name="unit" value="<?php echo $ this ->escape ($ this ->trend ->getUnit ()); ?> "
46
46
qtip="The unit of measurement for this metric (optional)"/>
47
47
</div>
48
48
<div class="formRow">
Original file line number Diff line number Diff line change 26
26
<form id="thresholdNotifyForm" class="genericForm" method="POST"
27
27
action="<?php echo $ this ->webroot ?> /tracker/trend/notifysubmit">
28
28
<div>
29
- <input type="radio" id="noNotify" name="doNotify" value="no"/>Do not send me emails for this trend
29
+ <input type="radio" id="noNotify" name="doNotify" value="no"/><label for="noNotify"> Do not send me emails for this trend</label>
30
30
</div>
31
31
<div>
32
- <input type="radio" id="yesNotify" name="doNotify" value="yes"/>Send me an email alert
32
+ <input type="radio" id="yesNotify" name="doNotify" value="yes"/><label for="yesNotify"> Send me an email alert</label>
33
33
</div>
34
34
<div class="thresholdInfoContainer">
35
35
When submitted value is
39
39
<option value=">=">>=</option>
40
40
<option value="<="><=</option>
41
41
</select>
42
- <input type="text" class="thresholdValue" name="value"
42
+ <input type="text" class="thresholdValue" id="value" name="value"
43
43
<?php
44
44
if ($ this ->setting ) {
45
45
echo ' value=" ' .$ this ->escape ($ this ->setting ->getValue ()).'" ' ;
Original file line number Diff line number Diff line change @@ -174,19 +174,19 @@ $this->headScript()->appendFile($this->coreWebroot.'/public/js/jquery/jqplot/jqp
174
174
<table class="yValuesTable">
175
175
<tbody>
176
176
<tr>
177
- <th>Y range:</th>
178
- <td><input class="yMin" type="text"/></td>
179
- <td>to </td>
180
- <td><input class="yMax" type="text"/></td>
177
+ <th><label for="yMin"> Y range:</label> </th>
178
+ <td><input id="yMin" class="yMin" type="text"/></td>
179
+ <td><label for="yMax">to</label> </td>
180
+ <td><input id="yMax" class="yMax" type="text"/></td>
181
181
</tr>
182
182
<?php
183
183
if ($ this ->rightTrend ) {
184
184
?>
185
185
<tr>
186
- <th>Y2 range:</th>
187
- <td><input class="y2Min" type="text"/></td>
188
- <td>to </td>
189
- <td><input class ="y2Max" type="text"/></td>
186
+ <th><label for="y2Min"> Y2 range:</label> </th>
187
+ <td><input id="y2Min" class="y2Min" type="text"/></td>
188
+ <td><label for="y2Max">to</label> </td>
189
+ <td><input id ="y2Max" type="text"/></td>
190
190
</tr>
191
191
<?php
192
192
}
You can’t perform that action at this time.
0 commit comments