Browse Source

get tags

master
Pascal Gloor 5 years ago
parent
commit
956a6642e3
2 changed files with 6 additions and 6 deletions
  1. 2
    2
      www/index.html
  2. 4
    4
      www/js/autodoc.js

+ 2
- 2
www/index.html View File

<tr> <tr>
<th>4. Confirm</th> <th>4. Confirm</th>
<td> <td>
<button type="button" class="btn btn-outline-primary">Add/Update Tag</button>
<button type="button" class="btn btn-outline-danger">Delete Tag</button>
<button type="button" class="autodoc_tag_add btn btn-outline-primary">Add/Update Tag</button>
<button type="button" class="autodoc_tag_delete btn btn-outline-danger">Delete Tag</button>
</td> </td>
</tr> </tr>
</table> </table>

+ 4
- 4
www/js/autodoc.js View File



function page_load_tags() { function page_load_tags() {
// update tag list // update tag list
$.getJSON(
conf.openapi +
"/tags"
)
$.getJSON(conf.openapi + "/tags", function(data) {
console.log(data);
}
);
} }


function document_load() { function document_load() {

Loading…
Cancel
Save