Files
MoonPro.net/MP-Tablet/WebMasterPages/Bootstrap.Master
T
Samuele E. Locatelli c83e905634 Fix header!!!
2018-03-09 17:18:15 +01:00

187 lines
8.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="Bootstrap.master.cs" Inherits="WebMasterPages.Bootstrap" %>
<%@ Register Src="~/WebUserControls/mod_title.ascx" TagPrefix="uc1" TagName="mod_title" %>
<%@ Register Src="~/WebUserControls/mod_footer.ascx" TagPrefix="uc1" TagName="mod_footer" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
<head runat="server">
<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="mobile-web-app-capable" content="yes" />
<meta name="description" content="MP Tablet" />
<meta name="author" content="Steamware" />
<link rel="shortcut icon" href="~/favicon.ico" />
<link href="~/favicon.ico" rel="shortcut icon" type="image/x-icon" />
<title>MPTAB: <%: SteamWare.devicesAuthProxy.getPage(Request.Url) %></title>
<asp:PlaceHolder ID="PlaceHolder1" runat="server">
<%: Scripts.Render("~/bundles/modernizr") %>
<%: Scripts.Render("~/bundles/jquery") %>
<%: Scripts.Render("~/bundles/jqueryui") %>
<%: Scripts.Render("~/bundles/BrowserWindowSize") %>
</asp:PlaceHolder>
<webopt:BundleReference ID="BundleReference1" runat="server" Path="~/Content/css" />
<webopt:BundleReference ID="BundleReference2" runat="server" Path="~/Content/themes/base/css" />
<asp:ContentPlaceHolder ID="HeadContent" runat="server">
</asp:ContentPlaceHolder>
</head>
<body>
<form id="form1" runat="server">
<div class="container-fluid">
<asp:ScriptManager ID="ScriptManager1" runat="server">
<Scripts>
<%--Framework Scripts--%>
<asp:ScriptReference Name="MsAjaxBundle" />
<asp:ScriptReference Name="WebForms.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebForms.js" />
<asp:ScriptReference Name="WebUIValidation.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebUIValidation.js" />
<asp:ScriptReference Name="MenuStandards.js" Assembly="System.Web" Path="~/Scripts/WebForms/MenuStandards.js" />
<asp:ScriptReference Name="GridView.js" Assembly="System.Web" Path="~/Scripts/WebForms/GridView.js" />
<asp:ScriptReference Name="DetailsView.js" Assembly="System.Web" Path="~/Scripts/WebForms/DetailsView.js" />
<asp:ScriptReference Name="TreeView.js" Assembly="System.Web" Path="~/Scripts/WebForms/TreeView.js" />
<asp:ScriptReference Name="WebParts.js" Assembly="System.Web" Path="~/Scripts/WebForms/WebParts.js" />
<asp:ScriptReference Name="Focus.js" Assembly="System.Web" Path="~/Scripts/WebForms/Focus.js" />
<asp:ScriptReference Name="WebFormsBundle" />
<%--Site Scripts--%>
</Scripts>
</asp:ScriptManager>
<asp:UpdatePanel ID="uppNavbar" runat="server">
<ContentTemplate>
<uc1:mod_title runat="server" ID="mod_title" />
</ContentTemplate>
</asp:UpdatePanel>
<div class="row">
<div class="col-12">
<script type="text/javascript">
function closeModal() {
$('#MainSideMenu').modal('hide');
$('#btnClose').click();
}
function openTemp() {
$('#MainSideMenu').modal('toggle');
myVar = setTimeout(closeModal2, 10000);
function closeModal2() {
$('#MainSideMenu').modal('hide');
}
}
</script>
<div class="modal fade text-dark" id="MainSideMenu" tabindex="-1" role="dialog" aria-labelledby="MainSideMenu" aria-hidden="true">
<div class="modal-dialog modal-dialog-slideout modal-sm" role="document">
<div class="modal-content">
<div class="modal-header">
<div class="d-flex flex-row">
<div class="p-0">
<asp:Image ID="Image1" ImageUrl="../images/logoSteamware.png" runat="server" Height="40px" CssClass="img-fluid" />
</div>
<div class="p-0 pl-1">
<div class="flex-row">
<h5 class="modal-title">Steamware MPTAB</h5>
</div>
<div class="flex-row">
<small>Main Menu</small>
</div>
</div>
</div>
<button id="btnClose" type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
<button id="btnClose2" type="button" onclick="closeModal()" class="BTN BTN-WARNING">
<span aria-hidden="true">btn close</span>
</button>
<div class="d-flex">
<div class="flex-row">
<div class="p-2">
Mappa Stato
</div>
<div class="p-2">
<div class="btn-group">
<button type="button" class="btn btn-danger dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
ELENCO IMPIANTI
</button>
<div class="dropdown-menu">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<a class="dropdown-item" href="#">Something else here</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="#">Separated link</a>
</div>
</div>
</div>
<div class="p-2">
Dettaglio macchina
<div class="p-2">
Produzione
</div>
<div class="p-2">
ODL / Attrezzaggio
</div>
<div class="p-2">
Gest Turni
</div>
<div class="p-2">
Fermate
</div>
<div class="p-2">
Commenti
</div>
<div class="p-2">
Controlli
</div>
</div>
<div class="p-2">
Storico TC
</div>
<div class="p-2">
Utente
</div>
</div>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary btn-block" data-dismiss="modal">Chiudi</button>
</div>
</div>
</div>
</div>
<div class="d-flex flex-row">
<div class="p-0">
<button class="btn btn-link text-light" type="button" onclick="openTemp()">
<span class="fa fa-bars fa-lg"></span>
</button>
</div>
<div class="py-2 ml-auto small"><%: string.Format("{0:ddd dd MMM yyyy}",DateTime.Now) %></div>
</div>
</div>
</div>
<asp:UpdatePanel ID="uppContainer" runat="server">
<ContentTemplate>
<div class="row bodyDark">
<div class="col-12">
<asp:ContentPlaceHolder ID="MainContent" runat="server">
<div class="container" role="main">
<h1>hello world!</h1>
Area main content da customizzare
</div>
</asp:ContentPlaceHolder>
</div>
</div>
</ContentTemplate>
</asp:UpdatePanel>
<!-- /.container -->
<asp:UpdatePanel ID="uppFooter" runat="server">
<ContentTemplate>
<uc1:mod_footer runat="server" ID="mod_footer" />
</ContentTemplate>
</asp:UpdatePanel>
</div>
</form>
<%--<script src="Scripts/bootstrap.min.js"></script>--%>
<asp:PlaceHolder ID="PlaceHolder2" runat="server">
<%: Scripts.Render("~/bundles/bootstrap") %>
</asp:PlaceHolder>
</body>
</html>