signinSuccess.php 2.15 KB
Newer Older
Игорь's avatar
init    
Игорь committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php slot('title', 'Авторизация'); ?>
<?php use_helper('I18N') ?>
<style>
    input::-webkit-input-placeholder {
        color: rgba(255, 255, 255, 0.5);
    }
</style>
<table width="100%" class="login_form_table">
    <tr>
        <td align="center">
            <form method="post" id="login_form" class="form" action="<?php echo url_for('@signin'); ?>">
                <?php
                foreach (array('notice', 'error') as $flash){
                    if($sf_user->hasFlash($flash)){
                        echo '<ul class="notice_list"><li>' . $sf_user->getFlash($flash) . '</li></ul>';
                    }
                }
                ?>
                <div>
                    <table cellpadding="0">
                        <tr align="center">
                            <td>
                                <img style="margin-bottom: 60px" src="/i/logo.svg" width="200" />
                                <?php
                                echo $form;
                                ?>
                            </td>
                        </tr>
                        <tr align="center">
                            <td>
                                <input type="submit" id="submit" name="submit" data-title_normal="Войти" data-title_progress="Вход..." data-title_error="Ошибка" value="Войти"/>
                            </td>
                        </tr>
                        <?php
                        /*
                        ?>
                        <tr align="center">
                            <td>
                                <span class="br10"></span>
                                <?php echo link_to('Восстановить пароль', '@reset');?>
                            </td>
                        </tr>
                        <?php
                        */
                        ?>
                    </table>
                </div>
            </form>
        </td>
    </tr>
</table>
<div class="bg_changer" style="background-color:#182A36;"></div>
<script type="text/javascript">

    $(document).ready(function () {

    });

</script>


<script type="text/javascript">

</script>