bosun.org@v0.0.0-20210513094433-e25bc3e69a1f/docs/_layouts/default.html (about)

     1  <!DOCTYPE html>
     2  <html lang="en">
     3  	<head>
     4  	<meta charset="utf-8">
     5  	<meta http-equiv="X-UA-Compatible" content="IE=edge">
     6  	<meta name="viewport" content="width=device-width, initial-scale=1">
     7  	<meta name="go-import" content="bosun.org git https://github.com/bosun-monitor/bosun.git">
     8  
     9  	<title>
    10  		{% if page.title != "Home" %}
    11  			{{ page.title }} &middot;
    12  		{% endif %}
    13  		Bosun
    14  	</title>
    15  
    16  	<link rel="stylesheet" href="/styles/bootstrap.min.css">
    17  	<link rel="stylesheet" href="/styles/font-awesome.min.css">	
    18  	<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
    19  	<link rel="shortcut icon" href="/public/favicon.ico">
    20  
    21  	<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    22  	<!--[if lt IE 9]>
    23  		<script src="//cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.2/html5shiv.min.js"></script>
    24  		<script src="//cdnjs.cloudflare.com/ajax/libs/respond.js/1.4.2/respond.min.js"></script>
    25  	<![endif]-->
    26  
    27  	<script>
    28  		$(document).ready( function() {
    29  			// In the generate index, remove arguments from functions and all bold
    30  			// anything that has the string Endpoints for the API Page
    31  			$('#markdown-toc').find('a').each( function() {
    32  				$(this).text($(this).text().replace(/\([^)]+\)/, "()"));
    33  				if ($(this).text().indexOf("Endpoints") > -1) {
    34  					$(this).addClass("endpoint");
    35  				}
    36  			});
    37  			// Make markdown tables have bootstrap CSS styling
    38  			$(document).find('table').each( function() {
    39  				$(this).addClass("table");
    40  			});
    41  			// Add anchor class headers so we can set a scrollto offset
    42  			// since the top bar is fixed
    43  			$('.doc-body').find(':header').each( function() {
    44  				var id = $(this).id
    45  				$(this).addClass("anchor");
    46  			});
    47  		});
    48  	</script>
    49  
    50  	<style>
    51  		body {
    52  			min-height: 2000px;
    53  			padding-top: 65px;
    54  			padding-bottom: 65px;
    55  		}
    56  
    57  		.navbar-fixed-top {
    58  			margin-bottom: 40px;
    59  		}
    60  
    61  		.navbar-nav>li>a {
    62  			padding-top: 18px;
    63  			padding-bottom: 9px;
    64  		}
    65  
    66  		#logo {
    67  			position: absolute;
    68  			top: 13px;
    69  			width: 30px;
    70  			height: 30px;
    71  		}
    72  
    73  		#logo-text {
    74  			margin-top: 2px;
    75  			margin-left: 38px;
    76  			font-size: 26px;
    77  			color: #1f5296;
    78  			letter-spacing: -1px;
    79  		}
    80  
    81  		.jumbotron {
    82  			margin-top: 40px;
    83  			padding: 20px 20px;
    84  		}
    85  
    86  		/* Affix keeps the sidebar documentation menus on screen while scrolling */
    87  		.affix {
    88  			width: 250px;
    89  		}
    90  
    91  		/* Affix detaches from the grid system, so we need this fix for smaller
    92  		screens (mobile) */
    93  		@media (max-width: 768px) {
    94   			.affix {
    95  				position: static;
    96  			}
    97  		}
    98  
    99  		/* Less indent */
   100  		#markdown-toc {
   101  			padding-left: 0em;
   102  			list-style-type: none;
   103  		}
   104  
   105  		/* Make sidebar scrollable if the index is too long */
   106  		.sidebar {
   107  			overflow-y: auto;
   108  			height: 100%;
   109  			padding-bottom: 75px;
   110  		}
   111  
   112  		.bluebullet ul {
   113  			list-style-type: none;
   114  			padding-left: 0em;
   115  		}
   116  
   117  		.highlighter-rouge {
   118  			font-family: monospace;
   119  		}
   120  
   121  		/* Bosun Keywords */
   122  		.keyword {
   123  			font-family: monospace;
   124  			font-weight: bold;
   125  			font-size: 18px;
   126  			color: #1f5296;
   127  
   128  			margin-bottom: 5px;
   129  		}
   130  
   131  		/* Bosun Template Vars */
   132  		.var {
   133  			font-family: monospace;
   134  			font-weight: bold;
   135  			font-size: 18px;
   136  			color: #1f5296;
   137  
   138  			margin-bottom: 5px;
   139  		}
   140  
   141  		/* Bosun Template Functions */
   142  		.func {
   143  			font-family: monospace;
   144  			font-weight: bold;
   145  			font-size: 18px;
   146  			color: #1f5296;
   147  
   148  			margin-bottom: 5px;
   149  		}
   150  
   151  		/* Bosun Template Types */
   152  		.type {
   153  			font-family: monospace;
   154  			font-weight: bold;
   155  			font-size: 18px;
   156  			color: #1f5296;
   157  
   158  			margin-bottom: 5px;
   159  		}
   160  
   161  		/* Bosun Expression Funcs */
   162  		.exprFunc {
   163  			font-family: monospace;
   164  			font-weight: bold;
   165  			font-size: 18px;
   166  			color: #1f5296;
   167  
   168  			margin-bottom: 5px;
   169  		}
   170  
   171  		#markdown-toc a {
   172  			font-size: 13px;
   173  			color: grey;
   174  		}
   175  
   176  		#markdown-toc ul {
   177  			padding-left: .5em;
   178  			list-style-type: none;
   179  		}
   180  
   181  		#markdown-toc li {
   182  			font-weight: bold;
   183  		}
   184  
   185  		#markdown-toc li li {
   186  			font-weight: normal;
   187  		}
   188  
   189  		/* Larger size in general */
   190  		p, li, ul {
   191  			font-size: 15px;
   192  		}
   193  
   194  		.hometitle {
   195  			margin-bottom: -4px;
   196  			margin-left: -3px;
   197  		}
   198  
   199  		/* Compensate for fixed header */
   200  		.anchor {
   201  			padding-top: 55px; margin-top: -40px;
   202  		}
   203  
   204  		.endpoint {
   205  			font-weight: bold;
   206  		}
   207  
   208  		.feature-header {
   209  			padding-top: 20px;
   210  			font-weight: lighter;
   211  			margin-bottom: 0;
   212  		}
   213  
   214  		.feature {
   215  			margin: 10px 0px 30px 0;
   216  		}
   217  
   218  		.smaller {
   219  			font-size: 15px;
   220  		}
   221  
   222  		.left {
   223  			padding-left: 0;
   224  		}
   225  
   226  		.right {
   227  			padding-right: 0;
   228  		}
   229  
   230  		.carousel .item {
   231  			height: 1200px;
   232  		}
   233  
   234  		.carousel img {
   235    			position: absolute;
   236    			top: 0;
   237    			left: 0;
   238    			height: 500px;
   239    			max-width: none;
   240  		}
   241  
   242  		.carousel-control.left, .carousel-control.right {
   243  			background-image: none
   244  		}
   245  
   246  		.carousel-indicators li {
   247  			background-color: grey;
   248  		}
   249  
   250  		.carousel-controls{
   251  			position:relative;
   252  			width:300px;
   253  		}
   254  
   255  		.carousel-indicators .active {
   256  			background-color: #FF7600;
   257  		}
   258  
   259  		.image-number {
   260  			font-weight: bold;
   261  			color: #2a6496;
   262  			font-size: 1.1em;
   263  		}
   264  
   265  		/* taken from http://opentsdb.net/docs/build/html/_static/solar.css */
   266  		div.admonition {
   267  			font-size: 0.9em;
   268  			margin: 1em 0 1em 0;
   269  			border: 1px solid #eee;
   270  			background-color: #f7f7f7;
   271  			padding: 0;
   272  			-moz-box-shadow: 0px 8px 6px -8px #93a1a1;
   273  			-webkit-box-shadow: 0px 8px 6px -8px #93a1a1;
   274  			box-shadow: 0px 8px 6px -8px #93a1a1;
   275  		}
   276  
   277  		div.admonition p, div.admonition div.highlight {
   278  			margin: 0.5em 1em 0.5em 1em;
   279  		}
   280  
   281  		div.admonition p.admonition-title
   282  		{
   283  			margin: 0;
   284  			padding: 0.2em 0 0.2em 0.6em;
   285  			color: white;
   286  			border-bottom: 1px solid #eee8d5;
   287  			font-weight: bold;
   288  			background-color: #268bd2;
   289  		}
   290  
   291  		div.warning p.admonition-title,
   292  		div.important p.admonition-title {
   293  			background-color: #cb4b16;
   294  		}
   295  
   296  		div.hint p.admonition-title,
   297  		div.tip p.admonition-title {
   298  			background-color: #859900;
   299  		}
   300  
   301  		div.caution p.admonition-title,
   302  		div.attention p.admonition-title,
   303  		div.danger p.admonition-title,
   304  		div.error p.admonition-title {
   305  			background-color: #dc322f;
   306  		}
   307  
   308  		div.admonition ul, div.admonition ol {
   309  			margin: 0.1em 0.5em 0.5em 3em;
   310  			padding: 0;
   311  		}
   312  
   313  		/* Like the Theme's Label class for referencing from labels 
   314  		in the documentation without making them acutal labels */
   315  		.docFromLabel {
   316  			font-weight: 700
   317  		}
   318  	</style>
   319  
   320  	</head>
   321  	<body data-spy="scroll">
   322  		<div class="navbar navbar-default navbar-fixed-top" role="navigation">
   323  			<div class="container">
   324  				<div class="navbar-header">
   325  					<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
   326  						<span class="sr-only">Toggle navigation</span>
   327  						<span class="icon-bar"></span>
   328  						<span class="icon-bar"></span>
   329  						<span class="icon-bar"></span>
   330  					</button>
   331  					<a class="navbar-brand" href="/">
   332  						<img id="logo" src="/public/bosun-logo-mark.svg" />
   333  						<div id="logo-text">Bosun</div>
   334  					</a>
   335  				</div>
   336  				<div class="navbar-collapse collapse">
   337  					<ul class="nav navbar-nav navbar-right">
   338  						<li class="dropdown">
   339  							<a href="#" class="dropdown-toggle" data-toggle="dropdown">Project <span class="caret"></span></a>
   340  							<ul class="dropdown-menu">
   341  								<li><a href="/scollector">scollector</a></li>
   342  								<li><a href="https://github.com/bosun-monitor/bosun">GitHub</a></li>
   343  							</ul>
   344  						</li>
   345  					</ul>
   346  					<ul class="nav navbar-nav navbar-right">
   347  						<li>
   348  							<a href="/resources">Resources</a>
   349  						</li>
   350  					</ul>
   351  					<ul class="nav navbar-nav navbar-right">
   352  						<li>
   353  							<a href="/downloads">Download</a>
   354  						</li>
   355  					</ul>
   356  					<ul class="nav navbar-nav navbar-right">
   357  						<li class="dropdown">
   358  							<a href="#" class="dropdown-toggle" data-toggle="dropdown">Documentation <span class="caret"></span></a>
   359  							<ul class="dropdown-menu">
   360  								<li><a href="/quickstart">Quick Start</a></li>
   361  								<li><a href="/usage">Usage</a></li>
   362  								<li><a href="/admin">Administration</a></li>
   363  								<li><a href="/system_configuration">System Configuration</a></li>
   364  								<li><a href="/definitions">Definitions (RuleConf)</a></li>
   365  								<li><a href="/expressions">Expression Language</a></li>
   366  								<li><a href="/examples">Examples</a></li>
   367  								<li><a href="/api">API</a></li>
   368  								<li><a href="/configuration">Configuration (Pre 0.6.0)</a></li>
   369  								<li><a href="/notifications">Customizing Notifications</a></li>
   370  							</ul>
   371  						</li>
   372  					</ul>
   373  				</div>
   374  			</div>
   375  		</div>
   376  		<div class="container cont">
   377  			{{ content }}
   378  		</div>
   379  		<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
   380  		<script src="/scripts/bootstrap.min.js"></script>
   381  		<script>
   382  			(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
   383  			(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
   384  			m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
   385  			})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
   386  
   387  			ga('create', 'UA-5620270-47', 'auto');
   388  			ga('send', 'pageview');
   389  		</script>
   390  	</body>
   391  </html>