layout.html 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {% extends '../../layout/layout.html' %}
  2. {% block layout_main %}
  3. <div class="container-fluid">
  4. <div class="row bg-title">
  5. <div class="col-xs-12">
  6. {% block content_header %}
  7. {% endblock %}
  8. </div>
  9. </div><!-- /.bg-title -->
  10. <div class="row">
  11. <div id="main" class="main m-t-15 col-md-12 {% if page %}{{ css.grant(page) }}{% endif %} {% block main_css_class %}{% endblock %}">
  12. {% block content_main_before %}
  13. {% endblock %}
  14. {% block content_main %}
  15. {% endblock content_main %}
  16. {% block content_main_after %}
  17. {% endblock %}
  18. </div>
  19. </div>
  20. </div><!-- /.container-fluid -->
  21. <!-- Side Scroll Bar-->
  22. <script>
  23. /*
  24. * Disabled temporally -- 2018.06.06 Yuki Takei
  25. * see https://weseek.myjetbrains.com/youtrack/issue/GC-278
  26. *
  27. function DrawScrollbar() {
  28. var h = window.innerHeight - document.getElementById('page-header').clientHeight ;
  29. $('#revision-toc-content').slimScroll({
  30. railVisible: true,
  31. position: 'right',
  32. height: h,
  33. });
  34. }
  35. $(function(){
  36. DrawScrollbar();
  37. });
  38. (function () {
  39. var timer = 0;
  40. window.onresize = function () {
  41. if (timer > 0) {
  42. clearTimeout(timer);
  43. }
  44. timer = setTimeout(function () {
  45. DrawScrollbar();
  46. }, 200);
  47. };
  48. }());
  49. */
  50. </script>
  51. <footer class="footer">
  52. {% include '../../widget/system-version.html' %}
  53. </footer>
  54. {% endblock %} {# layout_main #}