forked from kamalthakker/Skills_Endorsement_Project
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test1.html
734 lines (549 loc) · 27.6 KB
/
test1.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
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
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="">
<meta name="author" content="">
<title>test</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<!-- Bootstrap core CSS - Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-fLW2N01lMqjakBkx3l/M9EahuwpSfeNvV63J5ezn3uZzapT0u7EYsXMjQV+0En5r" crossorigin="anonymous">
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<!-- type head.js -->
<script src="user/includes/typeahead.bundle.js"></script>
<link rel="stylesheet" type="text/css" href="http://twitter.github.io/typeahead.js/css/examples.css">
<!-- Select 2 -->
<link href="//cdnjs.cloudflare.com/ajax/libs/select2/4.0.1/css/select2.min.css" rel="stylesheet" />
<script src="//cdnjs.cloudflare.com/ajax/libs/select2/4.0.1/js/select2.min.js"></script>
<link rel="stylesheet" href="user/includes/select2-bootstrap.min.css">
<link rel="stylesheet" href="user/includes/select2-bootstrap.css">
<!--
http://twitter.github.io/typeahead.js/examples/
http://stackoverflow.com/questions/21893153/twitters-typeahead-js-doesnt-pop-dropdown-window
http://stackoverflow.com/questions/18156679/bootstrap-typahead-and-mysql-data-retrieving
https://github.com/twitter/typeahead.js/issues/355
<script type='text/javascript' src='//code.jquery.com/jquery-1.11.0.js'></script>
<script type='text/javascript' src="http://twitter.github.io/typeahead.js/releases/latest/typeahead.bundle.js"></script>
-->
<!-- Custom styles for this template -->
<link href="user/includes/stylesmain.css" rel="stylesheet">
<link href="user/includes/callout.css" rel="stylesheet">
<!-- Custom jscript -->
<script src="user/includes/jqueryscripts.js"></script>
<!-- AngularJS -->
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script>
<style>
/*
.toggle-accordion:before {
// content:'see more';
}
.toggle-accordion[aria-expanded="true"]:before {
//content:'see less';
}
.toggle-accordion[aria-expanded="true"]:before {
//content:'less';
}*/
body {
padding-top: 60px;
padding-bottom: 40px;
}
.in.collapse+a.btn.showdetails:before
{
content:'Hide details «';
}
.collapse+a.btn.showdetails:before
{
content:'Show details »';
}
</style>
<script type="text/javascript">
$(document).ready(function(){
/*
$('#more').click(function() {
//window.alert("sometext");
//jQuery(this).text('less about us');
//return true;
$(this).text(($(this).text() == 'less') ? 'more' : 'less');
});
*/
$('.morelessul').click(function(){ //you can give id or class name here for $('button')
/*
$(this).text(function(i,old){
return old=='+' ? '-' : '+';
}); */
if ($(this).text() == 'See more') {
//window.alert("change to see less");
$(this).text('See less');
} else {
//window.alert("change to see more");
$(this).text('See more');
}
/*
$(function(){
$('#demo').on('hide.bs.collapse', function () {
$('#button').html('<span class="glyphicon glyphicon-collapse-down"></span> Show');
})
$('#demo').on('show.bs.collapse', function () {
$('#button').html('<span class="glyphicon glyphicon-collapse-up"></span> Hide');
})
});*/
/*
http://stackoverflow.com/questions/16224636/twitter-bootstrap-collapse-change-display-of-toggle-button
* */
});
});
</script>
<script>
//$(function(){
$(document).ready(function () {
$('#makeViewEndorsementsModal').on('show.bs.modal', function (event) {
//var loadingContent = '<div class="modal-header"><h2>Processing...</h2></div><div class="modal-body"><div class="progress progress-striped active"><div class="bar" style="width: 100%;"></div></div></div>';
//var loadingContent = '<div id="ajax_loader" style="position: fixed; left: 50%; top: 50%;"><img src="https://www.drupal.org/files/issues/ajax-loader.gif"></img></div>'
var loadingContent = '<div id="ajax_loader" style="position: fixed; left: 50%; top: 50%;"><img class="img-responsive center-block" src="images/ajax-loader.gif"></img></div>'
var button = $(event.relatedTarget);
var skillname = button.data('skillname');
var skillid = button.data('skillid');
var dataString = 'skillid='+skillid;
var modal = $(this);
// Clear the old content before making the call...
$('#viewEndorsement').empty();
// Showing loading icon
$('#viewEndorsement').append(loadingContent);
/* AJAX Call */
$.ajax({
cache: false,
type: 'GET',
url: 'test.php',
data: dataString,
success: function(data)
{
$('#viewEndorsement').empty();
$('#viewEndorsement').append(data);
}
});
/* End of AJAX Call */
modal.find('.modal-title').text('Endorsement - ' + skillname);
//modal.find('.modal-body input').val(recipient);
// set maximum height
$('.modal .modal-body').css('overflow-y', 'auto');
$('.modal .modal-body').css('max-height', $(window).height() * 0.8);
});
$("input#submitEndorsement").click(function(){
// Prevent closing on save
//$("#makeViewEndorsementsModal").modal({"backdrop": "static"});
//alert($('#contact').innerHTML);
/*
$.ajax({
type: "POST",
url: "process_endorsement.php", //
data: $('form.contact').serialize(),
success: function(msg){
$("#recform").empty();
$("#recform").html(msg);
$("#thanks").append(msg);
//$("#form-content").modal('hide');
},
error: function(){
alert("failure");
}
});*/
//var msgstr = $("#recommendation").val();
//alert (msgstr);
// http://untame.net/2013/05/how-to-build-a-modal-contact-form-in-twitter-bootstrap-with-php-ajax/
var msgstr = 'recommendation="abcd"';
$.ajax({
cache: false,
type: "POST",
url: "process_endorsement.php", //
data: msgstr,
success: function(msg){
$("#recform").empty();
$("#recform").html(msg);
$("#thanks").append(msg);
//$("#form-content").modal('hide');
},
error: function(){
alert("failure");
}
});
});
$("#submitEndorsement1").click(function(){
//alert("test123");
});
$( "#contact" ).submit(function( event ) {
event.preventDefault();
});
});
</script>
<script type='text/javascript'>//<![CDATA[
$(window).load(function(){
/*----------------------*/
var bestPictures = new Bloodhound({
datumTokenizer: Bloodhound.tokenizers.obj.whitespace('value'),
queryTokenizer: Bloodhound.tokenizers.whitespace,
prefetch: 'http://twitter.github.io/typeahead.js/data/films/post_1960.json',
remote: {
url: 'http://twitter.github.io/typeahead.js/data/films/queries/%QUERY.json',
wildcard: '%QUERY'
}
});
$('#remote .typeahead').typeahead(null, {
name: 'best-pictures',
display: 'value',
source: bestPictures
});
/*--------------------*/
/*
$(".js-example-basic-multiple").select2({
placeholder: "Select a state",
tags: true,
tokenSeparators: [',']
});*/
// AJaX Example:
//http://stackoverflow.com/questions/20926707/how-to-use-select2-with-json-via-ajax-request
$(".js-example-basic-multiple").select2({
theme: "bootstrap",
placeholder: "Add skills",
tags: true,
multiple: true,
//tokenSeparators: [','],
minimumInputLength: 1,
//minimumResultsForSearch: 10,
ajax: {
//url: 'http://twitter.github.io/typeahead.js/data/films/post_1960.json',
url: 'test.php',
delay: 250,
dataType: "json",
type: "GET",
data: function (params) {
var queryParameters = {
//query: 'a' //params.term
query: params.term,
page: params.page
}
return queryParameters;
},
processResults: function (data) {
return {
results: $.map(data, function (item) {
return {
text: item.name,
id: item.id
}
})
};
}
},
//cache: true
escapeMarkup: function (markup) { return markup; } // let our custom formatter work
//minimumInputLength: 1,
//templateResult: formatRepo, // omitted for brevity, see the source of this page
//templateSelection: formatRepoSelection // omitted for brevity, see the source of this page
});
/*--------------------*/
});//]]>
</script>
</head>
<body>
<div class="modal fade" id="makeViewEndorsementsModal" tabindex="-1" role="dialog" aria-labelledby="makeViewEndorsementsModalLabel">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button>
<h4 class="modal-title" id="myModalLabel">Endorsement</h4>
</div>
<div class="modal-body">
<!-- body -->
<ul class="nav nav-tabs">
<li class="active"><a data-toggle="tab" href="#viewEndorsement">View endorsements</a></li>
<li><a data-toggle="tab" href="#makeEndorsement">Make an endorsement</a></li>
</ul>
<div class="tab-content">
<div id="viewEndorsement" class="tab-pane fade in active">
<br/><br/><br/><br/>
</div>
<div id="makeEndorsement" class="tab-pane fade in">
<div class="modal-body" id="recform">
<form class="contact" id="contact" name="contact">
<h4 class="lead">Endorse Kamal Thakker for Java!</h4>
<label for="Recommendation" class="sr-only">Recommendation</label>
<textarea name = "recommendation" class="form-control input-xlarge" style="min-width: 100%; min-height: 100%;" placeholder="Your message" required autofocus></textarea>
<br>
<input class="btn btn-primary pull-right" value = "Endorse" type="submit" id="submitEndorsement">
<button type="button" class="btn btn-primary" id="submitEndorsement1">Save changes</button>
</form>
</div>
</div>
</div>
<!-- end of body -->
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<!--
<button type="button" class="btn btn-primary">Save changes</button> -->
</div>
</div>
</div>
</div>
<!-- End of endoresment modal -->
<div class="container-fluid">
<li class="nav-icon-btn nav-icon-btn-success dropdown">
<a href="#messages" class="dropdown-toggle" data-toggle="dropdown">
<span class="label">10</span>
<i class="nav-icon fa fa-envelope"></i>
<span class="small-screen-text">Income messages</span>
</a>
<!-- MESSAGES -->
<!-- Javascript -->
<script>
init.push(function () {
$('#main-navbar-messages').slimScroll({ height: 250 });
});
</script>
<!-- / Javascript -->
<div class="dropdown-menu widget-messages-alt no-padding" style="width: 300px;">
<div class="slimScrollDiv" style="position: relative; overflow: hidden; width: auto; height: 250px;"><div class="messages-list" id="main-navbar-messages" style="overflow: hidden; width: auto; height: 250px;">
<div class="message">
<img src="assets/demo/avatars/2.jpg" alt="" class="message-avatar">
<a href="#" class="message-subject">Lorem ipsum dolor sit amet, consectetur adipisicing elit.</a>
<div class="message-description">
from <a href="#">Robert Jang</a>
·
2h ago
</div>
</div> <!-- / .message -->
<div class="message">
<img src="assets/demo/avatars/3.jpg" alt="" class="message-avatar">
<a href="#" class="message-subject">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a>
<div class="message-description">
from <a href="#">Michelle Bortz</a>
·
2h ago
</div>
</div> <!-- / .message -->
<div class="message">
<img src="assets/demo/avatars/4.jpg" alt="" class="message-avatar">
<a href="#" class="message-subject">Lorem ipsum dolor sit amet.</a>
<div class="message-description">
from <a href="#">Timothy Owens</a>
·
2h ago
</div>
</div> <!-- / .message -->
<div class="message">
<img src="assets/demo/avatars/5.jpg" alt="" class="message-avatar">
<a href="#" class="message-subject">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a>
<div class="message-description">
from <a href="#">Denise Steiner</a>
·
2h ago
</div>
</div> <!-- / .message -->
<div class="message">
<img src="assets/demo/avatars/2.jpg" alt="" class="message-avatar">
<a href="#" class="message-subject">Lorem ipsum dolor sit amet.</a>
<div class="message-description">
from <a href="#">Robert Jang</a>
·
2h ago
</div>
</div> <!-- / .message -->
<div class="message">
<img src="assets/demo/avatars/2.jpg" alt="" class="message-avatar">
<a href="#" class="message-subject">Lorem ipsum dolor sit amet, consectetur adipisicing elit.</a>
<div class="message-description">
from <a href="#">Robert Jang</a>
·
2h ago
</div>
</div> <!-- / .message -->
<div class="message">
<img src="assets/demo/avatars/3.jpg" alt="" class="message-avatar">
<a href="#" class="message-subject">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a>
<div class="message-description">
from <a href="#">Michelle Bortz</a>
·
2h ago
</div>
</div> <!-- / .message -->
<div class="message">
<img src="assets/demo/avatars/4.jpg" alt="" class="message-avatar">
<a href="#" class="message-subject">Lorem ipsum dolor sit amet.</a>
<div class="message-description">
from <a href="#">Timothy Owens</a>
·
2h ago
</div>
</div> <!-- / .message -->
<div class="message">
<img src="assets/demo/avatars/5.jpg" alt="" class="message-avatar">
<a href="#" class="message-subject">Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</a>
<div class="message-description">
from <a href="#">Denise Steiner</a>
·
2h ago
</div>
</div> <!-- / .message -->
<div class="message">
<img src="assets/demo/avatars/2.jpg" alt="" class="message-avatar">
<a href="#" class="message-subject">Lorem ipsum dolor sit amet.</a>
<div class="message-description">
from <a href="#">Robert Jang</a>
·
2h ago
</div>
</div> <!-- / .message -->
</div><div class="slimScrollBar" style="width: 7px; position: absolute; top: 0px; opacity: 0.4; display: none; border-radius: 7px; z-index: 99; right: 1px; height: 109.842px; background: rgb(0, 0, 0);"></div><div class="slimScrollRail" style="width: 7px; height: 100%; position: absolute; top: 0px; display: none; border-radius: 7px; opacity: 0.2; z-index: 90; right: 1px; background: rgb(51, 51, 51);"></div></div> <!-- / .messages-list -->
<a href="#" class="messages-link">MORE MESSAGES</a>
</div> <!-- / .dropdown-menu -->
</li>
<br/><br/><br/>
<form method="post">
<select class="js-example-basic-multiple" multiple="multiple" style="width: 75%">
<option value="A1" selected="selected">AAA</option>
<option value="B1" selected="selected">BBB</option>
<option value="AL">Alabama</option>
<option value="WY">Wyoming</option>
</select>
<br/>
<input type="text" class="form-control" id="projectName" placeholder="Project Name">
<br/>
<button type="submit" class="btn btn-primary">Submit</button>
</form>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<div id="remote">
<input class="typeahead" type="text" placeholder="Oscar winners for Best Picture">
</div>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<a href="#" data-toggle="modal" data-target="#makeViewEndorsementsModal" data-skillname="SQL" data-skillid="5">SQL</a>
<div id="thanks"></div>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<div class="well">test 123</div>
<ul class="nav nav-pills" role="tablist">
<li role="presentation"><a href="#">Java <span class="badge">9</span></a></li>
<li role="presentation"><a href="#">C#<span class="badge">5</span></a></li>
<li role="presentation"><a href="#">AngularJS<span class="badge">2</span></a></li>
<li role="presentation"><a href="#">CSS<span class="badge">1</span></a></li>
<li role="presentation"><a href="#">Java <span class="badge">1</span></a></li>
<li role="presentation"><a href="#">C#<span class="badge">2</span></a></li>
<span class="nav nav-pills collapse" id="demo">
<li role="presentation"><a href="#">AngularJS<span class="badge">3</span></a></li>
<li role="presentation"><a href="#">aaaa<span class="badge">4</span></a></li>
<li role="presentation"><a href="#">bbb<span class="badge">5</span></a></li>
<li role="presentation"><a href="#">ccccc<span class="badge">2</span></a></li>
<li role="presentation"><a href="#">ddddd<span class="badge">1</span></a></li>
<li role="presentation"><a href="#">eeeee<span class="badge">1</span></a></li>
<li role="presentation"><a href="#">ffff<span class="badge">4</span></a></li>
<li role="presentation"><a href="#">ggggg<span class="badge">5</span></a></li>
<li role="presentation"><a href="#">hhhhhh<span class="badge">2</span></a></li>
<li role="presentation"><a href="#">iiii<span class="badge">1</span></a></li>
<li role="presentation"><a href="#">jjjj<span class="badge">1</span></a></li>
</span>
</ul>
<!-- there should not be space before/after see more-->
<a href="#" id="more" class="morelessul" data-toggle="collapse" data-target="#demo">See more</a>
<br/><br/>
<ul class="nav nav-pills" role="tablist">
<li role="presentation"><a href="#">Java <span class="badge">9</span></a></li>
<li role="presentation"><a href="#">C#<span class="badge">5</span></a></li>
<li role="presentation"><a href="#">AngularJS<span class="badge">2</span></a></li>
<li role="presentation"><a href="#">CSS<span class="badge">1</span></a></li>
<li role="presentation"><a href="#">Java <span class="badge">1</span></a></li>
<li role="presentation"><a href="#">C#<span class="badge">2</span></a></li>
<span class="nav nav-pills collapse" id="demo1">
<li role="presentation"><a href="#">AngularJS<span class="badge">3</span></a></li>
<li role="presentation"><a href="#">aaaa<span class="badge">4</span></a></li>
<li role="presentation"><a href="#">bbb<span class="badge">5</span></a></li>
<li role="presentation"><a href="#">ccccc<span class="badge">2</span></a></li>
<li role="presentation"><a href="#">ddddd<span class="badge">1</span></a></li>
<li role="presentation"><a href="#">eeeee<span class="badge">1</span></a></li>
<li role="presentation"><a href="#">ffff<span class="badge">4</span></a></li>
<li role="presentation"><a href="#">ggggg<span class="badge">5</span></a></li>
<li role="presentation"><a href="#">hhhhhh<span class="badge">2</span></a></li>
<li role="presentation"><a href="#">iiii<span class="badge">1</span></a></li>
<li role="presentation"><a href="#">jjjj<span class="badge">1</span></a></li>
</span>
</ul>
<!-- there should not be space before/after see more-->
<a href="#" class="morelessul" data-toggle="collapse" data-target="#demo1">See more</a>
<br/><br/>
<div class="hero-unit">
<h1>Hello, world!</h1>
<p>Blah, blah.</p>
<p><a class="btn btn-primary btn-large">Learn more »</a></p>
</div>
<!-- Example row of columns -->
<div class="row">
<div class="span4 collapse-group">
<h2>Heading</h2>
<p class="collapse" id="viewdetails">Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
<a class="btn showdetails" data-toggle="collapse" data-target="#viewdetails"></a>
</div>
</div>
<br/><br />
<a class="btn btn-primary" role="button" data-toggle="collapse" href="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
Link with href
</a>
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target="#collapseExample" aria-expanded="false" aria-controls="collapseExample">
Button with data-target
</button>
<div class="collapse" id="collapseExample">
<div class="well">
test 123 test 123
</div>
</div>
<div class="bs-callout bs-callout-default">
<h4>Default Callout</h4>
This is a default callout.
</div>
<div class="bs-callout bs-callout-primary">
<h4>Primary Callout</h4>
This is a primary callout.
</div>
<div class="bs-callout bs-callout-success">
<h4>Success Callout</h4>
This is a success callout.
</div>
<div class="bs-callout bs-callout-info">
<h4>Info Callout</h4>
This is an info callout.
</div>
<div class="bs-callout bs-callout-warning">
<h4>Warning Callout</h4>
This is a warning callout.
</div>
<div class="bs-callout bs-callout-danger">
<h4>Danger Callout</h4>
This is a danger callout.
</div>
<div class="bs-callout bs-callout-primary">
<div class="row">
<div class="col-md-1" role="main" style="background-color: #ffffff">
<img src="images/userdp/default-user.png" class="img-responsive" alt="img" width="70" height="70">
</div>
<div class="col-md-11" role="main" style="background-color: #ffffff">
<h4><a href="#">Kamal Thakker</a> <br> <small>Group Leader</small></h4>
<q class="lead">This is a primary callout.</q>
</div>
</div> <!-- end of row -->
</div> <!-- end of callout -->
<div class="bs-callout bs-callout-primary">
<div class="row">
<div class="col-md-1" role="main" style="background-color: #ffffff">
<img src="images/userdp/default-user.png" class="img-responsive" alt="img" width="70" height="70">
</div>
<div class="col-md-11" role="main" style="background-color: #ffffff">
<h4><a href="#">Ram Thakker</a> <br> <small>Group Leader</small></h4>
<q class="lead">This is a primary callout.</q>
</div>
</div> <!-- end of row -->
</div> <!-- end of callout -->
</div><!-- end container -->
</body>
</html>