first draft with boostrap

This commit is contained in:
Olivier Lambert
2012-12-22 13:31:50 +01:00
parent 029fa5e724
commit ac4235126f
12 changed files with 9506 additions and 32 deletions

View File

@@ -10,8 +10,7 @@
],
"require": {
"php": ">=5.3.0",
"jsonrpc/jsonrpc": "~1.0",
"twitter/bootstrap": "~2.2"
"jsonrpc/jsonrpc": "~1.0"
},
"autoload": {
"psr-0": { "": "src/lib" }

31
composer.lock generated
View File

@@ -1,5 +1,5 @@
{
"hash": "ccb75db56ed644ebd42c20cad0a7e322",
"hash": "c725d48c1ed99d86d7f09f61fe4c1d43",
"packages": [
{
"name": "jsonrpc/jsonrpc",
@@ -44,35 +44,6 @@
"api",
"json-rpc"
]
},
{
"name": "twitter/bootstrap",
"version": "v2.2.2",
"target-dir": "twitter/bootstrap",
"source": {
"type": "git",
"url": "git://github.com/twitter/bootstrap.git",
"reference": "v2.2.2"
},
"dist": {
"type": "zip",
"url": "https://github.com/twitter/bootstrap/archive/v2.2.2.zip",
"reference": "v2.2.2",
"shasum": ""
},
"time": "2012-12-08 20:57:21",
"type": "library",
"installation-source": "dist",
"notification-url": "https://packagist.org/downloads/",
"license": [
"Apache-2.0"
],
"description": "Sleek, intuitive, and powerful front-end framework for faster and easier web development.",
"homepage": "http://twitter.github.com/bootstrap/",
"keywords": [
"css",
"bootstrap"
]
}
],
"packages-dev": null,

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

5553
src/deps/bootstrap/css/bootstrap.css vendored Normal file

File diff suppressed because it is too large Load Diff

717
src/deps/bootstrap/css/bootstrap.min.css vendored Normal file

File diff suppressed because one or more lines are too long

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

2036
src/deps/bootstrap/js/bootstrap.js vendored Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

2
src/deps/js/jquery.js vendored Normal file

File diff suppressed because one or more lines are too long

92
src/www/index.php Normal file
View File

@@ -0,0 +1,92 @@
<?php
require(__DIR__.'/../bootstrap.php');
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Xen Orchestra</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!-- Le styles -->
<link href="../deps/bootstrap/css/bootstrap.css" rel="stylesheet">
<style>
body {
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
}
</style>
<link href="../deps/bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<!-- Fav and touch icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="../deps/bootstrap/ico/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="../deps/bootstrap/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="../deps/bootstrap/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="../deps/bootstrap/ico/apple-touch-icon-57-precomposed.png">
<link rel="shortcut icon" href="../deps/bootstrap/ico/favicon.png">
</head>
<body>
<div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="#">Xen Orchestra</a>
<div class="nav-collapse collapse">
<ul class="nav">
<li class="active"><a href="#">Home</a></li>
<li class="dropdown"> <a class="dropdown-toggle" data-toggle="dropdown" href="#">Vm <b class="caret"></b> </a>
<ul class="dropdown-menu">
<li><a href="#">Add new...</a></li>
<li><a href="#">Manage</a></li>
<li><a href="#">Templates</a></li>
<li><a href="#">List</a></li>
<li class="divider"></li>
<li><a href="#">Options...</a></li>
</ul>
</li>
<li class="dropdown"> <a class="dropdown-toggle" data-toggle="dropdown" href="#">Servers <b class="caret"></b> </a>
<ul class="dropdown-menu">
<li><a href="#">Add new...</a></li>
<li><a href="#">Manage</a></li>
<li><a href="#">List</a></li>
<li class="divider"></li>
<li><a href="#">Options...</a></li>
</ul>
</li>
<li><a href="#pools">Pools</a></li>
</ul>
<form class="navbar-search pull-right" action="">
<input class="search-query" type="text" placeholder="Search">
</form>
</div><!--/.nav-collapse -->
</div>
</div>
</div>
<div class="container">
<h1>Overview</h1>
<p>XCP overview</p>
</div> <!-- /container -->
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="../deps/js/jquery.js"></script>
<script src="../deps/bootstrap/js/bootstrap.js"></script>
</body>
</html>