Fix #24
This commit is contained in:
@@ -96,3 +96,12 @@ textarea#raw_openvpn {
|
||||
height: 300px;
|
||||
border: 1px solid #D9534F;
|
||||
}
|
||||
|
||||
ul.nav {
|
||||
margin-top: 30px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
ul.nav a {
|
||||
outline: none;
|
||||
}
|
||||
|
@@ -16,11 +16,24 @@
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
function tabsClick() {
|
||||
var tab = $(this).parent().attr('data-tab');
|
||||
|
||||
$('.nav').find('li.active').removeClass('active');
|
||||
$(this).parent().addClass('active');
|
||||
|
||||
$('.tabs').hide();
|
||||
$('.tab' + tab).show();
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
$('.btn-group').button();
|
||||
$('[data-toggle="tooltip"]').tooltip();
|
||||
|
||||
$('.switch').bootstrapToggle();
|
||||
$('.nav-tabs a').click(tabsClick);
|
||||
|
||||
$('.fileinput').click(function() {
|
||||
if(!$(this).hasClass('btn-danger')) {
|
||||
|
Reference in New Issue
Block a user