The Obelisk.haml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. -# coding: utf-8
  2. /
  3. = File.read "LICENSE"
  4. !!! 5
  5. %html
  6. %head
  7. %meta{:charset => "UTF-8"}
  8. %meta{:name => "referrer", :content => "no-referrer"}
  9. %meta{:name => "viewport", :content => "minimal-ui, width=device-width, height=device-height, initial-scale=1, maximum-scale=1, user-scalable=no"}
  10. %meta{:name => "apple-mobile-web-app-capable", :content => "yes"}
  11. %meta{:name => "apple-mobile-web-app-status-bar-style", :content => "black"}
  12. %meta{:name => "mobile-web-app-capable", :content => "yes"}
  13. %link{:rel => "shortcut icon", :sizes => "196x196", :href => "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAMAAAD04JH5AAABL1BMVEUAAAAOVAAOVAAAAAAAAAAOVAAJOQANUwAOVAAOVAAOVAAOVAAOVAAOVAAOVAADEgAGJQAAAAAAAAAOVAAOVAAOVAAAAAAOVAAAAAAOVAAOVAAAAAAOVAAOVAAOVAAAAAAAAAAOVAAOVAAOVAAAAAAOVAAOVAAAAAAAAAAAAAAAAAAOVAAOVAAOVAAAAAAOVAAAAAAOVAAAAAAOVAAOVAAOVAAAAAAAAAAAAAAOVAAAAAAOVAAOVAAAAAAAAAAOVAAAAAAAAAAAAAAOVAAAAAACDQAOVAAAAAAMSAAHLAACCwAAAAAOVAAOVAALQQAOVAAOVAAAAQAOVAAAAAAAAwAKQQACCwAMSAAINAANTwANTAABBwAGJwAFIgAEFwACDwALRQAFHAADFAAJOgAHLgBZrvIiAAAAUnRSTlMAMM8wz/4D3AnvJB4T+V8LBfjz1LqjKxkXD/Pr5cnDvo13SUL79uni3smrno6GfWxcU0o7LiomH+Pg1720sKGXlnJmZU88ORD35tTUzKiBfmQyliy5MwAAA59JREFUeNrs1b2qhDAQhuGBSNguJkUIpDCF4E8hYqEiKLq4WGy1jPd/LcfiNGfZVZsJHPC5greZb+Dy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D/AAAA/wAAAP8AAQD/ADkH7wBbD/8AXA//AFkP/wBUDXcAAAAAAAAAAAAAAAAAUw43AFgPdwBgD0UAAACBAAAA/wAAAP8AAAD/AAAA/wAAAIMAYg9EAFgPdwBSDjgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAfQAAAP8AAAD/AAAA/wAAAP8AAAB+AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH8AAAD/AAAA/wAAAP8AAAD/AAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB/AAAA/wAAAP8AAAD/AAAA/wAAAIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgFNTU/9TU1P/U1NT/1NTU/8AAACBAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAAD/LS0t/y0tLf8AAAD/AAAAggAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABTAAAA/y0tLf8tLS3/AAAA/wAAAFYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAMEtLS3/LS0t/wAAAMIAAAAJAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAJAAAAZQAAAGYAAAAKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA"}
  17. %style{:media=>"screen", :type=>"text/css"}
  18. = File.read "lib/normalize.css"
  19. = " "
  20. = File.read "stylesheets/screen.css"
  21. %body
  22. #loadingScreen
  23. #imageViewer
  24. #hoverInfo
  25. #hoverIcon
  26. #hoverContent
  27. As
  28. #modalWindow
  29. #modalContent.scrollbar
  30. #optionsWindow
  31. %h1="Options"
  32. %p="This is where you set the options!"
  33. #mainPage
  34. -##statusLine
  35. -# .leftRightFlex#statusLineFlex
  36. -# .noshrinkFlex.statusColumnDivider#statusLineStart
  37. -# .noshrinkFlex.statusColumnDivider#statusLineEnd
  38. -# .growingFlex
  39. -# .noshrinkFlex.alignRight.statusColumnDivider
  40. -# .noshrinkFlex.statusColumnRight.alignCenter.statusColumnHeader
  41. -# %a.statusLink#SettingsButton="Settings"
  42. -# .noshrinkFlex.statusColumnDivider
  43. -# .noshrinkFlex.statusColumnRight.alignCenter.statusColumnHeader
  44. -# %a.statusLink#SaveGameButton="Save"
  45. -# .noshrinkFlex.statusColumnDivider
  46. #gameContainer
  47. #windowContainer
  48. #leftWindow
  49. .topBottomFlex
  50. #appearanceTab.growingFlex.scrollbar
  51. %p.appearanceHeader="Appearance:"
  52. #appearanceTarget
  53. .growingFlex
  54. .noshrinkFlex.scrollbar
  55. -#inventoryTab.noshrinkFlex
  56. #inventoryTarget
  57. #centerWindow
  58. .topBottomFlex
  59. #currentTurn.growingFlex.scrollbar
  60. .topBottomFlex
  61. #forceTurnToBottom.growingFlex
  62. #currentTurnTab.noshrinkFlex
  63. #forceTurnToTop.growingFlex
  64. #currentRoomTab.noshrinkFlex
  65. %p.roomName#roomName
  66. #roomDescription
  67. #hyperlinksTab.noshrinkFlex
  68. #commonActionsTab
  69. #linkTarget
  70. #linkActions
  71. #fakeparserTab.noshrinkFlex
  72. %a#currentCommand>
  73. %a#fakeParserThingy="_"
  74. #rightWindow
  75. .topBottomFlex
  76. #mapTab.growingFlex.scrollbar
  77. #mapTarget
  78. #sceneAnimation
  79. %a.sceneAnimation#orcAnim
  80. #roomExitsHolder
  81. %p.roomExitsHeader="Exits:"
  82. #roomExits
  83. -###########
  84. -# Relative File for Debugging
  85. -#%script{:type => "text/javascript", :charset=>"utf8", :src => "../js/Application.js"}
  86. -###########
  87. -# Optimized No Debug Data URL
  88. = "<script id=\"ApplicationJS\" type=\"text/javascript\", charset=\"utf8\", src=\"data:application/javascript," + (URI.encode("(function(){\n" + (File.read "js/Application.js").encode!('UTF-8', 'UTF-8', :invalid => :replace).gsub("console.debug(", "//")) + "\n})()") + "\"></script>";
  89. -###########
  90. %style{:media=>"screen", :type=>"text/css"}
  91. = File.read "stylesheets/fonts.css"
  92. %style{:media=>"screen", :type=>"text/css"}
  93. = File.read "stylesheets/images.css"