Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

default.html 3.5 KB

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. {% include head.html %}
  5. <script>
  6. $(document).ready(function() {
  7. // Initialize navgoco with default options
  8. $("#mysidebar").navgoco({
  9. caretHtml: '',
  10. accordion: true,
  11. openClass: 'active', // open
  12. save: false, // leave false or nav highlighting doesn't work right
  13. cookie: {
  14. name: 'navgoco',
  15. expires: false,
  16. path: '/'
  17. },
  18. slide: {
  19. duration: 400,
  20. easing: 'swing'
  21. }
  22. });
  23. $("#collapseAll").click(function(e) {
  24. e.preventDefault();
  25. $("#mysidebar").navgoco('toggle', false);
  26. });
  27. $("#expandAll").click(function(e) {
  28. e.preventDefault();
  29. $("#mysidebar").navgoco('toggle', true);
  30. });
  31. // activate menu items where href is matching to current page
  32. $("#mysidebar a[href='" + location.pathname.match(/\/([^\/]*)$/)[1] + "']")
  33. .parents('li').addClass('active')
  34. .parents('ul').css('display', 'block');
  35. });
  36. </script>
  37. <script>
  38. $(function () {
  39. $('[data-toggle="tooltip"]').tooltip()
  40. })
  41. </script>
  42. <script>
  43. $(document).ready(function() {
  44. $("#tg-sb-link").click(function() {
  45. $("#tg-sb-sidebar").toggle();
  46. $("#tg-sb-content").toggleClass('col-md-9');
  47. $("#tg-sb-content").toggleClass('col-md-12');
  48. $("#tg-sb-icon").toggleClass('fa-toggle-on');
  49. $("#tg-sb-icon").toggleClass('fa-toggle-off');
  50. });
  51. });
  52. </script>
  53. {% if page.datatable == true %}
  54. <!-- Include the standard DataTables bits -->
  55. <link rel="stylesheet" type="text/css" href="//cdn.datatables.net/1.10.13/css/jquery.dataTables.css">
  56. <script type="text/javascript" charset="utf8" src="//cdn.datatables.net/1.10.13/js/jquery.dataTables.js"></script>
  57. <!-- First, this walks through the tables that occur between ...-begin
  58. and ...-end and add the "datatable" class to them.
  59. Then it invokes DataTable's standard initializer
  60. Credit here: http://www.beardedhacker.com/blog/2015/08/28/add-class-attribute-to-markdown-table/
  61. -->
  62. <script>
  63. $(document).ready(function(){
  64. $('div.datatable-begin').nextUntil('div.datatable-end', 'table').addClass('display');
  65. $('table.display').DataTable( {
  66. paging: true,
  67. stateSave: true,
  68. searching: true
  69. });
  70. });
  71. </script>
  72. {% endif %}
  73. </head>
  74. <body>
  75. {% include topnav.html %}
  76. <!-- Page Content -->
  77. <div class="container">
  78. <div id="main">
  79. <!-- Content Row -->
  80. <div class="row">
  81. {% assign content_col_size = "col-md-12" %}
  82. {% unless page.hide_sidebar %}
  83. <!-- Sidebar Column -->
  84. <div class="col-md-3" id="tg-sb-sidebar">
  85. {% include sidebar.html %}
  86. </div>
  87. {% assign content_col_size = "col-md-9" %}
  88. {% endunless %}
  89. <!-- Content Column -->
  90. <div class="{{content_col_size}}" id="tg-sb-content">
  91. {{content}}
  92. </div>
  93. <!-- /.row -->
  94. </div>
  95. <!-- /.container -->
  96. </div>
  97. <!-- /#main -->
  98. </div>
  99. </body>
  100. {% if site.google_analytics %}
  101. {% include google_analytics.html %}
  102. {% endif %}
  103. </html>
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...