Skip to content

Commit beba740

Browse files
committed
Convert to bootstrap and start filling in content
1 parent e74b37a commit beba740

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+3150
-3511
lines changed

.htmlhintrc

-12
This file was deleted.

_config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
name: Linear
2-
description: Linear template for Jekyll
1+
name: Monasca
2+
description: Monasca.io
33
paginate: 10

_data/nav.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
- text: Home
2+
href: /index.html
3+
- text: About
4+
href: /about.html
5+
- text: Docs
6+
href: /docs
7+
children:
8+
- text: Overview
9+
href: /docs/index.html
10+
- divider: true
11+
- text: Getting Started
12+
href: /docs/getting-started.html
13+
- text: Deploying
14+
href: /docs/deploying.html

_includes/header-large.html

+9-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
<div id="logo">
2-
<img src="/assets/images/lizard.png"
3-
alt="Monasca logo">
4-
<div>
5-
<h1 class="large">Monasca</h1>
6-
<span>an OpenStack Community project</span>
7-
</div>
1+
<img src="/assets/images/lizard-m.png"
2+
alt="Monasca logo"
3+
class="visible-lg-block visible-md-block">
4+
<img src="/assets/images/lizard-s.png"
5+
alt="Monasca logo"
6+
class="visible-sm-block visible-xs-block">
7+
<div>
8+
<h1>Monasca</h1>
9+
<span>an OpenStack Community project</span>
810
</div>

_includes/header-small.html

+4-7
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
<div id="logo">
2-
<img src="/assets/images/lizard-rot-s.png"
3-
alt="Monasca logo">
4-
<div>
5-
<h1 class="small">Monasca</h1>,
6-
<span>an OpenStack Community project</span>
7-
</div>
1+
<img src="/assets/images/lizard-rot-s.png"
2+
alt="Monasca logo">
3+
<div>
4+
<span><strong>Monasca</strong>, an OpenStack Community project</span>
85
</div>

_includes/nav.html

+31-13
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,31 @@
1-
<div id="nav-wrapper">
2-
<!-- Nav -->
3-
<nav id="nav">
4-
<ul>
5-
{% assign current = page.url | downcase | split: '/' %}
6-
<li {% if current[1] == 'index.html' %}class='current'{% endif %}><a href="/index.html">Homepage</a></li>
7-
<li {% if current[1] == 'blog' %}class='current'{% endif %}><a href="/blog">Blog</a></li>
8-
<li {% if current[1] == 'left-sidebar.html' %}class='current'{% endif %}><a href="/left-sidebar.html">Left Sidebar</a></li>
9-
<li {% if current[1] == 'right-sidebar.html' %}class='current'{% endif %}><a href="/right-sidebar.html">Right Sidebar</a></li>
10-
<li {% if current[1] == 'no-sidebar.html' %}class='current'{% endif %}><a href="/no-sidebar.html">No Sidebar</a></li>
11-
</ul>
12-
</nav>
13-
</div>
1+
{% assign current = page.url | downcase | split: '/' %}
2+
<ul class="nav navbar-nav">
3+
{% for entry in site.data.nav %}
4+
{% assign part = entry.href | downcase | split: '/' %}
5+
{% if entry.children %}
6+
<li class="dropdown{% if current[1] and current[1] == part[1] %} active{% endif %}">
7+
<a href="#" class="dropdown-toggle" data-toggle="dropdown"
8+
role="button" aria-haspopup="true" aria-expanded="true">
9+
{{ entry.text }} <span class="caret"></span>
10+
</a>
11+
<ul class="dropdown-menu">
12+
{% for child in entry.children %}
13+
{% if child.divider %}
14+
<li role="separator" class="divider"></li>
15+
{% endif %}
16+
{% if child.header %}
17+
<li class="dropdown-header">{{ child.header }}</li>
18+
{% endif %}
19+
{% if child.text %}
20+
<li><a href="{{ child.href | relative_url }}">{{ child.text }}</a>
21+
{% endif %}
22+
{% endfor %}
23+
</ul>
24+
<li>
25+
{% else %}
26+
<li {% if current[1] == part[1] %}class="active"{% endif %}>
27+
<a href="{{ entry.href | relative_url }}">{{ entry.text }}</a>
28+
</li>
29+
{% endif %}
30+
{% endfor %}
31+
</ul>

_layouts/default.html

+39-29
Original file line numberDiff line numberDiff line change
@@ -7,56 +7,66 @@
77
<html>
88

99
<head>
10+
<meta charset="utf-8">
11+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
12+
<meta name="viewport" content="width=device-width, initial-scale=1">
13+
14+
<link href="{{ '/assets/css/bootstrap.min.css' | relative_url }}" rel="stylesheet">
15+
<link href="{{ '/assets/css/bootstrap.min.css' | relative_url }}" rel="stylesheet">
16+
<link href="{{ '/assets/css/font-awesome.min.css' | relative_url }}" rel="stylesheet">
17+
<link href="{{ '/assets/css/monasca.css' | relative_url }}" rel="stylesheet">
18+
<link href="{{ '/assets/css/syntax.css' | relative_url }}" rel="stylesheet">
19+
<link href="https://fonts.googleapis.com/css?family=Roboto:400,100,300,700,500,900" rel="stylesheet" type="text/css">
20+
1021
{% if page.title %}
1122
<title>{{ page.title }} &mdash; Monasca</title>
1223
{% else %}
1324
<title>Monasca</title>
1425
{% endif %}
15-
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
16-
<meta name="description" content="" />
17-
<meta name="keywords" content="" />
18-
<link href="https://fonts.googleapis.com/css?family=Roboto:400,100,300,700,500,900" rel="stylesheet" type="text/css">
19-
<noscript>
20-
<link rel="stylesheet" href="/assets/css/skel-noscript.css" />
21-
<link rel="stylesheet" href="/assets/css/style.css" />
22-
<link rel="stylesheet" href="/assets/css/style-desktop.css" />
23-
</noscript>
24-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
25-
<script src="/assets/js/skel.min.js"></script>
26-
<script src="/assets/js/skel-panels.min.js"></script>
27-
<script src="/assets/js/init.js"></script>
2826
</head>
2927

28+
{% assign header = page.header | default: "small" %}
3029
<body>
31-
{% assign header = page.header | default: "small" %}
32-
<div id="header" class="header-{{ header }}">
33-
{% include nav.html %}
34-
<div class="container">
35-
{% include header-{{ header }}.html %}
30+
<div class="monasca-header monasca-header-{{ header }}">
31+
<nav class="navbar navbar-default">
32+
<div class="container">
33+
<div class="navbar-header">
34+
<button type="button" class="navbar-toggle collapsed"
35+
data-toggle="collapse" data-target="#navbar"
36+
aria-expanded="false">
37+
<span class="sr-only">Toggle navigation</span>
38+
<span class="icon-bar"></span>
39+
<span class="icon-bar"></span>
40+
<span class="icon-bar"></span>
41+
</button>
42+
</div>
43+
<div id="navbar" class="collapse navbar-collapse">
44+
{% include nav.html %}
45+
</div>
46+
</div>
47+
</nav>
48+
<div class="jumbotron">
49+
<div class="container">
50+
{% include header-{{ header }}.html %}
51+
</div>
3652
</div>
3753
</div>
3854

3955
{{ content }}
4056

41-
<!-- Tweet -->
42-
<div id="tweet">
43-
<div class="container">
44-
<section>
45-
<blockquote>&ldquo;In posuere eleifend odio. Quisque semper augue mattis wisi. Maecenas ligula. Pellentesque viverra vulputate enim. Aliquam erat volutpat.&rdquo;</blockquote>
46-
</section>
47-
</div>
48-
</div>
49-
5057
<!-- Copyright -->
51-
<div id="copyright">
58+
<div class="jumbotron copyright">
5259
<div class="container">
53-
<p>&copy; 2017 Hewlett-Packard Enterprise Development LP</p>
60+
<span>&copy; 2017 Hewlett-Packard Enterprise Development LP</span>
61+
<br>
5462
Design: <a href="http://templated.co">TEMPLATED</a>
5563
Images: <a href="http://unsplash.com">Unsplash</a> (<a href="http://unsplash.com/cc0">CC0</a>), <a href="https://www.toptal.com">Toptal</a> (CC BY-SA)
5664
Jekyll Template: <a href="http://cloudcannon.com">Cloud Cannon</a>
5765
</div>
5866
</div>
5967

68+
<script src="{{ '/assets/js/jquery-3.2.0.min.js' | relative_url }}"></script>
69+
<script src="{{ '/assets/js/bootstrap.min.js' | relative_url }}"></script>
6070
</body>
6171

6272
</html>

_layouts/page.html

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
layout: default
3+
---
4+
<div class="container">
5+
<div class="row">
6+
<div class="col-lg-12 content">
7+
{{ content }}
8+
</div>
9+
</div>
10+
</div>

about.md

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
layout: page
3+
---
4+
5+
# About Monasca
6+
7+
Monasca is an open-source monitoring-as-a-service solution under the
8+
[OpenStack "Big Tent"][1]. It aims to be highly performant, scalable, and
9+
fault-tolerant.
10+
11+
## Features
12+
13+
Core principles:
14+
* multi-tenant
15+
* highly scalable
16+
* performant
17+
* fault-tolerant
18+
19+
Features:
20+
* accepts arbitrary metrics with key/value pair metadata (dimensions)
21+
* alarming and notification engines output to email, PagerDuty, webhooks,
22+
Slack, and HipChat
23+
24+
## Architecture
25+
26+
![Monasca architecture diagram][2]
27+
28+
## Community
29+
30+
Monasca discussion usually occurs on IRC at irc.freenode.net #openstack-monasca
31+
32+
Many major companies are also involved in developing or deploying Monasca:
33+
34+
* Hewlett-Packard Enterprise
35+
* Time Warner Cable (TWC)
36+
* Fujitsu
37+
* Cisco
38+
* Cray
39+
* Rackspace
40+
* SAP
41+
* NEC
42+
43+
## Presentations
44+
45+
Several overviews of Monasca can be found at the following:
46+
47+
- [Monasca Bootcamp][3] - Austin OpenStack Summit, 2016
48+
- [Introducing Using Monasca for Production OpenStack Monitoring][4] - Tokyo OpenStack Summit, 2015
49+
- [Monasca Deep Dive][5] - Paris OpenStack Summit, 2014
50+
- [ELK and Monasca Crossing: Logging as an OpenStack Service][6] - Paris OpenStack Summit, 2014
51+
52+
## Licensing
53+
54+
Monasca is licensed under the [Apache 2.0 license][7].
55+
56+
[1]: https://governance.openstack.org/tc/reference/projects/
57+
[2]: {{ '/assets/images/architecture.png' | relative_url }}
58+
[3]: https://www.openstack.org/videos/austin-2016/monasca-bootcamp
59+
[4]: https://www.openstack.org/videos/tokio-2015/tokyo-3230
60+
[5]: https://www.openstack.org/videos/paris-2014/monasca-deep-dive-monitoring-at-scale
61+
[6]: https://www.openstack.org/videos/tokio-2015/elk-and-monasca-crossing-logging-as-an-openstack-service
62+
[7]: http://www.apache.org/licenses/LICENSE-2.0

assets/css/bootstrap-theme.min.css

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/bootstrap.min.css

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/bootstrap.min.css.map

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/font-awesome.min.css

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/css/font/FontAwesome.otf

-73.4 KB
Binary file not shown.
-70.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)