Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
35501 ranu 1
<script type="text/javascript">
2
    $(document).ready(function () {
3
        $('#brands').multiselect({
4
            includeSelectAllOption: true,
5
            maxHeight: 200,
6
            multiple: true,
7
            buttonWidth: '180px',
8
            numberDisplayed: 1,
9
            nonSelectedText: 'Brands',
10
            nSelectedText: ' - Brands Selected',
11
            allSelectedText: 'All Brand Selected',
12
            enableFiltering: true,
13
            enableCaseInsensitiveFiltering: true
14
        });
15
 
16
    });
17
</script>
18
 
19
<style>
20
    .today-offer-container {
21
        font-size: 15px !important;
22
    }
23
 
24
    .today-offer-container h4 {
25
        text-transform: uppercase;
26
        font-size: 17px;
27
    }
28
 
29
    .today-offer-container hr {
30
        border-top: 1px solid #000;
31
        margin-top: 10px;
32
    }
33
 
34
    .loader-wrapper {
35
        text-align: center;
36
        padding: 100px 0;
37
        width: 100%;
38
    }
39
 
40
    .loader-wrapper i {
41
        color: #007bff; /* Adjust color to match your theme */
42
    }
43
 
44
    .loader-text {
45
        display: block;
46
        margin-top: 15px;
47
        font-weight: 500;
48
        color: #666;
49
    }
50
</style>
51
 
52
<section class="wrapper">
53
    <div class="row">
54
        <div class="col-lg-12">
55
            <h3 class="page-header">
56
                <i class="icon_document_alt"></i>Today Offer
57
            </h3>
58
            <ol class="breadcrumb">
59
                <li><i class="fa fa-home"></i><a
60
                        href="${rc.contextPath}/dashboard">Home</a></li>
61
                <li><i class="icon_document_alt"></i>Today Offer</li>
62
            </ol>
63
        </div>
64
    </div>
65
 
66
    <div class="row">
67
        <div class="col-lg-12">
68
 
69
            <div class="row">
70
                <div class="col-lg-12">
71
 
72
                    <ul class="nav nav-tabs brand-tabs" id="brandTabs">
73
                        #foreach($brand in $brands)
74
                            <li class="#if($velocityCount == 8) active #end">
75
                                <a href="javascript:void(0);"
76
                                   class="brand-tab"
77
                                   data-brand="$brand.name" data-fofoid="$fofoId">
78
 
79
                                    <img src="$brand.logoUrlTransparent" width="60px"
80
                                         class="brand-logo"/>
81
                                </a>
82
                            </li>
83
                        #end
84
                    </ul>
85
 
86
                </div>
87
            </div>
88
 
89
 
90
            #if($isAdmin)
91
                <div class="col-lg-3">
92
                    <input placeholder="Enter Partner Name" type="text" class="typeahead form-control"
93
                           id="today-offer-partner" name="Partners" data-provide="typeahead" value=""
94
                           autocomplete="off">
95
                </div>
96
                <script type="text/javascript">
97
                    $(function () {
98
                        getPartnerAheadOptions($("#today-offer-partner"), function (selectedPartner) {
99
                            partnerId = selectedPartner.partnerId;
100
                        });
101
                    });
102
                </script>
103
            #end
104
 
105
 
106
        </div>
107
 
108
    </div>
109
 
110
 
111
    <div class="today-offer-container"></div>
112
</section>