first commit
This commit is contained in:
239
MessagesMap/StatusAccess1.aspx
Normal file
239
MessagesMap/StatusAccess1.aspx
Normal file
@@ -0,0 +1,239 @@
|
||||
|
||||
<%@ Page Title="TALAS" Language="C#" MasterPageFile="~/Standard.Master" AutoEventWireup="true" CodeBehind="StatusAccess1.aspx.cs" Inherits="TALAS_V5.MessagesMap.StatusAccess1" %>
|
||||
<%@ Register assembly="DevExpress.Web.v19.2, Version=19.2.6.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" namespace="DevExpress.Web" tagprefix="dx" %>
|
||||
|
||||
<asp:Content ID="NaviContent" ContentPlaceHolderID="NaviContent" runat="server">
|
||||
<dx:ASPxMenu ID="ASPxMenuBaseData" runat="server" Theme="TALAS5Standard" Width="100%" HorizontalAlign="Left" ItemAutoWidth="False" EnableTheming="True" >
|
||||
<ClientSideEvents ItemClick="function(s, e) {
|
||||
OnNaviClick(s,e)
|
||||
}" />
|
||||
|
||||
</dx:ASPxMenu>
|
||||
|
||||
<dx:ASPxLoadingPanel ID="ASPxLoadingPanel1" ClientIDMode="Static" ClientInstanceName="ASPxLoadingPanel1" runat="server"></dx:ASPxLoadingPanel>
|
||||
</asp:Content>
|
||||
|
||||
|
||||
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
|
||||
|
||||
<script type="text/javascript">
|
||||
function OnNaviClick(sender, e) {
|
||||
if (e.item.name == 'Aktueller Stand Kabelüberwachungen')
|
||||
{
|
||||
ASPxLoadingPanel1.SetText("Lade Kabelüberwachungsbericht...");
|
||||
ASPxLoadingPanel1.Show();
|
||||
}
|
||||
else if (e.item.name == 'Meldungshistorie')
|
||||
{
|
||||
ASPxLoadingPanel1.SetText("Lade historische Meldungen...");
|
||||
ASPxLoadingPanel1.Show();
|
||||
}
|
||||
else if (e.item.name == 'Meldungsstammdaten')
|
||||
{
|
||||
ASPxLoadingPanel1.SetText("Erstelle Meldungstammdaten...");
|
||||
ASPxLoadingPanel1.Show();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
ASPxLoadingPanel1.Show();
|
||||
}
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<style>
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
/* Create four equal columns that floats next to each other */
|
||||
.column1 {
|
||||
float: left;
|
||||
width: 50%;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.column2 {
|
||||
float: left;
|
||||
width: 50%;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
/* Clear floats after the columns */
|
||||
.row:after {
|
||||
content: "";
|
||||
display: table;
|
||||
clear: both;
|
||||
}
|
||||
|
||||
|
||||
/* On screens that are 600px wide or less, make the columns stack on top of each other instead of next to each other */
|
||||
@media screen and (max-width: 1400px) {
|
||||
.column1 {
|
||||
width: 99%;
|
||||
}
|
||||
.column2 {
|
||||
width: 99%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
</script>
|
||||
<link rel="stylesheet" href="../Navi.css" type="text/css" media="screen" />
|
||||
<table class="naviTab">
|
||||
<tr>
|
||||
<td class="naviTab">
|
||||
<a href="Messages.aspx" class="navi">Meldungen</a> > 
|
||||
</td>
|
||||
<td class="naviTab">
|
||||
<dx:ASPxLabel CssClass="textHeader" ID="ASPxLabelReport1" runat="server" Text="Berichte"></dx:ASPxLabel> > 
|
||||
</td>
|
||||
<td class="naviTab">
|
||||
<dx:ASPxLabel CssClass="textHeader" ID="ASPxLabelReport2" runat="server" Text="Aktueller Status Zutrittskontrolle"></dx:ASPxLabel>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class="textTitle">
|
||||
<dx:ASPxLabel CssClass="textTitle" ID="ASPxLabelLocationTitle" runat="server" Text="Aktueller Status der Zutrittskontrolle"></dx:ASPxLabel>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<br />
|
||||
|
||||
<dx:ASPxGridView ID="ASPxGvMessages" ClientInstanceName="gridMessages" ClientIDMode="Static" runat="server" DataSourceID="ObjectDataSourceMessages" OnHtmlRowCreated="ASPxGvMessages_HtmlRowCreated" Theme="TALAS5Standard" AutoGenerateColumns="False" EnablePagingGestures="False" Width="99%" >
|
||||
<Toolbars>
|
||||
<dx:GridViewToolbar Position="Bottom" ItemAlign="Right">
|
||||
<SettingsAdaptivity Enabled="true" EnableCollapseRootItemsToIcons="true" />
|
||||
<Items>
|
||||
<dx:GridViewToolbarItem Command="ExportToPdf" />
|
||||
<dx:GridViewToolbarItem Command="ExportToXlsx" />
|
||||
<dx:GridViewToolbarItem Command="ExportToDocx" />
|
||||
<dx:GridViewToolbarItem Command="ExportToCsv" />
|
||||
</Items>
|
||||
</dx:GridViewToolbar>
|
||||
</Toolbars>
|
||||
<StylesExport>
|
||||
<Header Font-Bold="True" Font-Names="Arial">
|
||||
</Header>
|
||||
<Cell Font-Names="Arial">
|
||||
</Cell>
|
||||
</StylesExport>
|
||||
<SettingsPager PageSize="500" Mode="ShowAllRecords">
|
||||
</SettingsPager>
|
||||
|
||||
|
||||
|
||||
|
||||
<Settings ShowFilterBar="Auto" ShowFilterRowMenu="True" ShowFooter="True" ShowGroupPanel="True" UseFixedTableLayout="True" VerticalScrollableHeight="480" VerticalScrollBarMode="Auto" VerticalScrollBarStyle="Virtual" />
|
||||
|
||||
<SettingsResizing ColumnResizeMode="NextColumn" />
|
||||
|
||||
<SettingsPopup>
|
||||
<HeaderFilter MinHeight="140px"></HeaderFilter>
|
||||
</SettingsPopup>
|
||||
<SettingsSearchPanel Visible="True" />
|
||||
|
||||
<SettingsExport EnableClientSideExportAPI="True" ExcelExportMode="WYSIWYG" Landscape="true" FileName="TALAS_Status_Zutrittskontrolle">
|
||||
</SettingsExport>
|
||||
|
||||
|
||||
<Columns>
|
||||
<dx:GridViewDataTextColumn Caption="Gerät" FieldName="Device" VisibleIndex="6" >
|
||||
<Settings AllowAutoFilter="True" AllowGroup="True" AllowHeaderFilter="True" AllowSort="True" />
|
||||
</dx:GridViewDataTextColumn>
|
||||
<dx:GridViewDataTextColumn Caption="TAT Version" FieldName="TATver" VisibleIndex="9" Width="70px" >
|
||||
<Settings AllowAutoFilter="True" AllowGroup="True" AllowHeaderFilter="True" AllowSort="True" />
|
||||
</dx:GridViewDataTextColumn>
|
||||
<dx:GridViewDataTextColumn Caption="Nr." FieldName="TABnr" Visible="true" VisibleIndex="7" Width="40px">
|
||||
</dx:GridViewDataTextColumn>
|
||||
<dx:GridViewDataTextColumn Caption="TAB Version" FieldName="TABver" VisibleIndex="8" Width="70px" >
|
||||
<Settings AllowSort="True" />
|
||||
</dx:GridViewDataTextColumn>
|
||||
|
||||
<dx:GridViewDataTextColumn Caption="Sachgebiet" Width="150px" FieldName="District" Visible="true" VisibleIndex="2">
|
||||
<Settings AllowAutoFilter="True" AllowGroup="True" AllowHeaderFilter="True" AllowSort="True" />
|
||||
</dx:GridViewDataTextColumn>
|
||||
|
||||
<dx:GridViewDataTextColumn Caption="Standort" FieldName="Area" Visible="true" VisibleIndex="3">
|
||||
<Settings AllowAutoFilter="True" AllowGroup="True" AllowHeaderFilter="True" AllowSort="True" />
|
||||
</dx:GridViewDataTextColumn>
|
||||
|
||||
<dx:GridViewDataTextColumn Caption="Raum" FieldName="Room" Visible="true" VisibleIndex="4">
|
||||
<Settings AllowAutoFilter="True" AllowGroup="True" AllowHeaderFilter="True" AllowSort="True" />
|
||||
</dx:GridViewDataTextColumn>
|
||||
|
||||
|
||||
<dx:GridViewDataTextColumn Caption="Aktueller Zustand" FieldName="SzeneFreigabe" Visible="true" VisibleIndex="10">
|
||||
<Settings AllowAutoFilter="True" AllowGroup="True" AllowHeaderFilter="True" AllowSort="True" />
|
||||
</dx:GridViewDataTextColumn>
|
||||
|
||||
<dx:GridViewDataTextColumn Caption="letzte Änderung" FieldName="SzeneTimestampFreigabe" Width="110px" VisibleIndex="11">
|
||||
</dx:GridViewDataTextColumn>
|
||||
|
||||
|
||||
<dx:GridViewDataTextColumn Caption="Kartenleser" FieldName="Szene" Visible="true" VisibleIndex="12">
|
||||
<Settings AllowAutoFilter="True" AllowGroup="True" AllowHeaderFilter="True" AllowSort="True" />
|
||||
</dx:GridViewDataTextColumn>
|
||||
|
||||
<dx:GridViewDataTextColumn Caption="letzte Änderung" Width="110px" FieldName="SzeneTimestamp" VisibleIndex="13">
|
||||
</dx:GridViewDataTextColumn>
|
||||
|
||||
</Columns>
|
||||
|
||||
|
||||
<Styles>
|
||||
<Cell Font-Size="8pt">
|
||||
<Paddings Padding="0px" PaddingLeft="4px" PaddingRight="2px" />
|
||||
</Cell>
|
||||
<CommandColumn Border-BorderStyle="None">
|
||||
<Paddings PaddingBottom="0px" PaddingTop="0px" />
|
||||
</CommandColumn>
|
||||
|
||||
</Styles>
|
||||
</dx:ASPxGridView>
|
||||
|
||||
|
||||
|
||||
<asp:ObjectDataSource ID="ObjectDataSourceMessages" runat="server" SelectMethod="GetStatusAccess" TypeName="TalasLibary.MessagesClass" >
|
||||
<SelectParameters>
|
||||
|
||||
</SelectParameters>
|
||||
</asp:ObjectDataSource>
|
||||
|
||||
|
||||
|
||||
|
||||
<dx:ASPxGridViewExporter ID="ASPxGridViewExporter1" runat="server" GridViewID="ASPxGvMessages" Landscape="True">
|
||||
<Styles>
|
||||
|
||||
<Preview Font-Names="Arial" Font-Size="12px">
|
||||
</Preview>
|
||||
|
||||
<Title Font-Names="Arial" Font-Size="12px"></Title>
|
||||
|
||||
<Header Font-Names="Arial" Font-Size="8px">
|
||||
</Header>
|
||||
<Cell Font-Names="Arial" Font-Size="8px">
|
||||
</Cell>
|
||||
</Styles>
|
||||
<PageHeader Center="TALAS">
|
||||
</PageHeader>
|
||||
</dx:ASPxGridViewExporter>
|
||||
|
||||
|
||||
<div>
|
||||
|
||||
|
||||
</div>
|
||||
</asp:Content>
|
||||
Reference in New Issue
Block a user