index.html 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <!doctype html>
  2. <title>CodeMirror: Jade Templating Mode</title>
  3. <meta charset="utf-8"/>
  4. <link rel=stylesheet href="../../doc/docs.css">
  5. <link rel="stylesheet" href="../../lib/codemirror.css">
  6. <script src="../../lib/codemirror.js"></script>
  7. <script src="../javascript/javascript.js"></script>
  8. <script src="../css/css.js"></script>
  9. <script src="../xml/xml.js"></script>
  10. <script src="../htmlmixed/htmlmixed.js"></script>
  11. <script src="jade.js"></script>
  12. <style type="text/css">.CodeMirror {border-top: 1px solid black; border-bottom: 1px solid black;}</style>
  13. <div id=nav>
  14. <a href="http://codemirror.net"><h1>CodeMirror</h1><img id=logo src="../../doc/logo.png"></a>
  15. <ul>
  16. <li><a href="../../index.html">Home</a>
  17. <li><a href="../../doc/manual.html">Manual</a>
  18. <li><a href="https://github.com/codemirror/codemirror">Code</a>
  19. </ul>
  20. <ul>
  21. <li><a href="../index.html">Language modes</a>
  22. <li><a class=active href="#">Jade Templating Mode</a>
  23. </ul>
  24. </div>
  25. <article>
  26. <h2>Jade Templating Mode</h2>
  27. <form><textarea id="code" name="code">
  28. doctype html
  29. html
  30. head
  31. title= "Jade Templating CodeMirror Mode Example"
  32. link(rel='stylesheet', href='/css/bootstrap.min.css')
  33. link(rel='stylesheet', href='/css/index.css')
  34. script(type='text/javascript', src='/js/jquery-1.9.1.min.js')
  35. script(type='text/javascript', src='/js/bootstrap.min.js')
  36. body
  37. div.header
  38. h1 Welcome to this Example
  39. div.spots
  40. if locals.spots
  41. each spot in spots
  42. div.spot.well
  43. div
  44. if spot.logo
  45. img.img-rounded.logo(src=spot.logo)
  46. else
  47. img.img-rounded.logo(src="img/placeholder.png")
  48. h3
  49. a(href=spot.hash) ##{spot.hash}
  50. if spot.title
  51. span.title #{spot.title}
  52. if spot.desc
  53. div #{spot.desc}
  54. else
  55. h3 There are no spots currently available.
  56. </textarea></form>
  57. <script>
  58. var editor = CodeMirror.fromTextArea(document.getElementById("code"), {
  59. mode: {name: "jade", alignCDATA: true},
  60. lineNumbers: true
  61. });
  62. </script>
  63. <h3>The Jade Templating Mode</h3>
  64. <p> Created by Forbes Lindesay. Managed as part of a Brackets extension at <a href="https://github.com/ForbesLindesay/jade-brackets">https://github.com/ForbesLindesay/jade-brackets</a>.</p>
  65. <p><strong>MIME type defined:</strong> <code>text/x-jade</code>.</p>
  66. </article>
PANIC: session(release): write data/sessions/7/c/7ca2ede9f78f8452: no space left on device

PANIC

session(release): write data/sessions/7/c/7ca2ede9f78f8452: no space left on device
github.com/go-macaron/session@v0.0.0-20190805070824-1a3cdc6f5659/session.go:199 (0x8b2934)
gopkg.in/macaron.v1@v1.3.9/context.go:79 (0x83d0a0)
github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:157 (0x80ab07)
github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:135 (0x80a8a8)
gopkg.in/macaron.v1@v1.3.9/context.go:121 (0x83d1f8)
gopkg.in/macaron.v1@v1.3.9/context.go:112 (0x84fdb5)
gopkg.in/macaron.v1@v1.3.9/recovery.go:161 (0x84fda8)
gopkg.in/macaron.v1@v1.3.9/logger.go:40 (0x840c73)
github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:157 (0x80ab07)
github.com/go-macaron/inject@v0.0.0-20160627170012-d8a0b8677191/inject.go:135 (0x80a8a8)
gopkg.in/macaron.v1@v1.3.9/context.go:121 (0x83d1f8)
gopkg.in/macaron.v1@v1.3.9/router.go:187 (0x850fc6)
gopkg.in/macaron.v1@v1.3.9/router.go:303 (0x8493e5)
gopkg.in/macaron.v1@v1.3.9/macaron.go:220 (0x841fca)
net/http/server.go:2836 (0x7a79b2)
net/http/server.go:1924 (0x7a341b)
runtime/asm_amd64.s:1373 (0x46f9f0)