fork download
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
  2. <html lang="en">
  3. <head>
  4. <title>My Home Page</title>
  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 type="text/css" href="{{STATIC_URL}}css/style.css" rel="stylesheet"></link>
  9. <link type="text/css" 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. </head>
  21. <body>
  22. <div class="container">
  23. <div class="row">
  24. <div class="navbar navbar-inverse navbar-fixed-top">
  25. <div class="container">
  26. <div class="navbar-header">
  27. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
  28. <span class="sr-only">Open Menu</span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. </button>
  33. <a class="navbar-brand" href="/">Kolima</a>
  34. </div>
  35. <div class="navbar-collapse collapse">
  36. <ul class="nav navbar-nav navbar-right">
  37. {% if user.is_authenticated %}
  38. <li class="navbar-text">Wellcome, {{user.username}}.</li>
  39. <li><a href="/accounts/profile/">Profile</a></li>
  40. <li><a href="/accounts/logout/">Logout</a></li>
  41. {% else %}
  42. <li><a href="/accounts/register/">Sign Up</a></li>
  43. <li><a href="/accounts/login/">Login</a></li>
  44. {% endif %}
  45. </ul>
  46. <form class="navbar-form navbar-right">
  47. <input type="text" class="form-control" id="search" name"search" placeholder="Search...">
  48. </form>
  49. </div>
  50. </div>
  51. </div>
  52. </div>
  53. </div>
  54.  
  55.  
  56. <!-- Begin page content -->
  57. <div class="container">
  58. {% csrf_token %}
  59. <ul id="search-results">
  60.  
  61. </ul>
  62.  
  63.  
  64. </div>
  65. <footer class="footer">
  66. <div class="container">
  67. <p class="text-muted">Place sticky footer content here.</p>
  68. </div>
  69. </footer>
  70. {% block sidebar %}
  71. {% endblock %}
  72.  
  73.  
  74. </body>
  75. </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