-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathLibGuides_template_subject.html
More file actions
160 lines (149 loc) · 5.47 KB
/
Copy pathLibGuides_template_subject.html
File metadata and controls
160 lines (149 loc) · 5.47 KB
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
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<body class="s-lib-public-body subjects homepagerefresh">
<meta name="group" content="Profiles">
{{skip_link}}
<style>
.s-lib-public-side-header {
padding-top: 5px;
}
#s-lib-public-header-desc,
ul.nav-tabs li a {
font-size: 14px
}
.tab-content>.tab-pane {
padding-left:10px;
}
.s-lib-box-content {
margin-bottom:.5em;
}
.s-lib-box-content,
.s-lib-box-content .s-lg-small {
padding:6px 10px;
font-size: 14px!important;
}
.s-lib-box-content .s-lg-small {
padding:0;
}
.s-lib-box-content:hover {
background-color: #eaeaea;
}
.s-lib-box-content a:hover {
text-decoration: none;
color: #990000;
}
.input-append form input.form-control {
width:auto;
display: inline-block;
}
.input-append form button.btn-info {
display: inline-block;
vertical-align: baseline;
}
.s-lg-az-result-badge-featured {
display:none;
}
#s-lg-sb-content-databases .s-lg-db-panel-title {
display:none;
}
i.s-lib-popover {
display:none;
}
</style>
<script type="text/javascript">
// rewrite breadcrumbs so that the "Subjects" link goes to the custom subjects page
// rather than the default one
$(document).ready(function(){
$("li#s-lib-bc-index a").attr("href", "/subjects");
$("#sel_guide_drop_chosen").width("300px");
});
</script>
<!-- HEADER AND MEGA MENU -->
{{public_header}}
<!-- FULL PAGE WRAPPER -->
<div class="container" id="fullpagewrapper-refresh">
<!-- BEGIN MIDLEVELCONTAINER -->
<div class="row" id="midlevelcontainer-refresh">
<!-- BEGIN: Content Header -->
<div id="s-lib-public-header" class="s-lib-header container s-lib-side-borders">
<h1 id="s-lib-public-header-title">{{page_title}}</h1>
<div id="s-lib-public-header-desc">{{page_description}}</div>
</div>
<!-- END: Content Header -->
<!-- BEGIN: Nav Bar -->
<div id="s-lib-public-nav" class="container s-lib-side-borders">
{{page_nav}}
</div>
<!-- END: Nav Bar -->
<!-- BEGIN: content -->
<a name="s-lg-guide-main"></a>
<div id="s-lib-public-main" class="s-lib-main container s-lib-side-borders">
<section>
<div id="s-lg-sb-search-bar" class="row">
<div id="sb-search-col-1" class="col-md-12 center">
{{navbar}}
</div>
</div>
</section>
<section>
<div id="s-lg-sb-cols" class="row">
<div id="col1" class="col-md-8 center">
<ul class="nav nav-tabs margin-bottom-med">
<!-- Guide tab -->
<li class="active">
<a href="#s-lg-sb-guides" data-toggle="tab">Guides</a>
</li>
<!-- Databases tab -->
<li class="">
<a href="#s-lg-sb-databases" data-toggle="tab">Databases</a>
</li>
</ul>
<!-- Tab panes -->
<div class="tab-content margin-bottom-med">
<div class="tab-pane active" id="s-lg-sb-guides">
<!-- Guides content -->
<div id="s-lg-sb-content-guides" class="pad-right-sm"></div>
</div>
<div class="tab-pane " id="s-lg-sb-databases">
<!-- Databases content -->
<div id="s-lg-sb-content-databases" class="pad-right-sm"></div>
</div>
</div>
</div>
<div id="col2" class="col-md-4 center">
<div style="padding-top: 9px;"></div>
{{content_box_search}}
{{content_box_experts}}
</div>
</div>
</section>
</div>
<!-- END: content -->
<!-- Script to force the Databases tab to be active when ?t=db parameter is present in the URL -->
<script type="text/javascript">
$(document).ready(function(){
function getUrlParameter(sParam)
{
var sPageURL = window.location.search.substring(1);
var sURLVariables = sPageURL.split('&');
for (var i = 0; i < sURLVariables.length; i++)
{
var sParameterName = sURLVariables[i].split('=');
if (sParameterName[0] == sParam)
{
return sParameterName[1];
}
}
}
/* if the URL has the parameter &t=db then manually
// set the click event for the 'Databases' tab. */
if (getUrlParameter('t') == 'db') {
$('a[href="#s-lg-sb-databases"]').click();
}
});
</script>
</div>
<!-- END MIDLEVELCONTAINER -->
</div>
<!-- END FULL PAGE WRAPPER -->
<!-- THIS INCLUDED EVERYTHING IN FOOTER CODE, SUCH AS #FOOTER -->
{{public_footer}}
</body>