@using cfg = RadarWebDotNet.MVC.Config.Config

<!DOCTYPE html>

<html>
    <head>
        <meta charset="utf-8" />

        <title>@ViewBag.Title</title>
        @if (cfg.isConfigurationDebug())
        {
            <meta http-equiv="X-UA-Compatible" content="IE=10" />
            <link href="@Url.Content("~/Content/bootstrap.min.css")" rel="stylesheet" type="text/css" />
            <link href="@Url.Content("~/Content/themes/base/jquery.ui.all.css")" rel="stylesheet" />
            <link href="@Url.Content("~/Content/bootstrap-combobox.css")" rel="stylesheet" type="text/css" />
            <link href="@Url.Content("~/Content/Site.css?" + cfg.Version)" rel="stylesheet" type="text/css" />
            <link href="@Url.Content("~/Libs/Kendo-2013.2.716/styles/kendo.common.min.css")" rel="stylesheet" />
            <link href="@Url.Content("~/Libs/Kendo-2013.2.716/styles/kendo.uniform.min.css")" rel="stylesheet" />
            
            
            <script src="@Url.Content("~/Scripts/jquery-1.7.1.min.js")" type="text/javascript"></script>
            <script src="@Url.Content("~/Scripts/jquery-ui-1.8.20.min.js")" type="text/javascript"></script>
            <script src="@Url.Content("~/Scripts/modernizr-2.5.3.min.js")" type="text/javascript"></script>
            <script src="@Url.Content("~/Scripts/html5shiv.js")" type="text/javascript"></script>
            <script src="@Url.Content("~/Scripts/json2.js")"></script>
            <script src="@Url.Content("~/Scripts/jquery.meio.mask.js")"></script>
            <script src="@Url.Content("~/Scripts/jquery.maskcurrency.js")"></script>
            <script src="@Url.Content("~/Scripts/jStorage.js")"></script>
            <script src="@Url.Content("~/Scripts/modernizr-2.5.3.js")" type="text/javascript"></script>
            <script src="@Url.Content("~/Scripts/bootstrap.min.js")" type="text/javascript"></script>
            <script src="@Url.Content("~/Scripts/bootstrap-combobox.js")"></script>
            <script src="@Url.Content("~/Libs/Kendo-2013.2.716/js/kendo.web.min.js")" type="text/javascript"></script>
            <script src="@Url.Content("~/Libs/Kendo-2013.2.716/js/cultures/kendo.culture.pt-BR.min.js")"></script>
            <script src="@Url.Content("~/Libs/Kendo-2013.2.716/lang/Kendo-pt-BR.mim.js")"></script>
            <script src="@Url.Content("~/Scripts/App/RadarWeb.js?" + cfg.Version)" type="text/javascript"></script>
        }
        else
        {
            <meta http-equiv="X-UA-Compatible" content="IE=10" />
            <link href="@Url.Content("~/Content/bootstrap.min.css")" rel="stylesheet" type="text/css" />
            <link href="@Url.Content("~/Content/themes/base/minified/jquery.ui.all.min.css")" rel="stylesheet" />
            <link href="@Url.Content("~/Content/bootstrap-combobox.min.css")" rel="stylesheet" type="text/css" />
            <link href="@Url.Content("~/Content/Site.min.css?"+cfg.Version)" rel="stylesheet" type="text/css" />
            <link href="@Url.Content("~/Libs/Kendo-2013.2.716/styles/kendo.common.min.css")" rel="stylesheet" />
            <link href="@Url.Content("~/Libs/Kendo-2013.2.716/styles/kendo.uniform.min.css")" rel="stylesheet" />

            
            <script src="@Url.Content("~/Scripts/jquery-1.7.1.min.js")" type="text/javascript"></script>
            <script src="@Url.Content("~/Scripts/jquery-ui-1.8.20.min.js")" type="text/javascript"></script>
            <script src="@Url.Content("~/Scripts/modernizr-2.5.3.min.js")" type="text/javascript"></script>
            <script src="@Url.Content("~/Scripts/html5shiv.js")" type="text/javascript"></script>
            <script src="@Url.Content("~/Scripts/json2.min.js")"></script>
            <script src="@Url.Content("~/Scripts/jquery.meio.mask.js")"></script>
            <script src="@Url.Content("~/Scripts/jquery.maskcurrency.min.js")"></script>
            <script src="@Url.Content("~/Scripts/jStorage.min.js")"></script>
            <script src="@Url.Content("~/Scripts/modernizr-2.5.3.min.js")" type="text/javascript"></script>
            <script src="@Url.Content("~/Scripts/bootstrap.min.js")" type="text/javascript"></script>
            <script src="@Url.Content("~/Scripts/bootstrap-combobox.min.js")"></script>
            <script src="@Url.Content("~/Libs/Kendo-2013.2.716/js/kendo.web.min.js")" type="text/javascript"></script>
            <script src="@Url.Content("~/Libs/Kendo-2013.2.716/js/cultures/kendo.culture.pt-BR.min.js")"></script>
            <script src="@Url.Content("~/Libs/Kendo-2013.2.716/lang/Kendo-pt-BR.mim.js")"></script>
            <script src="@Url.Content("~/Scripts/App/RadarWeb.min.js?"+cfg.Version)" type="text/javascript"></script>
        }
        <script>

            @{
                WriteLiteral("(function () { var n = '" + cfg.Version + "', t = localStorage.getItem('Radar Version'); n != t && (localStorage.clear(), localStorage.setItem('Radar Version', n)) })();");
            }
        </script>
    </head>

    <body>
        <script type="text/javascript">
            var baseUrl = window.location.protocol + "//" + window.location.host + "@Url.Content("~/")";
            log("baseUrl: " + baseUrl);
        </script>
        
        <!--[if IE 8]>
            <style type="text/css">
                .row {
                    margin-left: 0px;
                }    
            </style>
        <![endif]-->
        
        <div id="divMain" style="width: 100%; margin: 0;">
            @*@Html.Action("MenuDinamico", "Menu", new { area = "" })*@
            <div style="padding-left: 20px; padding-right: 20px;">
                <div class="container">
                    <div id="alertMessage" style="position: fixed; width: inherit; z-index:1500; top: 0"></div>
                            
                    <div id="waiting" class="k-loading-mask" style="width: 100%; height: 100%; top: 0px; left: 0px;z-index: 99999999">
                        <span class="k-loading-text">Loading.....</span>
                        <div class="k-loading-image"></div>
                        <div class="k-loading-color" style="background-color: #000000"></div>
                    </div>
                    <script>
                    $(document).ready(function () {
                        $('#waiting').hide();
                    });
                    </script>
                    
                    

                    @RenderBody()
                </div>
            </div>
        </div>
    </body>
</html>

    

