-
Notifications
You must be signed in to change notification settings - Fork 203
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1466 from nexB/api-template
Add basic UI template for API
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{% extends "rest_framework/base.html" %} | ||
|
||
{% block style %} | ||
{{ block.super }} | ||
<style> | ||
body {background: none;} | ||
.navbar {background: #363636; border-top: 3px solid #3298dc;} | ||
.navbar-inverse .navbar-brand {color: white;} | ||
.booleanwidget {width: 90%;} | ||
</style> | ||
{% endblock %} | ||
|
||
{% block title %} | ||
VulnerableCode.io REST API | ||
{% endblock %} | ||
|
||
{% block branding %} | ||
<span class="navbar-brand"> | ||
VulnerableCode<span class="nexb-orange">.</span>io REST API | ||
</span> | ||
{% endblock %} | ||
|
||
{% block userlinks %} | ||
<li class="navbar-link"> | ||
<a href="/api/docs/">API Documentation</a> | ||
</li> | ||
<li class="navbar-link"> | ||
<a href="/">Back to app</a> | ||
</li> | ||
{{ block.super }} | ||
{% endblock %} |