mirror of
https://github.com/pa11y/pa11y-dashboard.git
synced 2025-09-24 14:21:13 +00:00
hide-elements and placeholders
This commit is contained in:

committed by
Rowan Manning

parent
36dad55bb8
commit
9df456c7c1
@@ -53,9 +53,9 @@ function route(app) {
|
||||
timeout: req.body.timeout || undefined,
|
||||
wait: req.body.wait || undefined,
|
||||
username: req.body.username || undefined,
|
||||
password: req.body.password || undefined
|
||||
password: req.body.password || undefined,
|
||||
headers: parsedHeaders || undefined,
|
||||
hideElements: req.body.hide || undefined
|
||||
hideElements: req.body['hide-elements'] || undefined
|
||||
};
|
||||
|
||||
app.webservice.tasks.create(newTask, (err, task) => {
|
||||
|
@@ -106,7 +106,7 @@ along with Pa11y Dashboard. If not, see <http://www.gnu.org/licenses/>.
|
||||
<div class="row">
|
||||
<div class="col-md-4 col-sm-4 col-xs-6">
|
||||
<label class="control-label" for="new-task-headers">Headers Object (JSON)</label>
|
||||
<input class="form-control" id="new-task-headers" type="text" name="headers" value="{{task.headers}}" placeholder='{headers: {"Cookie": "foo=bar"}}'/>
|
||||
<input class="form-control" id="new-task-headers" type="text" name="headers" value="{{task.headers}}" placeholder='{"Cookie": "foo=bar"}'/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@@ -118,7 +118,7 @@ along with Pa11y Dashboard. If not, see <http://www.gnu.org/licenses/>.
|
||||
<div class="row">
|
||||
<div class="col-md-4 col-sm-4 col-xs-6">
|
||||
<label class="control-label" for="new-task-headers">Headers Object (JSON)</label>
|
||||
<input class="form-control" id="new-task-headers" type="text" name="headers" value="{{task.headers}}" placeholder='{headers: {"Cookie": "foo=bar"}}'/>
|
||||
<input class="form-control" id="new-task-headers" type="text" name="headers" value="{{task.headers}}" placeholder='{"Cookie": "foo=bar"}'/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user