index.html 3.4 KB
Newer Older
L
lepdou 已提交
1
<!doctype html>
L
lepdou 已提交
2
<html ng-app="index">
L
lepdou 已提交
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">
L
lepdou 已提交
9
    <link href="//cdn.bootcss.com/font-awesome/4.5.0/css/font-awesome.min.css" rel="stylesheet">
L
lepdou 已提交
10 11 12 13
    <link rel="stylesheet" type="text/css" href="styles/common-style.css">
    <title>apollo</title>
</head>

L
lepdou 已提交
14
<body ng-controller="IndexController">
L
lepdou 已提交
15

16 17 18 19 20
<div class="site-notice">当前站点支持
    &nbsp;<a ng-repeat="env in envs" ng-class="{selected:selectedEnv == env}" ng-click="switchEnv(env)"><em>{{env}}
        </em></a>&nbsp;
    环境点击切换
</div>
L
lepdou 已提交
21

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

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

        </div>
    </div>
40

L
lepdou 已提交
41
</header>
42

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

L
lepdou 已提交
59
                </div>
L
style  
lepdou 已提交
60 61
            </div>
        </a>
L
lepdou 已提交
62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
    </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 -->
<script src="vendor/jquery.js" type="text/javascript"></script>

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

L
lepdou 已提交
79 80 81
<!--nicescroll-->
<script src="vendor/jquery.nicescroll.min.js"></script>

L
lepdou 已提交
82 83
<script type="application/javascript" src="scripts/app.js"></script>
<script type="application/javascript" src="scripts/services/AppService.js"></script>
84
<script type="application/javascript" src="scripts/services/EnvService.js"></script>
L
lepdou 已提交
85
<script type="application/javascript" src="scripts/AppUtils.js"></script>
L
lepdou 已提交
86
<script type="application/javascript" src="scripts/controller/IndexController.js"></script>
L
lepdou 已提交
87

L
lepdou 已提交
88 89
</body>
</html>