1
0
mirror of https://github.com/Mowie/Mowie synced 2024-06-03 01:19:39 +00:00

Added Bootstrp Grid & Bootstrap Tooltips

This commit is contained in:
kolaente 2016-09-21 14:52:08 +02:00
parent 528d2c4e49
commit 419bce04d2
7 changed files with 1123 additions and 2 deletions

View File

@ -4,6 +4,10 @@
* {
margin: 0;
padding: 0;
box-sizing: content-box;
-webkit-box-sizing: content-box;
-moz-box-sizing: content-box;
}
*, *:focus, *:hover, *:active {
@ -23,6 +27,7 @@ body {
font-size: 15px;
color: #212121;
background: #e6e6e6;
line-height: normal;
}
h1, h2, h3, h4, h5, h6 {

1095
admin/assets/bootstrap.min.css vendored Normal file

File diff suppressed because it is too large Load Diff

11
admin/assets/js/bootstrap.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -31,7 +31,7 @@ if (hasPerm('view_dashboard'))
</div>
<?php
}
echo '<div class="main">';
echo '<div class="main container">';
//Find Dashboard files
$moduluri = '../apps/';
if ($handle = opendir($moduluri))

View File

@ -96,7 +96,7 @@ if (hasPerm('edit_permissions'))
$critical = '';
if ($perm['critical'] == true) $critical = '<span class="critical fa fa-warning" title="'.$lang->get('admins_perms_critical').'"></span>';
echo '<tr title="' . $perm['description'] . '"><td>' . $critical . $perm['name'] . '</td>';
echo '<tr data-toggle="tooltip" title="' . $perm['description'] . '"><td>' . $critical . $perm['name'] . '</td>';
foreach ($role_names as $lvl => $name)
{
$disable = '';

View File

@ -2,8 +2,17 @@
if (!isset($_GET['direct']))
{
?>
</div>
<div id="showMsg"></div>
<script src="<?php echo $MCONF['web_uri'] ?>admin/assets/js/bootstrap.min.js"></script>
<script>
$(document).ready(function(){
$('[data-toggle="tooltip"]').tooltip();
});
</script>
<!--<script src="<?php echo $MCONF['web_uri'] ?>admin/assets/js/page.js"></script>
<script src="<?php echo $MCONF['web_uri'] ?>admin/assets/js/page.bodyparser.js"></script>-->
<script>

View File

@ -214,6 +214,7 @@ function printHeader($title)
<meta charset="UTF-8">
<title>' . $title . ' | ' . $GLOBALS['lang']->get('admin_title') . ' | ' . $GLOBALS['MCONF']['title'] . '</title>
<link rel="shourtcut icon" href="' . $GLOBALS['MCONF']['web_uri'] . 'favicon.ico"/>
<link rel="stylesheet" href="' . $GLOBALS['MCONF']['web_uri'] . 'admin/assets/bootstrap.min.css" type="text/css"/>
<link rel="stylesheet" href="' . $GLOBALS['MCONF']['web_uri'] . 'admin/assets/admin.css" type="text/css"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no" />
<script src="' . $GLOBALS['MCONF']['web_uri'] . 'admin/assets/js/jquery.min.js"></script>