.modal(ng-controller="AboutViewController", disable-child-drag)
    .modal-dialog
        .modal-content
            .modal-body
                .close-button(ng-click="aboutModal.modal.hide()")
                .upper
                    video(name="myVideo", onclick="play()", get-element="duckWinkVideo")
                        source(src='../video/about-motion.mp4')
                .lower
                    .about-panel(ng-show="IsView(VIEWS.ABOUT)")
                        .introduction
                            p PP鸭利用优秀的算法,自动可靠的压缩各种图片,让图片在保证质量前提下得到极大的瘦身.PP鸭支持图片压缩前后对比,自动显示压缩比.
                            p PP鸭是一款跨平台软件, 可以在win,mac,linux平台自由使用.
                        .foot-box
                            .ver-line
                                span
                                    | 版本: {{ version }}
                                span.mid-separator
                                    | |
                                a(href="#", ng-click="openExternal('http://www.ppduck.com')")
                                    | 访问官网
                            .login-line(ng-show="!isVIP()")
                                button.btn.btn-default(ng-click="setView(VIEWS.LOGIN)")
                                    | 用户登录
                                button.btn.btn-default(ng-click="openExternal('http://www.ppduck.com/user/login#/register')")
                                    | 新用户注册
                            .logged-line(ng-show="isVIP()")
                                .logged-box
                                    .email
                                        | {{ model.email }}
                                    .logo
                                        img(ng-src="../img/logout.png", ng-click="logout()")
                    .login-view(ng-show="IsView(VIEWS.LOGIN)")
                        form.form-horizontal(
                        name="formLogin",
                        ng-submit="submitLogin()",
                        novalidate
                        )
                            input.form-control(name="email", type="email", required, placeholder="请输入邮箱", ng-model="model.email")
                            input.form-control(name="password", type="password", required, placeholder="请输入密码", ng-model="model.password")
                            div
                                button.btn.btn-default(type="submit")
                                    | 用户登录
                            .forget-return-line
                                a(role="button", ng-click="openExternal('http://www.ppduck.com/user/login#/reset-password')")
                                    | 忘记密码
                                span.mid-separator
                                a(role="button", ng-click="setView(VIEWS.ABOUT)")
                                    | 关于PP鸭
                            .foot-message
                                | {{ footMessage }}
