-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtestimonials.html
More file actions
42 lines (41 loc) · 1.13 KB
/
testimonials.html
File metadata and controls
42 lines (41 loc) · 1.13 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
---
title: Testimonials
permalink: /testimonials/
layout: default
---
<script>
$(document).ready(function(){
var page = 1;
var results = $.get('{{site.raudraurl}}testimonials/?limit=12&page='+page, function(data){
testimonials = data.results;
console.log(data);
page += 1;
var text = "<div class='row'>"
for (var i=0; i<testimonials.length; i++){
// text += ";
person = testimonials[i];
text += "<div class='col-md-4 person-box common-col'><h4><b>"+person.name+"</b>  <b>"+person.college+"</b></h4><br><img src="+person.photo+"><br><p>"+person.description+"</p></div>"
}
text += "</div>"
$("div.text").html(text);
// console.log(text);
});
});
</script>
<section id="testimonial-header">
<div class="testimonial-slide-container">
<div class="container">
<div class="row text-center">
<div>
<span><br><br><i class="fa fa-quote-left" aria-hidden="true"></i></span>
</div>
<h2>TESTIMONIALS</h2>
</div>
</div>
</div>
</section>
<section id="testimonial-body">
<div class="container">
<div class="text"></div>
</div>
</section>