Skip to content

Commit 8485f7f

Browse files
authored
Qualtrics survey (#96)
1 parent c208853 commit 8485f7f

File tree

4 files changed

+86
-2
lines changed

4 files changed

+86
-2
lines changed

assets/css/f5-hugo.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1652,4 +1652,22 @@ li.nav-item a.nav-link {
16521652

16531653
.last-modified {
16541654
font-weight:300;
1655+
}
1656+
1657+
.QSIUserDefinedHTML {
1658+
width: 83% !important;
1659+
}
1660+
1661+
div.QSIUserDefinedHTML * {
1662+
width: 100% !important;
1663+
}
1664+
1665+
@media (max-width: 618px) {
1666+
.QSIUserDefinedHTML {
1667+
height: 550px !important;
1668+
}
1669+
1670+
div.QSIUserDefinedHTML * {
1671+
height: 550px !important;
1672+
}
16551673
}

layouts/_default/docs.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,16 @@ <h1>{{ .Title }}</h1>
2424

2525
{{ .Content }}
2626
{{ partial "version-list" . }}
27+
{{ partial "qualtrics-feedback.html" }}
2728
<hr>
28-
29+
2930
{{ if .Page.Lastmod }}
3031
<div class="last-modified">
3132
Last modified {{ .Page.Lastmod.Format "January 2, 2006" }}
3233
</div>
3334
{{ end }}
3435

35-
{{ partial "previous-next-links-in-section-with-title.html" . }}
36+
{{ partial "previous-next-links-in-section-with-title.html" . }}
3637
</main>
3738
{{ if and (gt .WordCount 200 ) (.Params.toc) }}
3839
{{ if (add (len (findRE "<h3" .Content)) (len (findRE "<h2" .Content))) }}

layouts/partials/meta.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@
5252
https://cdn.bizible.com/xdc.js
5353
https://f5networksglobalprod.122.2o7.net/
5454
https://f5networksnginxdocs.122.2o7.net/
55+
https://*.siteintercept.qualtrics.com/SIE/?Q_ZID=*
56+
https://siteintercept.qualtrics.com/
5557
{{ if in .Params.doctypes "devportal" }} 'unsafe-eval' {{end}};
5658
worker-src 'self' blob:">
5759
{{/* end */}}
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
<!--BEGIN QUALTRICS WEBSITE FEEDBACK SNIPPET-->
2+
<script type='text/javascript'>
3+
(function(){var g=function(e,h,f,g){
4+
this.get=function(a){
5+
for(var a=a+"=",c=document.cookie.split(";"),b=0,e=c.length;b<e;b++){
6+
for(var d=c[b];" "==d.charAt(0);)
7+
d=d.substring(1,d.length);
8+
if(0==d.indexOf(a))
9+
return d.substring(a.length,d.length)
10+
}
11+
return null
12+
};
13+
14+
this.set=function(a,c){
15+
var b="",b=new Date;
16+
b.setTime(b.getTime()+6048E5);
17+
b="; expires="+b.toGMTString();
18+
document.cookie=a+"="+c+b+"; path=/; "
19+
};
20+
21+
this.check=function(){
22+
var a=this.get(f);
23+
if(a)
24+
a=a.split(":");
25+
else if(100!=e)
26+
"v"==h&&(e=Math.random()>=e/100?0:100),
27+
a=[h,e,0],
28+
this.set(f,a.join(":"));
29+
else
30+
return!0;
31+
var c=a[1];
32+
if(100==c)
33+
return!0;
34+
switch(a[0]){
35+
case "v":
36+
return!1;
37+
case "r":
38+
return c=a[2]%Math.floor(100/c),a[2]++,this.set(f,a.join(":")),!c
39+
}
40+
return!0
41+
};
42+
43+
this.go=function(){
44+
if(this.check()){
45+
var a=document.createElement("script");
46+
a.type="text/javascript";
47+
a.src=g;document.body&&document.body.appendChild(a)
48+
}
49+
};
50+
51+
this.start=function(){
52+
var t=this;
53+
"complete"!==document.readyState?window.addEventListener ?
54+
window.addEventListener("load",function(){t.go()},!1) :
55+
window.attachEvent&&window.attachEvent("onload",function(){t.go()}):t.go()};};
56+
try{
57+
(new g(100,"r","QSI_S_ZN_2YG73ads2zp5bN0","https://zn2yg73ads2zp5bn0-f5.siteintercept.qualtrics.com/SIE/?Q_ZID=ZN_2YG73ads2zp5bN0")).start()
58+
}
59+
catch(i){}})();
60+
</script>
61+
<div style="height: 30px;"></div>
62+
<div id='ZN_2YG73ads2zp5bN0'><!--DO NOT REMOVE-CONTENTS PLACED HERE--></div>
63+
<!--END WEBSITE FEEDBACK SNIPPET-->

0 commit comments

Comments
 (0)