forked from commando/commando
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.php
68 lines (60 loc) · 3.54 KB
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
/*
# Copyright 2012 NodeSocket, LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
*/
($_SERVER['SCRIPT_NAME'] !== "/controller.php") ? require_once(__DIR__ . "/classes/Requires.php") : Links::$pretty = true;
Header::set_title("Commando.io");
Header::render();
Navigation::render();
?>
<a href="https://github.com/nodesocket/commando"><img style="position: absolute; top: 0; right: 0; border: 0; z-index: 99999;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png" alt="Fork me on GitHub"></a>
<div class="container">
<div class="hero-unit">
<h2 class="headline">Dev-Ops <strong>Evolved</strong>.</h2>
</div>
<div class="row">
<div class="span4 well" style="width: 330px">
<h1 style="margin-bottom: 10px;"><a href="<?php echo Links::render("servers") ?>">Servers</a></h1>
<p>Servers can either be physical hardware, or virtualized/cloud instances.</p>
<p><a class="btn btn-primary btn-large" href="<?php echo Links::render("servers") ?>">Servers »</a></p>
</div>
<div class="span4 well" style="width: 330px">
<h1 style="margin-bottom: 10px;"><a href="<?php echo Links::render("recipes") ?>">Recipes</a></h1>
<p>Recipes are containers of commands that are fully versioned. Recipes can be written in pure <i><strong>shell</strong></i>, <i><strong>bash</strong></i>, <i><strong>perl</strong></i>, <i><strong>python</strong></i>, or <i><strong>node.js</strong></i>.</p>
<p><a class="btn btn-primary btn-large" href="<?php echo Links::render("recipes") ?>">Recipes »</a></p>
</div>
<div class="span4 well" style="width: 330px">
<h1 style="margin-bottom: 10px;"><a href="<?php echo Links::render("groups") ?>">Groups</a></h1>
<p>Groups are a way to organize servers into collections. You may choose to create groups based on server role or location.</p>
<p><a class="btn btn-primary btn-large" href="<?php echo Links::render("groups") ?>">Groups »</a></p>
</div>
</div>
<div class="row">
<div class="span12 well" style="width: 1105px; padding-left: 45px;">
<h1 style="margin-bottom: 10px;">Contacts</h1>
<div style="float: left;">
<p><a href="http://commando.io">http://commando.io</a></p>
<p><a href="mailto:[email protected]">[email protected]</a></p>
<p style="margin-bottom: 6px;"><a href="https://github.com/nodesocket/commando">https://github.com/nodesocket/commando</a></p>
</div>
<div style="float: right;">
<p><a href="https://twitter.com/commando_io" class="twitter-follow-button" data-show-count="true" data-size="large">Follow @commando_io</a></p>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
</div>
</div>
</div>
<?php
Footer::render();
?>