<div class="container">
<div class="col-md-3">
</div>
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading text-center">Preferences</div>
<div class="panel-body text-center">
<span>Marketing Emails: </span>
<input id="switch1" type="checkbox" checked="checked" value="" />
<hr />
<span>Monthly Newsletter: </span>
<input id="switch2" type="checkbox" checked="checked" value="" />
<hr />
<span>Keep History: </span>
<input id="switch3" type="checkbox" checked="checked" value="" class="long" />
<hr />
<span>Admin Panel: </span>
<input id="switch4" type="checkbox" checked="checked" value="" />
<hr />
<span>Support Panel: </span>
<input id="switch5" type="checkbox" checked="checked" value="" />
<hr />
<button type="button" class="btn btn-success">Save Settings</button>
</div>
</div>
</div>
<div class="col-md-3">
</div>
</div>
<link rel="stylesheet" type="text/css" href="http://www.shieldui.com/shared/components/latest/css/light-bootstrap/all.min.css" />
<script type="text/javascript" src="http://www.shieldui.com/shared/components/latest/js/shieldui-all.min.js"></script>
<style>
.rounded {
border-radius: 5px;
}
.long {
width:110px;
}
</style>
<script type="text/javascript">
jQuery(function ($) {
$("#switch1").shieldSwitch({
onText: "ON",
offText: "OFF"
});
$("#switch2").shieldSwitch({
onText: "ON",
offText: "OFF"
});
$("#switch3").shieldSwitch({
onText: "Yes, save it",
width:"200px",
offText: "No, delete it",
cls: "long",
});
$("#switch4").shieldSwitch({
onText: "Yes",
offText: "No",
cls: "rounded",
});
$("#switch5").shieldSwitch({
onText: "Yes",
offText: "No",
cls: "rounded",
});
});
</script>