indexSuccess.php 1.76 KB
Newer Older
Яков's avatar
first  
Яков 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
<?php use_helper('I18N', 'Date') ?>
<?php include_partial('csSetting/assets') ?>

<?php $sf_response->addStylesheet('/csSettingsPlugin/css/cs_settings.css') ?>

<style type="text/css">
    .arm_csSetting{
        padding: 0;
    }
    .arm_csSetting .error_list{
        position: relative;
    }
    #sf_admin_container{
        padding-top: 15px;
    }
    .lui__notice{
        top: 5px;
        right: 5px;
    }
    .sf_admin_action_save_settings{
        position: absolute;
        top: 57px;
        z-index: 1000;
    }
</style>

<div id="sf_admin_container">
    <span class="lui__h1 h_h1">Настройки</span>
    <span class="br15"></span>

    <?php include_partial('csSetting/flashes') ?>

    <div id="sf_admin_header">
        <div class="lui__list_actions__wrapper" data-count="4" style="height: 46px;"></div>
        <?php /*include_partial('csSetting/list_header', array('pager' => $pager))*/ ?>
    </div>

    <div id="sf_admin_content" style="padding-left: 10px;">
        <form action="<?php echo url_for('@cs_setting_save_all'); ?>" method="post" enctype="multipart/form-data">
            <?php if ($form->isCSRFProtected()) : ?>
                <?php echo $form['_csrf_token']->render(); ?>
            <?php endif; ?>

            <?php include_partial('csSetting/list', array('pager' => $pager, 'sort' => $sort, 'helper' => $helper, 'form' => $form)) ?>

            <ul class="sf_admin_actions">
                <?php include_partial('csSetting/list_batch_actions', array('helper' => $helper)) ?>
                <?php include_partial('csSetting/list_actions', array('helper' => $helper)) ?>
            </ul>
        </form>
    </div>

    <div id="sf_admin_footer">
        <?php include_partial('csSetting/list_footer', array('pager' => $pager)) ?>
    </div>
</div>