Debian Codegraph @

graphene_django/templates/graphene/graphiql.html

raw ◀ ▶
Source reconstructed at patch state 0 of 1 — not the installed (fully patched) source.
1 Debian patch touch this file
1 <!--
2 The request to this GraphQL server provided the header "Accept: text/html"
3 and as a result has been presented GraphiQL - an in-browser IDE for
4 exploring GraphQL.
5 If you wish to receive JSON, provide the header "Accept: application/json" or
6 add "&raw" to the end of the URL within a browser.
7 -->
8 {% load static %}
9 <!DOCTYPE html>
10 <html>
11 <head>
12 <style>
13 html, body, #editor {
14 height: 100%;
15 margin: 0;
16 overflow: hidden;
17 width: 100%;
18 }
19 </style>
20 <link href="https://cdn.jsdelivr.net/npm/graphiql@{{graphiql_version}}/graphiql.min.css"
21 integrity="{{graphiql_css_sri}}"
22 rel="stylesheet"
23 crossorigin="anonymous" />
24 <link href="https://cdn.jsdelivr.net/npm/@graphiql/plugin-explorer@{{graphiql_plugin_explorer_version}}/dist/style.css"
25 integrity="{{graphiql_plugin_explorer_css_sri}}"
26 rel="stylesheet"
27 crossorigin="anonymous" />
28 <script src="https://cdn.jsdelivr.net/npm/whatwg-fetch@{{whatwg_fetch_version}}/dist/fetch.umd.js"
29 integrity="{{whatwg_fetch_sri}}"
30 crossorigin="anonymous"></script>
31 <script src="https://cdn.jsdelivr.net/npm/react@{{react_version}}/umd/react.production.min.js"
32 integrity="{{react_sri}}"
33 crossorigin="anonymous"></script>
34 <script src="https://cdn.jsdelivr.net/npm/react-dom@{{react_version}}/umd/react-dom.production.min.js"
35 integrity="{{react_dom_sri}}"
36 crossorigin="anonymous"></script>
37 <script src="https://cdn.jsdelivr.net/npm/graphiql@{{graphiql_version}}/graphiql.min.js"
38 integrity="{{graphiql_sri}}"
39 crossorigin="anonymous"></script>
40 <script src="https://cdn.jsdelivr.net/npm/graphql-ws@{{subscriptions_transport_ws_version}}/umd/graphql-ws.min.js"
41 integrity="{{subscriptions_transport_ws_sri}}"
42 crossorigin="anonymous"></script>
43 <script src="https://cdn.jsdelivr.net/npm/@graphiql/plugin-explorer@{{graphiql_plugin_explorer_version}}/dist/graphiql-plugin-explorer.umd.js"
44 integrity="{{graphiql_plugin_explorer_sri}}"
45 crossorigin="anonymous"></script>
46 </head>
47 <body>
48 <div id="editor"></div>
49 {% csrf_token %}
50 <script type="application/javascript">
51 window.GRAPHENE_SETTINGS = {
52 {% if subscription_path %}
53 subscriptionPath: "{{subscription_path}}",
54 {% endif %}
55 graphiqlHeaderEditorEnabled: {{ graphiql_header_editor_enabled|yesno:"true,false" }},
56 graphiqlShouldPersistHeaders: {{ graphiql_should_persist_headers|yesno:"true,false" }},
57 graphiqlInputValueDeprecation: {{ graphiql_input_value_deprecation|yesno:"true,false" }},
58 };
59 </script>
60 <script src="{% static 'graphene_django/graphiql.js' %}"></script>
61 </body>
62 </html>