-
Notifications
You must be signed in to change notification settings - Fork 0
/
2cards_layout.html
101 lines (91 loc) · 4.6 KB
/
2cards_layout.html
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
<!DOCTYPE html>
<html>
<head>
<!--Import Google Icon Font-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--Import materialize.css-->
<link type="text/css" rel="stylesheet" href="css/materialize.css" media="screen,projection"/>
<link rel="stylesheet" type="text/css" href="css/cards.css">
<!--Let browser know website is optimized for mobile-->
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta charset="utf-8">
<title>sdm-app</title>
<script language="javascript" type="text/javascript">
var scrt_var = window.location.href.split("=")[1] || 1;
</script>
</head>
<body>
<nav class="teal">
<h1 class="brand-logo center text-white margintop05em default-cursor">SDMAPP</h1>
<ul class="right">
<li><a class="no-hover" href="./index.html"><i class="material-icons text-white">home</i></a></ul>
<ul id="slide-out" class="side-nav" class="collection">
<li><a class="no-hover default-cursor"><h4 class="text-white">Questions</h4></a></li>
<li><a href="3cards_layout.html" onclick="gotToNextQuestion(0);return false;">What will this involve?</a></li>
<li class="divider" ></li>
<li><a href="3cards_layout.html" onclick="gotToNextQuestion(1);return false;">How will this help me get better?</a></li>
<li class="divider"></li>
<li><a href="3cards_layout.html" onclick="gotToNextQuestion(2);return false;">Will I see the same people for the duration of this help or support?</a></li>
<li class="divider"></li>
<li><a href="3cards_layout.html" onclick="gotToNextQuestion(3);return false;">Can I use other types of support alongside this?</a></li>
<li class="divider"></li>
<li><a href="3cards_layout.html" onclick="gotToNextQuestion(4);return false;">Are there risks or side effects from this type of help or support?</a></li>
<li class="divider"></li>
<li><a href="3cards_layout.html" onclick="gotToNextQuestion(5);return false;">Where can I get this support?</a></li>
<li class="divider"></li>
</ul>
<a href="#" data-activates="slide-out" class="button-collapse show-on-large"><i class="material-icons text-white ">menu</i></a>
</nav>
<section class="hbs-container"></section>
<!-- actual client side template -->
<script id="template-hbs" type="text/x-handlebars-template">
<div class="row s12 p-40">
<div class="question">
<h2>{{getQuestion questions}}</h2>
</div>
<div class="col s12 m12 l4">
<div class="card horizontal transparent">
<div class="card-image">
<img src={{treatments.practical_support.icon}} alt="" />
</div>
<div class="card-stacked">
<div class="card-content">
<p>{{getPracticalSupport questions}}</p>
</div>
</div>
</div>
</div>
<div class="col s12 m12 l8">
<div class="card horizontal transparent">
<div class="try">
<div class="card-image-duo">
<img src={{treatments.talking_therapy.icon}} alt="" />
</div>
<div class="card-image-duo">
<img src={{treatments.medication.icon}} alt="" />
</div>
</div>
<div class="card-stacked-duo">
<div class="card-content">
<p>{{getTalkingTherapy questions}}</p>
</div>
</div>
</div>
</div>
<div class="redirect">
<a class="waves-effect waves-light btn-large prev" href="3cards_layout.html" id="next" onclick="goToPreviousQuestion(scrt_var);return false;">Previous question<i class="material-icons left rotate_180">send</i></a>
<a class="waves-effect waves-light btn-large next" href="3cards_layout.html" id="next" onclick="gotToNextQuestion(scrt_var);return false;">Next question<i class="material-icons right">send</i></a>
</div>
</div>
</script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<script src="js/jquery.matchHeight.js" type="text/javascript"></script>
<script type="text/javascript" src="js/materialize.js"></script>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.5/handlebars.min.js"></script>
<script src="js/helper.js"></script>
<script type="text/javascript" src="js/cards.js"></script>
<script type="text/javascript" src="js/index.js"></script>
<script type="text/javascript" src="js/nextQuestion.js"></script>
<script type="text/javascript" src="js/previousQuestion.js"></script>
</body>
</html>