<?php
// *************************************************************************
// *                                                                       *
// * DEPRIXA BASIC -  Freight Forwarding & Shipping Software Solutions     *
// * Copyright (c) JAOMWEB. All Rights Reserved                            *
// *                                                                       *
// *************************************************************************
// *                                                                       *
// * Email: support@jaom.info                                              *
// * Website: https://deprixa.link/documentation/                          *
// *                                                                       *
// *************************************************************************
// *                                                                       *
// * This software is furnished under a license and may be used and copied *
// * only  in  accordance  with  the  terms  of such  license and with the *
// * inclusion of the above copyright notice.                              *
// * If you Purchased from Codecanyon, Please read the full License from   *
// * here- http://codecanyon.net/licenses/standard                         *
// *                                                                       *
// *************************************************************************



if (!$user->cdp_is_Admin())
    cdp_redirect_to("login.php");

$userData = $user->cdp_getUserData();

?>
<!DOCTYPE html>
<html dir="ltr" lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="keywords" content="Courier DEPRIXA-Integral Web System" />
    <meta name="author" content="Jaomweb">

    <title><?php echo $lang['tools-config61'] ?> | <?php echo $core->site_name ?></title>
    <link rel="stylesheet" type="text/css" href="assets/libs/@claviska/jquery-minicolors/jquery.minicolors.css">

    <?php include 'views/inc/head_scripts.php'; ?>
</head>

<body>
    <!-- ============================================================== -->
    <!-- Preloader - style you can find in spinners.css -->
    <!-- ============================================================== -->


    <?php include 'views/inc/preloader.php'; ?>
    <!-- ============================================================== -->
    <!-- Main wrapper - style you can find in pages.scss -->
    <!-- ============================================================== -->
    <div id="main-wrapper">
        <!-- ============================================================== -->
        <!-- Topbar header - style you can find in pages.scss -->
        <!-- ============================================================== -->

        <!-- ============================================================== -->
        <!-- Preloader - style you can find in spinners.css -->
        <!-- ============================================================== -->

        <?php include 'views/inc/topbar.php'; ?>

        <!-- End Topbar header -->


        <!-- Left Sidebar - style you can find in sidebar.scss  -->

        <?php include 'views/inc/left_sidebar.php'; ?>


        <!-- End Left Sidebar - style you can find in sidebar.scss  -->

        <!-- Page wrapper  -->
        <!-- ============================================================== -->
        <div class="page-wrapper">

            <!-- ============================================================== -->
            <!-- Start Page Content -->
            <!-- ============================================================== -->
            <div class="email-app">
                <!-- ============================================================== -->
                <!-- Left Part menu -->
                <!-- ============================================================== -->

                <?php include 'views/inc/left_part_menu_miscellaneous.php'; ?>

                <!-- ============================================================== -->
                <!-- Right Part contents-->
                <!-- ============================================================== -->
                <div class="right-part mail-list bg-white overflow-auto">

                    <!-- Action part -->
                    <div class="p-4 border-bottom">
                        <div class="d-flex align-items-center">
                            <div>
                                <h4><?php echo $lang['tools-config61'] ?> | <?php echo $lang['tools-statuscourier12']; ?></h4>

                                <span><i data-feather="chevrons-right" class="feather-sm fill-white me-2"></i><span><?php echo $lang['tools-statuscourier7'] ?> <span><?php echo $lang['tools-statuscourier8'] ?></span>
                            </div>
                        </div>
                    </div>

                    <!-- Button group part -->
                    <div class="bg-light p-15">
                        <div class="row justify-content-center">
                            <div class="col-md-12">
                                <div class="row">
                                    <div class="col-12">
                                        <div id="resultados_ajax"></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="card">
                        <div class="card-body">

                            <form class="form-horizontal form-material" id="save_data" name="save_data" method="post">
                                <div class="row">
                                    <div class="col-md-6 mb-3">
                                        <label class="control-label col-form-label"><?php echo $lang['tools-statuscourier7'] ?></label>
                                        <div class="input-group">
                                            <span class="input-group-text" id="basic-addon1">
                                                <i data-feather="sliders" class="feather-sm"></i>
                                            </span>
                                            <input type="text" class="form-control" id="mod_style" name="mod_style" placeholder="<?php echo $lang['tools-statuscourier1'] ?>">
                                        </div>
                                    </div>
                                    <div class="col-md-6 mb-3">
                                        <label class="control-label col-form-label"><?php echo $lang['tools-statuscourier9'] ?></label>
                                        <div class="input-group">
                                            <span class="input-group-text" id="basic-addon1">
                                                <i data-feather="git-commit" class="feather-sm"></i>
                                            </span>
                                            <input type="text" class="form-control" id="detail" name="detail" placeholder="<?php echo $lang['tools-statuscourier9'] ?>">
                                        </div>
                                    </div>
                                </div>

                                <div class="row">
                                    <div class="col-md-6 mb-3">
                                        <label class="control-label col-form-label"><?php echo $lang['tools-statuscourier10'] ?></label>
                                        <div class="input-group">
                                            <span class="input-group-text" id="basic-addon1">
                                                <i data-feather="droplet" class="feather-sm"></i>
                                            </span>
                                            <input type="text" id="color" name="color" id="position-top-right" class="form-control demo" data-position="top right" value="#0088cc">
                                        </div>
                                    </div>
                                </div>

                                <div class="form-group">
                                    <div class="col-sm-12">
                                        <button class="btn btn-primary btn-confirmation" name="dosubmit" type="submit"><?php echo $lang['tools-statuscourier11'] ?> <i class="icon-ok"></i></button>
                                        <a href="status_courier_list.php" class="btn btn-secondary btn-confirmation"><i class="ti-share-alt"></i> <?php echo $lang['tools-statuscourier6'] ?></a>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>

        <?php include 'views/inc/footer.php'; ?>
    </div>

    <script src="dataJs/status_courier.js"></script>

    <!-- --------------------------------------------------------------- -->
    <!-- This page JavaScript -->
    <!-- --------------------------------------------------------------- -->
    <script src="assets/libs/jquery-asColor/dist/jquery-asColor.min.js"></script>
    <script src="assets/libs/jquery-asGradient/dist/jquery-asGradient.js"></script>
    <script src="assets/libs/jquery-asColorPicker/dist/jquery-asColorPicker.min.js"></script>
    <script src="assets/libs/@claviska/jquery-minicolors/jquery.minicolors.min.js"></script>
    <script>
        $('.demo').each(function() {

            $(this).minicolors({
                control: $(this).attr('data-control') || 'hue',
                defaultValue: $(this).attr('data-defaultValue') || '',
                format: $(this).attr('data-format') || 'hex',
                keywords: $(this).attr('data-keywords') || '',
                inline: $(this).attr('data-inline') === 'true',
                letterCase: $(this).attr('data-letterCase') || 'lowercase',
                opacity: $(this).attr('data-opacity'),
                position: $(this).attr('data-position') || 'bottom left',
                swatches: $(this).attr('data-swatches') ? $(this).attr('data-swatches').split('|') : [],
                change: function(value, opacity) {
                    if (!value) return;
                    if (opacity) value += ', ' + opacity;
                    if (typeof console === 'object') {
                        console.log(value);
                    }
                },
                theme: 'bootstrap'
            });

        });
    </script>

</body>

</html>