fork download
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
  2. <html lang="en">
  3. <head>
  4. {% block head %}
  5. <!-- Bootstrap -->
  6. <link href="{{STATIC_URL}}css/bootstrap.css" rel="stylesheet"></link>
  7. <link href="{{STATIC_URL}}css/sticky-footer-navbar.css" rel="stylesheet"></link>
  8. <link href="{{STATIC_URL}}css/style.css" rel="stylesheet"></link>
  9. <link href="{{STATIC_URL}}css/tables.css" rel="stylesheet"></link>
  10. <script src="{{STATIC_URL}}js/jquery-2.1.3.min.js"></script>
  11. <script src="{{STATIC_URL}}js/ajax.js"></script>
  12. <script src="{{STATIC_URL}}js/tables.js"></script>
  13.  
  14. <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
  15. <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
  16. <!--[if lt IE 9]>
  17. <script src="https://o...content-available-to-author-only...n.com/html5shiv/3.7.2/html5shiv.min.js"></script>
  18. <script src="https://o...content-available-to-author-only...n.com/respond/1.4.2/respond.min.js"></script>
  19. <![endif]-->
  20.  
  21. <div class="container">
  22. <div class="row">
  23. <div class="navbar navbar-inverse navbar-fixed-top">
  24. <div class="container">
  25. <div class="navbar-header">
  26. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
  27. <span class="sr-only">Open Menu</span>
  28. <span class="icon-bar"></span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. </button>
  32. <a class="navbar-brand" href="/">Kolima</a>
  33. </div>
  34. <div class="navbar-collapse collapse">
  35. <ul class="nav navbar-nav navbar-right">
  36. {% if user.is_authenticated %}
  37. <li class="navbar-text">Wellcome, {{user.username}}.</li>
  38. <li><a href="/accounts/profile/">Profile</a></li>
  39. <li><a href="/accounts/logout/">Logout</a></li>
  40. {% else %}
  41. <li><a href="/accounts/register/">Sign Up</a></li>
  42. <li><a href="/accounts/login/">Login</a></li>
  43. {% endif %}
  44. </ul>
  45. <form class="navbar-form navbar-right">
  46. <input type="text" class="form-control" id="search" name"search" placeholder="Search...">
  47. </form>
  48. </div>
  49. </div>
  50. </div>
  51. </div>
  52. </div>
  53. {% endblock head %}
  54. </head>
  55. <body>
  56. {% block content %}
  57. <!-- Begin page content -->
  58. <div class="container">
  59. {% csrf_token %}
  60. <ul id="search-results">
  61.  
  62. </ul>
  63. {% endblock content %}
  64.  
  65. {% block footer %}
  66. </div>
  67. <footer class="footer">
  68. <div class="container">
  69. <p class="text-muted">
  70. <a href="#">Contacts</a>
  71. </p>
  72. </div>
  73. </footer>
  74. {% endblock footer %}
  75. </body>
  76. </html>
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Traceback (most recent call last):
  File "/usr/lib/python3.4/py_compile.py", line 124, in compile
    _optimize=optimize)
  File "<frozen importlib._bootstrap>", line 1532, in source_to_code
  File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
  File "./prog.py", line 1
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
    ^
SyntaxError: invalid syntax

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3.4/py_compile.py", line 128, in compile
    raise py_exc
py_compile.PyCompileError:   File "./prog.py", line 1
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
    ^
SyntaxError: invalid syntax

stdout
Standard output is empty