Skip to content
This repository has been archived by the owner on Jun 17, 2018. It is now read-only.

Commit

Permalink
WebUI: install Twitter Bootstrap
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-batz committed Aug 30, 2015
1 parent 72ab1b1 commit 1fbf71c
Show file tree
Hide file tree
Showing 19 changed files with 10,096 additions and 11 deletions.
587 changes: 587 additions & 0 deletions web/css/bootstrap-theme.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions web/css/bootstrap-theme.css.map

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions web/css/bootstrap-theme.min.css

Large diffs are not rendered by default.

6,800 changes: 6,800 additions & 0 deletions web/css/bootstrap.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions web/css/bootstrap.css.map

Large diffs are not rendered by default.

5 changes: 5 additions & 0 deletions web/css/bootstrap.min.css

Large diffs are not rendered by default.

File renamed without changes.
Binary file added web/fonts/glyphicons-halflings-regular.eot
Binary file not shown.
288 changes: 288 additions & 0 deletions web/fonts/glyphicons-halflings-regular.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added web/fonts/glyphicons-halflings-regular.ttf
Binary file not shown.
Binary file added web/fonts/glyphicons-halflings-regular.woff
Binary file not shown.
Binary file added web/fonts/glyphicons-halflings-regular.woff2
Binary file not shown.
28 changes: 21 additions & 7 deletions web/include/header.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,38 @@
* @author: Michael Batz <michael@yourcmdb.org>
*/
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
<!DOCTYPE html>
<html lang="en">
<head>
<title>yourDashboard</title>
<!-- bootstrap setup -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<script src="js/jquery-1.11.1.min.js" type="text/javascript"></script>
<script src="js/functions.js" type="text/javascript"></script>

<!-- favicon -->
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico" />
<link rel="stylesheet" type="text/css" href="css/default.css" />

<!-- CSS: bootstrap, typeahead, smartmenues, bootstrap-datepicker and yourCMDB custom -->
<link href="css/bootstrap.min.css" rel="stylesheet" />
<link href="css/yourdashboard.css" rel="stylesheet" />
<?php
foreach(getDashletCssFiles() as $cssFile)
{
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"css/dashlets/$cssFile\" />";
}
?>


<!-- JS: jQuery, bootstrap, typeahead, smartmenues, bootstrap-datepicker and yourCMDB custom -->
<script src="js/jquery-1.11.3.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/yourdashboard.js"></script>

<title>yourDashboard</title>
</head>
<body>
<noscript><p>You need to enable JavaScript for yourCMDB.</p></noscript>
<?php
//alarm handling
if($alarmConfig->isEnabled())
Expand Down
Loading

0 comments on commit 1fbf71c

Please sign in to comment.