"Givingest Dashboard"
Bootstrap 3.3.0 Snippet by tjhall13

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
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<div class="dashboard">
<div class="row">
<div class="col-md-10 col-md-offset-1">
<ul class="dashboard-tabs">
<li class="active">
<a href="#profile" class="btn" aria-controls="profile" role="tab" data-toggle="tab">
<span class="glyphicon glyphicon-user"></span>
<h4>Profile</h4>
</a>
</li>
<li>
<a href="#statistics" class="btn" aria-controls="statistics" role="tab" data-toggle="tab">
<span class="glyphicon glyphicon-time"></span>
<h4>Statistics</h4>
</a>
</li>
<li>
<a href="#donate" class="btn" aria-controls="donate" role="tab" data-toggle="tab">
<span class="glyphicon glyphicon-usd"></span>
<h4>Donate</h4>
</a>
</li>
<li>
<a href="#settings" class="btn" aria-controls="settings" role="tab" data-toggle="tab">
<span class="glyphicon glyphicon-cog"></span>
<h4>Settings</h4>
</a>
</li>
<li>
<a href="#help" class="btn" aria-controls="help" role="tab" data-toggle="tab">
<span class="glyphicon glyphicon-question-sign"></span>
<h4>Help</h4>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
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
body {
background: #16a085;
font-family: 'Roboto', sans-serif;
padding-top: 40px;
}
.dashboard {
padding: 0 30px;
}
.dashboard-tabs {
background-color: #ecf0f1;
padding: 0;
border: 0 solid #ecf0f1;
border-radius: 5px;
}
.dashboard-tabs:after {
content: '';
display: block;
clear: both;
}
.dashboard-tabs > li {
list-style: none;
display: inline-block;
width: 20%;
float: left;
padding: 0;
}
.dashboard-tabs > li:first-of-type {
border-top-left-radius: 5px;
border-bottom-left-radius: 5px;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
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
$(function() {
var toggleFunction;
$('.toggle-handle').click(toggleFunction = function() {
var area = $('#' + $(this).attr('data-area'));
if(area.hasClass('expanded')) {
area.removeClass('expanded');
} else {
area.addClass('expanded');
}
$(this).blur();
return false;
});
$('#supportedCauses').append(
$(document.createElement('div')).attr('id', 'pane4').addClass('cause-info').append(
$(document.createElement('div')).append(
$(document.createElement('img')).attr('src', 'http://lorempixel.com/420/420/people'),
$(document.createElement('div')).append(
$(document.createElement('h4')).text('[Name]'),
$(document.createElement('h4')).text('[Cause]')
),
$(document.createElement('div')).append(
$(document.createElement('h4')).text('[X] Votes')
)
),
$(document.createElement('div')).append(
$(document.createElement('h4')).text('About:'),
$(document.createElement('div')).append(
$(document.createElement('p')).text(
'Nam ex ullum assum apeirian, facilisi splendide quo ex. Sea et nonumy accusata, in utinam vocent facilis vix. \
Cu vix eripuit temporibus mediocritatem, denique theophrastus ne mel, et graecis maiorum mediocritatem per. \
Magna tacimates sed eu, sit no graeco latine referrentur. Id sed assum quaerendum, apeirian erroribus ut his. Ex mei mazim minimum.'
),
$(document.createElement('h5')).html('More at <a>[Website]</a>')
),
$(document.createElement('button')).addClass('btn btn-primary pull-right').text('Give')
),
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: