-
Notifications
You must be signed in to change notification settings - Fork 10
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 #5786 from uktrade/feature/TET-878-drf-bootstrap-3…
…-replacement Add package drf-redesign which styles the rest framework browsable API
- Loading branch information
Showing
22 changed files
with
3,946 additions
and
7 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
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
Empty file.
7 changes: 7 additions & 0 deletions
7
datahub/drf_browsable_api/static/drf_browsable_api/css/a11y-dark.min.css
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
datahub/drf_browsable_api/static/drf_browsable_api/css/a11y-light.min.css
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
datahub/drf_browsable_api/static/drf_browsable_api/css/bootstrap.min.css
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
datahub/drf_browsable_api/static/drf_browsable_api/css/bootstrap.min.css.map
Large diffs are not rendered by default.
Oops, something went wrong.
2,078 changes: 2,078 additions & 0 deletions
2,078
datahub/drf_browsable_api/static/drf_browsable_api/fonts/bootstrap-icons.css
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+172 KB
datahub/drf_browsable_api/static/drf_browsable_api/fonts/bootstrap-icons.woff
Binary file not shown.
Binary file added
BIN
+127 KB
datahub/drf_browsable_api/static/drf_browsable_api/fonts/bootstrap-icons.woff2
Binary file not shown.
7 changes: 7 additions & 0 deletions
7
datahub/drf_browsable_api/static/drf_browsable_api/js/bootstrap.bundle.min.js
Large diffs are not rendered by default.
Oops, something went wrong.
1 change: 1 addition & 0 deletions
1
datahub/drf_browsable_api/static/drf_browsable_api/js/bootstrap.bundle.min.js.map
Large diffs are not rendered by default.
Oops, something went wrong.
1,213 changes: 1,213 additions & 0 deletions
1,213
datahub/drf_browsable_api/static/drf_browsable_api/js/highlight.min.js
Large diffs are not rendered by default.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
datahub/drf_browsable_api/static/drf_browsable_api/js/http.min.js
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,14 @@ | ||
/*! `http` grammar compiled for Highlight.js 11.9.0 */ | ||
(()=>{var e=(()=>{"use strict";return e=>{const n="HTTP/([32]|1\\.[01])",a={ | ||
className:"attribute", | ||
begin:e.regex.concat("^",/[A-Za-z][A-Za-z0-9-]*/,"(?=\\:\\s)"),starts:{ | ||
contains:[{className:"punctuation",begin:/: /,relevance:0,starts:{end:"$", | ||
relevance:0}}]}},s=[a,{begin:"\\n\\n",starts:{subLanguage:[],endsWithParent:!0} | ||
}];return{name:"HTTP",aliases:["https"],illegal:/\S/,contains:[{ | ||
begin:"^(?="+n+" \\d{3})",end:/$/,contains:[{className:"meta",begin:n},{ | ||
className:"number",begin:"\\b\\d{3}\\b"}],starts:{end:/\b\B/,illegal:/\S/, | ||
contains:s}},{begin:"(?=^[A-Z]+ (.*?) "+n+"$)",end:/$/,contains:[{ | ||
className:"string",begin:" ",end:" ",excludeBegin:!0,excludeEnd:!0},{ | ||
className:"meta",begin:n},{className:"keyword",begin:"[A-Z]+"}],starts:{ | ||
end:/\b\B/,illegal:/\S/,contains:s}},e.inherit(a,{relevance:0})]}}})() | ||
;hljs.registerLanguage("http",e)})(); |
Oops, something went wrong.