<div id="tablewrapper">
    <!-- @import "/app/monitor/components/drilltable_upc.kit" -->
</div>
<div class="drillcontainer" id="unitdetails">
    <div class="row tools detailtools">
        <div class="col-12 text-right">
            <ul>
                <li class="dropdown notifications hidden-sm-down">
                    <a href="javascript:void(0);" class="dropdown-toggle" role="button">
                        <i class="icon icon-export" data-toggle="tooltip" data-original-title="Export"></i>

                    </a>
                    <div class="dropdown-menu " aria-labelledby="gaergrdsdz">

                        <div>
                            <p>Export as:</p>

                            <a href="#"><i class="icon icon-file-excel"> CSV</i></a>
                            <a href="#"><i class="icon icon-file-image"> Image</i></a>

                        </div>
                    </div>
                </li>
                <li>
                    <i class="icon icon-max maximize" data-toggle="tooltip" data-original-title="Maximize"></i>
                </li>
                <li>
                    <a href="/app/monitor/pages/drilltable_detail.html" target="_blank">
                        <i class="icon icon-newwin" data-toggle="tooltip" data-original-title="Open in new window"></i>
                    </a>
                </li>
                <li>
                    <i class="icon icon-close closeDetail" data-toggle="tooltip" data-original-title="Close"></i>
                </li>
            </ul>
        </div>
    </div>
    <div class="row statusrow">
        <div class="col-8 unitdescription">
            <h3>UPC1 South Quadrant</h3>
        </div>
        <div class="col-4 text-right  status unitdescription">
            <div class="text-left statusbox">
                <div class="statusgroup">
                    <div class="left">
                        <h4>Status:
                        </h4>
                    </div>
                    <div class="right statusboxtext">
                        <p>
                            <span class="icon-stack">
                                <i class="icon-tri_bg"></i>
                                <i class="icon-warning color-warning"></i>
                            </span>
                            <span>Warning</span></p>
                    </div>
                </div>

            </div>
        </div>
    </div>
    <ul class="nav nav-tabs" role="tablist">
        <li class="nav-item">
            <a class="nav-link active" href="#activepower" role="tab" data-toggle="tab">Active Power Control</a>
        </li>
        <li class="nav-item">
            <a class="nav-link" href="#reactivepower" role="tab" data-toggle="tab">Reactive Power Control</a>
        </li>
        <li class="nav-item">
            <a class="nav-link" href="#events" role="tab" data-toggle="tab" id="counterTab">Events <span
                    class="count">3</span></a>
        </li>

    </ul>
    <div class="tab-content">
        <div role="tabpanel" class="tab-pane active" id="activepower">
            <div class="gridwrapper">
                <div class="frame full notlr" style="max-height:none;">
                    <div class="row">
                        <div class="col-12">
    <!-- @import "upc_activepower_svg.kit" -->

                        </div>
                    </div>
                </div>
            </div>
        </div>

        <div role="tabpanel" class="tab-pane" id="reactivepower">
            <div class="gridwrapper">
                <div class="frame full notlr" style="max-height:none;">
                    <div class="row">
                        <div class="col-12">
    <!-- @import "upc_reactivepower_svg.kit" -->

                        </div>
                    </div>
                </div>
            </div>
        </div>



        <div role="tabpanel" class="tab-pane" id="events">
            <div class="gridwrapper">
                <div class="frame full notlr" style="max-height:none;">
                    <div class="row">
                        <div class="col-6">
                            <h3>Events last 24 hours</h3>
                        </div>
                        <div class="col-6 text-right"><button class="btn"><i class="icon icon-onlinedata"></i> Show live
                                events</button></div>
                    </div>

                    <table class="itemtable">
                        <thead>
                            <tr>
                                <th class="noinput">
                                    <a href="javascript:void(0);" class="dropdown-toggle filterdrop"
                                        data-toggle="dropdown" role="button">
                                        <i class="icon icon-filter disabled"></i> Status</a>
                                    <div class="dropdown-menu  dropdown-menu">
                                        <table class="statusfilter">
                                            <tbody>
                                                <tr>
                                                    <td>
                                                        <input type="checkbox">
                                                    </td>
                                                    <td>
                                                        <img src="/app/core/images/redalert.svg">Alarms</td>
                                                </tr>
                                                <tr>
                                                    <td>
                                                        <input type="checkbox">
                                                    </td>
                                                    <td>
                                                        <img src="/app/core/images/warningtriangle.svg">Warnings</td>
                                                </tr>

                                                <tr>
                                                    <td>
                                                        <input type="checkbox">
                                                    </td>
                                                    <td>
                                                        <img src="/app/core/images/service.svg">Service</td>
                                                </tr>

                                                <tr>
                                                    <td>
                                                        <input type="checkbox">
                                                    </td>
                                                    <td>
                                                        <img src="/app/core/images/communication.svg">Communication</td>
                                                </tr>

                                                <tr>
                                                    <td colspan="2">
                                                        <button class="btn">OK</button>
                                                    </td>
                                                </tr>

                                            </tbody>
                                        </table>
                                    </div>
                                    <div class="sort-arrows">
                                        <div class="arrow-up"></div>
                                        <div class="arrow-down"></div>
                                    </div>
                                </th>
                                <th>
                                    <div class="material-input">
                                        <input required="">
                                        <label>ID</label>
                                        <i class="icon icon-filter disabled"></i>
                                    </div>
                                    <div class="sort-arrows">
                                        <div class="arrow-up"></div>
                                        <div class="arrow-down"></div>
                                    </div>
                                </th>
                                <th class="noinput">
                                    <a href="javascript:void(0);" class="dropdown-toggle filterdrop"
                                        data-toggle="dropdown" role="button">
                                        <i class="icon icon-filter disabled"></i>Alarm started
                                    </a>
                                    <div class="dropdown-menu dropdown-menu datefilter">
                                        <div class="header">
                                            <input type="text" placeholder="Filter">
                                        </div>
                                        <div class="range">
                                            <p>Today</p>
                                            <p>Yesterday</p>
                                            <p>Last week</p>
                                        </div>
                                        <section class="calendartable">
                                            <p>Specific date:</p>
                                            <table class="tableheader">
                                                <tbody>
                                                    <tr>
                                                        <td>
                                                            <img src="/app/core/images/previous.svg">
                                                        </td>
                                                        <td>
                                                            <h2 class="title">May 2018</h2>
                                                        </td>
                                                        <td class="text-right">
                                                            <img src="/app/core/images/next.svg">
                                                        </td>
                                                    </tr>
                                                </tbody>
                                            </table>
                                            <table>
                                                <thead>
                                                    <tr>
                                                        <th>S</th>
                                                        <th>M</th>
                                                        <th>T</th>
                                                        <th>W</th>
                                                        <th>T</th>
                                                        <th>F</th>
                                                        <th>S</th>
                                                    </tr>
                                                </thead>
                                                <tbody>
                                                    <tr>
                                                        <td class="notthismonth">25</td>
                                                        <td class="notthismonth">26</td>
                                                        <td class="notthismonth">27</td>
                                                        <td class="notthismonth">28</td>
                                                        <td class="notthismonth">29</td>
                                                        <td class="notthismonth">30</td>
                                                        <td>1</td>
                                                    </tr>
                                                    <tr>
                                                        <td>2</td>
                                                        <td>3</td>
                                                        <td>4</td>
                                                        <td>5</td>
                                                        <td>6</td>
                                                        <td>7</td>
                                                        <td>8</td>
                                                    </tr>
                                                    <tr>
                                                        <td>9</td>
                                                        <td>10</td>
                                                        <td>11</td>
                                                        <td>12</td>
                                                        <td>13</td>
                                                        <td>14</td>
                                                        <td>15</td>
                                                    </tr>
                                                    <tr>
                                                        <td>16</td>
                                                        <td>17</td>
                                                        <td>18</td>
                                                        <td>19</td>
                                                        <td>20</td>
                                                        <td>21</td>
                                                        <td>22</td>
                                                    </tr>
                                                    <tr>
                                                        <td>23</td>
                                                        <td>24</td>
                                                        <td>25</td>
                                                        <td>26</td>
                                                        <td class="today">27</td>
                                                        <td>28</td>
                                                        <td>29</td>
                                                    </tr>
                                                    <tr>
                                                        <td>30</td>
                                                        <td>31</td>
                                                        <td class="notthismonth">1</td>
                                                        <td class="notthismonth">2</td>
                                                        <td class="notthismonth">3</td>
                                                        <td class="notthismonth">4</td>
                                                        <td class="notthismonth">5</td>
                                                    </tr>

                                                </tbody>
                                            </table>
                                        </section>
                                    </div>
                                    <div class="sort-arrows">
                                        <div class="arrow-up"></div>
                                        <div class="arrow-down"></div>
                                    </div>
                                </th>
                                <th>
                                    <div class="material-input" data-toggle="tooltip" data-placement="right" title=""
                                        data-original-title="Eg. >10 or <5. Number is hours">
                                        <input required="">
                                        <label>Age</label>
                                        <i class="icon icon-filter disabled"></i>
                                    </div>
                                    <div class="sort-arrows">
                                        <div class="arrow-up"></div>
                                        <div class="arrow-down"></div>
                                    </div>
                                </th>
                                <th>
                                    <div class="material-input">
                                        <input required="">
                                        <label>Description</label>
                                        <i class="icon icon-filter disabled"></i>
                                    </div>
                                    <div class="sort-arrows">
                                        <div class="arrow-up"></div>
                                        <div class="arrow-down"></div>
                                    </div>
                                </th>
                                <th class="noinput text-center" colspan="2">
                                    <span>Info</span>
                                    <div class="sort-arrows">
                                        <div class="arrow-up"></div>
                                        <div class="arrow-down"></div>
                                    </div>
                                </th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr class="datarow">


                                <td class="text-center">
                                    <ul class="alarmicons">
                                        <li>
                                            <a href="javascript:void(0);" data-toggle="modal"
                                                data-target="#exampleModal">
                                                <span class="icon-stack">
                                                    <i class="icon-tri_bg"></i>
                                                    <i class="icon-alert color-alert"></i>

                                                </span>
                                            </a>
                                        </li>
                                    </ul>
                                </td>
                                <td>22336</td>
                                <td>18.05.2018</td>
                                <td>16 minutes</td>
                                <td>Bacon ipsum dolor amet capicola ball tip turducken biltong shank, ham alcatra...
                                </td>
                                <td class="text-right">

                                    <span class="icon-stack" data-toggle="modal" data-target="#editAlarmModal"
                                        style="vertical-align:top;">
                                        <i class=" icon-square_bg"></i>
                                        <i class=" icon-check-square color-ok"></i>
                                    </span>
                                </td>
                                <td class="text-right">


                                    <i class="icon icon-notes" data-toggle="modal" data-target="#editAlarmModal"
                                        style="vertical-align:top;"></i>
                                </td>
                            </tr>
                            <tr class="datarow">


                                <td class="text-center">
                                    <ul class="alarmicons">
                                        <li>
                                            <a href="javascript:void(0);" data-toggle="modal"
                                                data-target="#exampleModal">
                                                <span class="icon-stack">
                                                    <i class="icon-tri_bg"></i>
                                                    <i class="icon-alert color-alert"></i>
                                                    <i class="icon-plusvirtual"></i>

                                                </span>
                                            </a>
                                        </li>
                                    </ul>
                                </td>
                                <td>20223</td>
                                <td>16.05.2018</td>
                                <td>4 hours</td>
                                <td>Bacon ipsum dolor amet capicola ball tip turducken biltong shank, ham alcatra...
                                </td>
                                <td class="text-right">
                                    <i class="icon icon-check" data-toggle="modal" data-target="#exampleModal"></i>
                                </td>
                                <td></td>
                            </tr>


                            <tr class="datarow">

                                <td class="text-center">
                                    <ul class="alarmicons">
                                        <li>
                                            <a href="javascript:void(0);" data-toggle="modal"
                                                data-target="#exampleModal">
                                                <span class="icon-stack">
                                                    <i class="icon-service color-service"></i>
                                                    <i class="icon-plusvirtual"></i>

                                                </span>
                                            </a>
                                        </li>
                                    </ul>
                                </td>
                                <td>102236</td>
                                <td>12.05.2018</td>
                                <td>3 days</td>
                                <td>Bacon ipsum dolor amet capicola ball tip turducken biltong shank, ham alcatra...
                                </td>
                                <td class="text-right">

                                    <span class="icon-stack" data-toggle="modal" data-target="#editAlarmModal"
                                        style="vertical-align:top;">
                                        <i class=" icon-square_bg"></i>
                                        <i class=" icon-check-square color-ok"></i>
                                    </span>
                                </td>
                                <td class="text-right">


                                    <i class="icon icon-notes" data-toggle="modal" data-target="#editAlarmModal"
                                        style="vertical-align:top;"></i>
                                </td>
                            </tr>

                        </tbody>
                    </table>

                </div>
            </div>
        </div>



    </div>
</div>