This repository has been archived by the owner on Nov 28, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 953
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
95d13a6
commit 163e23c
Showing
5 changed files
with
206 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<div class="row clearfix"> | ||
<div class="col-md-12 column"> | ||
<div class="page-header"> | ||
<h3> | ||
Edit vul type <small></small> | ||
</h3> | ||
</div> | ||
</div> | ||
</div> | ||
<form role="form"> | ||
<div class="form-group"> | ||
<label for="name">Vul Name</label> | ||
<input type="text" class="form-control" id="name" value="{{ data.name }}"/> | ||
</div> | ||
<div class="form-group"> | ||
<label for="description">Vul Description</label> | ||
<input type="text" class="form-control" id="description" value="{{ data.description }}"/> | ||
</div> | ||
<div id="edit-vul-result" hidden></div> | ||
<button type="button" class="btn btn-success" id="edit-vul-button">Save</button> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
<table class="table table-bordered table-hover"> | ||
<thead> | ||
<tr> | ||
<th>ID</th> | ||
<th>name</th> | ||
<th>description</th> | ||
<th>last update time</th> | ||
<th>Operation</th> | ||
</tr> | ||
</thead> | ||
<tbody id="main-table"> | ||
{% for vul in data.vuls %} | ||
<tr> | ||
<td>{{ vul.id }}</td> | ||
<td>{{ vul.name }}</td> | ||
<td>{{ vul.description }}</td> | ||
<td>{{ vul.updated_at }}</td> | ||
<td> | ||
<span class="glyphicon glyphicon-pencil" aria-hidden="true" id="edit-vul-{{ vul.id }}"></span> | ||
<span class="glyphicon glyphicon-remove" aria-hidden="true" id="del-vul-{{ vul.id }}"></span> | ||
</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> |