default_urlconf.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. {% load i18n %}
  2. <!doctype html>
  3. {% get_current_language as LANGUAGE_CODE %}{% get_current_language_bidi as LANGUAGE_BIDI %}
  4. <html lang="{{ LANGUAGE_CODE|default:'en-us' }}" dir="{{ LANGUAGE_BIDI|yesno:'rtl,ltr,auto' }}">
  5. <head>
  6. <meta charset="utf-8">
  7. <title>{% translate "The install worked successfully! Congratulations!" %}</title>
  8. <meta name="viewport" content="width=device-width, initial-scale=1">
  9. <link rel="stylesheet" href="/static/admin/css/fonts.css">
  10. <style>
  11. html {
  12. line-height: 1.15;
  13. }
  14. a {
  15. color: #19865C;
  16. }
  17. header {
  18. border-bottom: 1px solid #efefef;
  19. }
  20. body {
  21. max-width: 960px;
  22. color: #525252;
  23. font-family: Roboto, sans-serif;
  24. margin: 0 auto;
  25. }
  26. main {
  27. text-align: center;
  28. }
  29. h1, h2, h3, h4, h5, p, ul {
  30. padding: 0;
  31. margin: 0;
  32. font-weight: 400;
  33. }
  34. header {
  35. display: grid;
  36. grid-template-columns: auto auto;
  37. align-items: self-end;
  38. justify-content: space-between;
  39. gap: 7px;
  40. padding-top: 20px;
  41. padding-bottom: 10px;
  42. }
  43. .logo {
  44. font-weight: 700;
  45. font-size: 1.375rem;
  46. text-decoration: none;
  47. }
  48. .figure {
  49. margin-top: 19vh;
  50. max-width: 265px;
  51. position: relative;
  52. z-index: -9;
  53. overflow: visible;
  54. }
  55. .exhaust__line {
  56. animation: thrust 70ms 100 ease-in-out alternate;
  57. }
  58. .smoke {
  59. animation: smoke .1s 70 ease-in-out alternate;
  60. }
  61. @keyframes smoke {
  62. 0% {
  63. transform: translate3d(-5px, 0, 0);
  64. }
  65. 100% {
  66. transform: translate3d(5px, 0, 0);
  67. }
  68. }
  69. .flame {
  70. animation: burnInner2 .1s 70 ease-in-out alternate;
  71. }
  72. @keyframes burnInner2 {
  73. 0% {
  74. transform: translate3d(0, 0, 0);
  75. }
  76. 100% {
  77. transform: translate3d(0, 3px, 0);
  78. }
  79. }
  80. @keyframes thrust {
  81. 0% {
  82. opacity: 1;
  83. }
  84. 100% {
  85. opacity: .5;
  86. }
  87. }
  88. @media (prefers-reduced-motion: reduce) {
  89. .exhaust__line,
  90. .smoke,
  91. .flame {
  92. animation: none;
  93. }
  94. }
  95. h1 {
  96. font-size: 1.375rem;
  97. max-width: 32rem;
  98. margin: 5px auto 0;
  99. }
  100. main p {
  101. line-height: 1.25;
  102. max-width: 26rem;
  103. margin: 15px auto 0;
  104. }
  105. footer {
  106. display: grid;
  107. grid-template-columns: 1fr 1fr 1fr;
  108. gap: 5px;
  109. padding: 25px 0;
  110. position: fixed;
  111. box-sizing: border-box;
  112. left: 50%;
  113. bottom: 0;
  114. width: 960px;
  115. transform: translateX(-50%);
  116. transform-style: preserve-3d;
  117. border-top: 1px solid #efefef;
  118. }
  119. .option {
  120. display: grid;
  121. grid-template-columns: min-content 1fr;
  122. gap: 10px;
  123. box-sizing: border-box;
  124. text-decoration: none;
  125. }
  126. .option svg {
  127. width: 1.5rem;
  128. height: 1.5rem;
  129. fill: gray;
  130. border: 1px solid #d6d6d6;
  131. padding: 5px;
  132. border-radius: 100%;
  133. }
  134. .option p {
  135. font-weight: 300;
  136. line-height: 1.25;
  137. color: #525252;
  138. display: table;
  139. }
  140. .option .option__heading {
  141. color: #19865C;
  142. font-size: 1.25rem;
  143. font-weight: 400;
  144. }
  145. @media (max-width: 996px) {
  146. body, footer {
  147. max-width: 780px;
  148. }
  149. }
  150. @media (max-width: 800px) {
  151. footer {
  152. height: 100%;
  153. grid-template-columns: 1fr;
  154. gap: 60px;
  155. position: relative;
  156. padding: 25px;
  157. }
  158. .figure {
  159. margin-top: 10px;
  160. }
  161. main {
  162. padding: 0 25px;
  163. }
  164. main h1 {
  165. font-size: 1.25rem;
  166. }
  167. header {
  168. grid-template-columns: 1fr;
  169. padding-left: 20px;
  170. padding-right: 20px;
  171. }
  172. footer {
  173. width: 100%;
  174. margin-top: 50px;
  175. }
  176. }
  177. @media (min-width: 801px) and (max-height: 730px) {
  178. .figure {
  179. margin-top: 80px;
  180. }
  181. }
  182. @media (min-width: 801px) and (max-height: 600px) {
  183. footer {
  184. position: relative;
  185. margin: 135px auto 0;
  186. }
  187. .figure {
  188. margin-top: 50px;
  189. }
  190. }
  191. .sr-only {
  192. clip: rect(1px, 1px, 1px, 1px);
  193. clip-path: inset(50%);
  194. height: 1px;
  195. overflow: hidden;
  196. position: absolute;
  197. white-space: nowrap;
  198. width: 1px;
  199. }
  200. </style>
  201. </head>
  202. <body>
  203. <header>
  204. <a class="logo" href="https://www.djangoproject.com/" target="_blank" rel="noopener">
  205. django
  206. </a>
  207. <p>{% blocktranslate %}View <a href="https://docs.djangoproject.com/en/{{ version }}/releases/" target="_blank" rel="noopener">release notes</a> for Django {{ version }}{% endblocktranslate %}</p>
  208. </header>
  209. <main>
  210. <svg class="figure" viewBox="0 0 508 268" aria-hidden="true">
  211. <path d="M305.2 156.6c0 4.6-.5 9-1.6 13.2-2.5-4.4-5.6-8.4-9.2-12-4.6-4.6-10-8.4-16-11.2 2.8-11.2 4.5-22.9 5-34.6 1.8 1.4 3.5 2.9 5 4.5 10.5 10.3 16.8 24.5 16.8 40.1zm-75-10c-6 2.8-11.4 6.6-16 11.2-3.5 3.6-6.6 7.6-9.1 12-1-4.3-1.6-8.7-1.6-13.2 0-15.7 6.3-29.9 16.6-40.1 1.6-1.6 3.3-3.1 5.1-4.5.6 11.8 2.2 23.4 5 34.6z" fill="#2E3B39" fill-rule="nonzero"/>
  212. <path d="M282.981 152.6c16.125-48.1 6.375-104-29.25-142.6-35.625 38.5-45.25 94.5-29.25 142.6h58.5z" stroke="#FFF" stroke-width="3.396" fill="#6DDCBD"/>
  213. <path d="M271 29.7c-4.4-10.6-9.9-20.6-16.6-29.7-6.7 9-12.2 19-16.6 29.7H271z" stroke="#FFF" stroke-width="3" fill="#2E3B39"/>
  214. <circle fill="#FFF" cx="254.3" cy="76.8" r="15.5"/>
  215. <circle stroke="#FFF" stroke-width="7" fill="#6DDCBD" cx="254.3" cy="76.8" r="12.2"/>
  216. <path class="smoke" d="M507.812 234.24c0-2.16-.632-4.32-1.58-6.24-3.318-6.72-11.85-11.52-21.804-11.52-1.106 0-2.212.12-3.318.24-.474-11.52-12.956-20.76-28.282-20.76-3.318 0-6.636.48-9.638 1.32-4.74-6.72-14.062-11.28-24.806-11.28-.79 0-1.58 0-2.37.12-.79 0-1.58-.12-2.37-.12-10.744 0-20.066 4.56-24.806 11.28a35.326 35.326 0 00-9.638-1.32c-15.642 0-28.282 9.6-28.282 21.48 0 1.32.158 2.76.474 3.96a26.09 26.09 0 00-4.424-.36c-8.058 0-15.01 3.12-19.118 7.8-3.476-1.68-7.742-2.76-12.324-2.76-12.008 0-21.804 7.08-22.752 15.96h-.158c-9.322 0-17.38 4.32-20.856 10.44-4.108-3.6-10.27-6-17.222-6h-1.264c-6.794 0-12.956 2.28-17.222 6-3.476-6.12-11.534-10.44-20.856-10.44h-.158c-.948-9-10.744-15.96-22.752-15.96-4.582 0-8.69.96-12.324 2.76-4.108-4.68-11.06-7.8-19.118-7.8-1.422 0-3.002.12-4.424.36.316-1.32.474-2.64.474-3.96 0-11.88-12.64-21.48-28.282-21.48-3.318 0-6.636.48-9.638 1.32-4.74-6.72-14.062-11.28-24.806-11.28-.79 0-1.58 0-2.37.12-.79 0-1.58-.12-2.37-.12-10.744 0-20.066 4.56-24.806 11.28a35.326 35.326 0 00-9.638-1.32c-15.326 0-27.808 9.24-28.282 20.76-1.106-.12-2.212-.24-3.318-.24-9.954 0-18.486 4.8-21.804 11.52-.948 1.92-1.58 4.08-1.58 6.24 0 4.8 2.528 9.12 6.636 12.36-.79 1.44-1.264 3.12-1.264 4.8 0 7.2 7.742 13.08 17.222 13.08h462.15c9.48 0 17.222-5.88 17.222-13.08 0-1.68-.474-3.36-1.264-4.8 4.582-3.24 7.11-7.56 7.11-12.36z" fill="#E6E9EE"/>
  217. <path fill="#6DDCBD" d="M239 152h30v8h-30z"/>
  218. <path class="exhaust__line" fill="#E6E9EE" d="M250 172h7v90h-7z"/>
  219. <path class="flame" d="M250.27 178.834l-5.32-8.93s-2.47-5.7 3.458-6.118h10.26s6.232.266 3.306 6.194l-5.244 8.93s-3.23 4.37-6.46 0v-.076z" fill="#AA2247"/>
  220. </svg>
  221. <h1>{% translate "The install worked successfully! Congratulations!" %}</h1>
  222. <p>{% blocktranslate %}You are seeing this page because <a href="https://docs.djangoproject.com/en/{{ version }}/ref/settings/#debug" target="_blank" rel="noopener">DEBUG=True</a> is in your settings file and you have not configured any URLs.{% endblocktranslate %}</p>
  223. </main>
  224. <footer>
  225. <a class="option" href="https://docs.djangoproject.com/en/{{ version }}/" target="_blank" rel="noopener">
  226. <svg viewBox="0 0 24 24" aria-hidden="true">
  227. <path d="M9 21c0 .55.45 1 1 1h4c.55 0 1-.45 1-1v-1H9v1zm3-19C8.14 2 5 5.14 5 9c0 2.38 1.19 4.47 3 5.74V17c0 .55.45 1 1 1h6c.55 0 1-.45 1-1v-2.26c1.81-1.27 3-3.36 3-5.74 0-3.86-3.14-7-7-7zm2.85 11.1l-.85.6V16h-4v-2.3l-.85-.6A4.997 4.997 0 017 9c0-2.76 2.24-5 5-5s5 2.24 5 5c0 1.63-.8 3.16-2.15 4.1z"></path>
  228. </svg>
  229. <p>
  230. <span class="option__heading">{% translate "Django Documentation" %}</span><span class="sr-only">.</span><br>
  231. {% translate 'Topics, references, &amp; how-to’s' %}
  232. </p>
  233. </a>
  234. <a class="option" href="https://docs.djangoproject.com/en/{{ version }}/intro/tutorial01/" target="_blank" rel="noopener">
  235. <svg viewBox="0 0 24 24" aria-hidden="true">
  236. <path d="M9.4 16.6L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4zm5.2 0l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4z"></path>
  237. </svg>
  238. <p>
  239. <span class="option__heading">{% translate "Tutorial: A Polling App" %}</span><span class="sr-only">.</span><br>
  240. {% translate "Get started with Django" %}
  241. </p>
  242. </a>
  243. <a class="option" href="https://www.djangoproject.com/community/" target="_blank" rel="noopener">
  244. <svg viewBox="0 0 24 24" aria-hidden="true">
  245. <path d="M16.5 13c-1.2 0-3.07.34-4.5 1-1.43-.67-3.3-1-4.5-1C5.33 13 1 14.08 1 16.25V19h22v-2.75c0-2.17-4.33-3.25-6.5-3.25zm-4 4.5h-10v-1.25c0-.54 2.56-1.75 5-1.75s5 1.21 5 1.75v1.25zm9 0H14v-1.25c0-.46-.2-.86-.52-1.22.88-.3 1.96-.53 3.02-.53 2.44 0 5 1.21 5 1.75v1.25zM7.5 12c1.93 0 3.5-1.57 3.5-3.5S9.43 5 7.5 5 4 6.57 4 8.5 5.57 12 7.5 12zm0-5.5c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2zm9 5.5c1.93 0 3.5-1.57 3.5-3.5S18.43 5 16.5 5 13 6.57 13 8.5s1.57 3.5 3.5 3.5zm0-5.5c1.1 0 2 .9 2 2s-.9 2-2 2-2-.9-2-2 .9-2 2-2z"></path>
  246. </svg>
  247. <p>
  248. <span class="option__heading">{% translate "Django Community" %}</span><span class="sr-only">.</span><br>
  249. {% translate "Connect, get help, or contribute" %}
  250. </p>
  251. </a>
  252. </footer>
  253. </body>
  254. </html>