constar/infor-you-mation

View on GitHub
app/index.html

Summary

Maintainability
Test Coverage
<!DOCTYPE html>
<html ng-app="infor-you-mation">
    <head>
        <title>邮·订阅</title>
        <link rel="stylesheet" href="stylesheets/style.css">
        <link rel="stylesheet" href="stylesheets/register.css">
        <link rel="stylesheet" href="stylesheets/detail.css">
        <link rel="stylesheet" href="stylesheets/list.css">
        <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    </head>
    <body>
        <div class="header">
            <div class="header__logo-wrapper">
                <a href="/#/"><img src="http://7xloce.com1.z0.glb.clouddn.com/udylogo.png" id="header__logo"></a>
            </div>
            <div class="header__nav-wrapper">
                <h1 class="header__welcome"> Hello, 欢迎来到邮订阅~</h1>
                <div class="header__btn-wrapper">
                    <div ng-if="isLogin" style="text-align:center">
                        <a href="/#/">我的主页</a>
                        <a href="/#/">关于我们</a>
                        <button  ng-click="logout()">退出</button>
                    </div>
                    <div ng-if="!isLogin">
                        <a href="/#/login">登录</a>
                        <a href="/#/register">注册</a>
                    </div>
                </div>
            </div>
        </div>
        <div id="main">
            <div ng-view></div>
        </div>
        <div class="footer__btn-wrapper">
            <div ng-if="isLogin">
                <a class="isLogin" href="/#">首页</a>
                <a class="isLogin" href="/#">关于</a>
                <a class="isLogin" href="/#">我的</a>
                <button class="isLogin" ng-click="logout()">退出</button>
            </div>
            <div ng-if="!isLogin">
                <a href="/#/login">登录</a>
                <a href="/#/register">注册</a>
            </div>
        </div>
        <script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1257728289'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s4.cnzz.com/z_stat.php%3Fid%3D1257728289%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
    </body>
</html>
<script src="bower_components/angular/angular.min.js"></script>
<script src="bower_components/angular-route/angular-route.min.js"></script>
<script src="bower_components/angular-sanitize/angular-sanitize.min.js"></script>
<script src="bower_components/angular-cookies/angular-cookies.min.js"></script>
<script src="javascripts/index.js"></script>