index.html 3.39 KB
Newer Older
lepdou committed
1
<!doctype html>
lepdou committed
2
<html ng-app="index">
lepdou committed
3 4 5 6 7 8
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <!-- styles -->
    <link rel="stylesheet" type="text/css" href="vendor/bootstrap/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="vendor/angular/angular-toastr-1.4.1.min.css">
    <link rel="stylesheet" type="text/css" media='all' href="vendor/angular/loading-bar.min.css">
lepdou committed
9 10
    <link rel="stylesheet" type="text/css" media='all' href="vendor/font-awesome.min.css">

lepdou committed
11 12 13 14
    <link rel="stylesheet" type="text/css" href="styles/common-style.css">
    <title>apollo</title>
</head>

lepdou committed
15
<body ng-controller="IndexController">
lepdou committed
16

lepdou committed
17 18
<div class="site-notice"><label>当前站点支持</label><label ng-repeat="env in envs" ng-bind="env" style="margin-left: 5px;"></label>
    环境
19
</div>
lepdou committed
20

lepdou committed
21 22 23 24
<header class="site-header jumbotron">
    <div class="container">
        <div class="row">
            <div class="col-xs-12"><h1>Apollo</h1>
lepdou committed
25
                <p>携程统一配置中心<br>
lepdou committed
26
                    <span class="package-amount">共收录了 <strong ng-bind="appsCount"></strong> 个项目</span>
lepdou committed
27
                    <a class="btn btn-success" href="app.html">创建项目</a>
lepdou committed
28 29
                </p>

lepdou committed
30 31
                <form class="" role="search">
                    <div class="form-group"><input type="text" class="form-control search clearable"
32 33
                                                   placeholder="搜索App, 例如:apollo" ng-model="searchKey"
                                                   ng-change="search()"></div>
lepdou committed
34 35 36 37 38
                </form>
            </div>

        </div>
    </div>
39

lepdou committed
40
</header>
41

lepdou committed
42
<div class="container-fluid apollo-container">
lepdou committed
43
    <div class="list-group apps">
lepdou committed
44
        <a class="package list-group-item" href="config.html?#/appid={{app.appId}}"
45
           ng-repeat="app in apps ">
lepdou committed
46
            <div class="row">
lepdou committed
47
                <div class="col-md-3"><h4 class="apps-name" ng-bind="app.appId"></h4></div>
lepdou committed
48
                <div class="col-md-7 hidden-xs">
lepdou committed
49
                    <p class="apps-description" ng-bind="app.name"></p>
lepdou committed
50 51 52
                </div>
                <div class="col-md-2">
                    <p class="apps-description">
lepdou committed
53
                        <span ng-bind="app.ownerName"></span>
lepdou committed
54
                        <br>
lepdou committed
55
                        <span ng-bind="app.ownerEmail"></span>
lepdou committed
56
                    </p>
lepdou committed
57

lepdou committed
58
                </div>
lepdou committed
59 60
            </div>
        </a>
lepdou committed
61 62 63 64 65 66 67 68 69 70 71 72
    </div>
</div>

<div ng-include="'views/common/footer.html'"></div>

<!--angular-->
<script src="vendor/angular/angular.min.js"></script>
<script src="vendor/angular/angular-resource.min.js"></script>
<script src="vendor/angular/angular-toastr-1.4.1.tpls.min.js"></script>
<script src="vendor/angular/loading-bar.min.js"></script>

<!-- jquery.js -->
73
<script src="vendor/jquery.min.js" type="text/javascript"></script>
lepdou committed
74 75 76 77

<!-- bootstrap.js -->
<script src="vendor/bootstrap/js/bootstrap.min.js" type="text/javascript"></script>

lepdou committed
78 79 80
<!--nicescroll-->
<script src="vendor/jquery.nicescroll.min.js"></script>

lepdou committed
81 82
<script type="application/javascript" src="scripts/app.js"></script>
<script type="application/javascript" src="scripts/services/AppService.js"></script>
83
<script type="application/javascript" src="scripts/services/EnvService.js"></script>
lepdou committed
84
<script type="application/javascript" src="scripts/AppUtils.js"></script>
lepdou committed
85
<script type="application/javascript" src="scripts/controller/IndexController.js"></script>
lepdou committed
86

lepdou committed
87 88
</body>
</html>