Subversion Repositories SmartDukaan

Rev

Rev 32381 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<style>
.btn:hover,
.btn:focus {
        color: grey;
        text-decoration: none;
        }

        .modal-dialog.modal-lg{
                left:10%;
                right:auto;
                width:80%;
        }
        .modal-content{
                background : white;
        }
        
        .border-highlight{
                border : 3px solid red;
        }
        td.highlight{
                background-color: yellowgreen !important;
        }
        .dataTables_length, .dataTables_filter{
                padding: 0 !important;
        }
</style>

<section class="wrapper">            
      <!--overview start-->
        <div class="row">
                        <div class="col-lg-12">
                                <h3 class="page-header"><i class="icon_document_alt"></i>ACCESS MANAGEMENT</h3>
                                <ol class="breadcrumb">
                                        <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">Home</a></li>
                                        <li><i class="icon_document_alt"></i>ACCESS MANAGEMENT</li>                                                     
                                </ol>
                        </div>
        </div>
        <div class="row">
                <div class="col-lg-4">
                        <table id="ticket-category" class="table table-striped table-condensed">
                                <thead>
                                        <tr>
                                                <th>Role/Category</th>
                                        </tr>
                                </thead>
                                <tbody>
                                #foreach($ticketCategory in $ticketCategories)
                                        #foreach($escalationType in $escalationTypes)
                                        <tr>
                                        <td>
                                                <a class="category-level" href="javascript:void(0)" data-level="$escalationType" data-category="$ticketCategory.getId()">$ticketCategory.getName()-$escalationType</a>
                                        </td>
                                        </tr>
                                        #end 
                                #end
                                </tbody>
                        </table>
                </div>
                <div class="col-lg-4">
                        <table id="access-resource" class="table table-striped table-condensed">
                                <thead>
                                        <tr>
                                                <th>Resource</th>
                                        </tr>
                                </thead>
                                <tbody>
                                #foreach($menuItem in $menuItems)
                                        #if($menuItem.get_parent())
                                        <tr><td>
                                                <div class="checkbox">
                                                        <label><input type="checkbox" data-menuid="$menuItem.getId()" value="$menuItem.getId()" >
                                                                        $menuItem.get_parent().getDisplayText() - $menuItem.getDisplayText()
                                                        </label>
                                                </div>
                                        </td></tr>
                                        #end
                                #end
                                </tbody>
                        </table>
                </div>
        </div>
        <script type="text/javascript">
                $('#access-resource').dataTable({
                        "iDisplayLength" : 20
                });
                $('#ticket-category').dataTable({
                        "iDisplayLength" : 20
                });
        </script>
</section>