From d95fd9f3bf84d848bf61904de04e7afc9b12f892 Mon Sep 17 00:00:00 2001 From: Philippe Ombredanne Date: Wed, 24 Apr 2024 15:53:45 +0200 Subject: [PATCH] Add basic UI template for API Borrowed from ScanCode.io Reference: https://github.com/nexB/vulnerablecode/issues/1465 Thanks-to: Thomas Druez @tdruez Signed-off-by: Philippe Ombredanne --- .../templates/rest_framework/api.html | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 vulnerabilities/templates/rest_framework/api.html diff --git a/vulnerabilities/templates/rest_framework/api.html b/vulnerabilities/templates/rest_framework/api.html new file mode 100644 index 000000000..028ef01a7 --- /dev/null +++ b/vulnerabilities/templates/rest_framework/api.html @@ -0,0 +1,31 @@ +{% extends "rest_framework/base.html" %} + +{% block style %} + {{ block.super }} + +{% endblock %} + +{% block title %} + VulnerableCode.io REST API +{% endblock %} + +{% block branding %} + + VulnerableCode.io REST API + +{% endblock %} + +{% block userlinks %} + + + {{ block.super }} +{% endblock %} \ No newline at end of file