This commit is contained in:
Luc Vandenbroucke 2022-09-07 13:14:00 +02:00
parent 43a1884812
commit 3d5187be7f
13 changed files with 210 additions and 101 deletions

40
eDos/AllowD2.aspx Normal file
View file

@ -0,0 +1,40 @@
<%@ Page Title="Allow D2" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="AllowD2.aspx.cs" Inherits="eDos2021.AllowD2" %>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<telerik:RadGrid runat="server" ID="rg1" AutoGenerateColumns="False" DataSourceID="dsIDPBW" AutoGenerateEditColumn="True" >
<GroupingSettings CollapseAllTooltip="Collapse all groups"></GroupingSettings>
<ExportSettings>
</ExportSettings>
<MasterTableView DataSourceID="dsIDPBW" AllowAutomaticInserts="True" AllowAutomaticUpdates="True" DataKeyNames="PersID">
<RowIndicatorColumn ShowNoSortIcon="False"></RowIndicatorColumn>
<ExpandCollapseColumn ShowNoSortIcon="False"></ExpandCollapseColumn>
<Columns>
<telerik:GridBoundColumn DataField="PersID" DataType="System.Int32" HeaderText="PersID" ShowNoSortIcon="False" SortExpression="PersID" UniqueName="PersID" />
<telerik:GridBoundColumn DataField="name" HeaderText="name" ShowNoSortIcon="False" SortExpression="name" UniqueName="name" ReadOnly="true" />
<telerik:GridBoundColumn DataField="firstname" HeaderText="firstname" ShowNoSortIcon="False" SortExpression="firstname" UniqueName="firstname" ReadOnly="true" />
<telerik:GridBoundColumn DataField="persGroup" HeaderText="persGroup" ReadOnly="True" ShowNoSortIcon="False" SortExpression="persGroup" UniqueName="persGroup" />
<telerik:GridBoundColumn DataField="email" HeaderText="email" ShowNoSortIcon="False" SortExpression="email" UniqueName="email" ReadOnly="true" />
<telerik:GridBoundColumn DataField="ConCode" HeaderText="ConCode" ShowNoSortIcon="False" SortExpression="ConCode" UniqueName="ConCode" ReadOnly="true" />
<telerik:GridBoundColumn DataField="examination" DataType="System.DateTime" HeaderText="examination" ReadOnly="True" ShowNoSortIcon="False" SortExpression="examination" UniqueName="examination" DataFormatString="{0:yyyy-MM-dd}" />
<telerik:GridBoundColumn DataField="EndWork" DataType="System.DateTime" HeaderText="EndWork" ReadOnly="True" ShowNoSortIcon="False" SortExpression="EndWork" UniqueName="EndWork" DataFormatString="{0:yyyy-MM-dd}" />
<telerik:GridDateTimeColumn DataField="allowFrom" DataType="System.DateTime" HeaderText="allowFrom" ShowNoSortIcon="False" SortExpression="allowFrom" UniqueName="allowFrom" DataFormatString="{0:yyyy-MM-dd}" EditDataFormatString="yyyy-MM-dd" />
<telerik:GridDateTimeColumn DataField="allowTill" DataType="System.DateTime" HeaderText="allowTill" ShowNoSortIcon="False" SortExpression="allowTill" UniqueName="allowTill" DataFormatString="{0:yyyy-MM-dd}" EditDataFormatString="yyyy-MM-dd" />
</Columns>
<EditFormSettings>
<EditColumn ShowNoSortIcon="False"></EditColumn>
</EditFormSettings>
</MasterTableView>
</telerik:RadGrid>
<asp:SqlDataSource ID="dsIDPBW" runat="server" ConnectionString="<%$ ConnectionStrings:idpbwConnectionString %>" InsertCommand="medicHPHOverrideUpdate" InsertCommandType="StoredProcedure" SelectCommand="medicHPHOverrideSelect" SelectCommandType="StoredProcedure" UpdateCommand="medicHPHOverrideUpdate" UpdateCommandType="StoredProcedure">
<InsertParameters>
<asp:Parameter Name="PersID" Type="Int32" />
<asp:Parameter DbType="Date" Name="allowFrom" />
<asp:Parameter DbType="Date" Name="allowTill" />
</InsertParameters>
<UpdateParameters>
<asp:Parameter Name="PersID" Type="Int32" />
<asp:Parameter DbType="Date" Name="allowFrom" />
<asp:Parameter DbType="Date" Name="allowTill" />
</UpdateParameters>
</asp:SqlDataSource>
</asp:Content>

18
eDos/AllowD2.aspx.cs Normal file
View file

@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace eDos2021
{
public partial class AllowD2 : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Literal titelControl = Master.FindControl("PageTitle") as Literal;
titelControl.Text = "Allow D2";
}
}
}

35
eDos/AllowD2.aspx.designer.cs generated Normal file
View file

@ -0,0 +1,35 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace eDos2021
{
public partial class AllowD2
{
/// <summary>
/// rg1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::Telerik.Web.UI.RadGrid rg1;
/// <summary>
/// dsIDPBW control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::System.Web.UI.WebControls.SqlDataSource dsIDPBW;
}
}

View file

@ -40,24 +40,20 @@
</div>
</div>
<div style="clear: both;">
<telerik:RadMenu ID="RadMenu1" runat="server" EnableRoundedCorners="True" EnableShadows="True" Style="top: 0px; left: 0px">
<Items>
<telerik:RadMenuItem Text="Worker" NavigateUrl="Worker.aspx" >
<Items>
<telerik:RadMenuItem runat="server" NavigateUrl="~/Worker.aspx" Text="Worker Overview">
</telerik:RadMenuItem>
<telerik:RadMenuItem runat="server" NavigateUrl="~/ClearVisitAlarm.aspx" Text="Clear Visit Alarm">
</telerik:RadMenuItem>
<telerik:RadMenuItem runat="server" NavigateUrl="~/DocD.aspx" Text="Doc D">
</telerik:RadMenuItem>
<telerik:RadMenuItem runat="server" NavigateUrl="~/Worker.aspx" Text="Worker Overview" />
<telerik:RadMenuItem runat="server" NavigateUrl="~/ClearVisitAlarm.aspx" Text="Clear Visit Alarm" />
<telerik:RadMenuItem runat="server" NavigateUrl="~/DocD.aspx" Text="Doc D" />
<telerik:RadMenuItem IsSeparator="true" />
<telerik:RadMenuItem runat="server" NavigateUrl="~/ReserveBadges.aspx" Text="Reserve Badges">
</telerik:RadMenuItem>
<telerik:RadMenuItem runat="server" NavigateUrl="~/ReserveBadges.aspx" Text="Reserve Badges" />
<telerik:RadMenuItem IsSeparator="true" />
<telerik:RadMenuItem runat="server" NavigateUrl="~/AllowD2.aspx" Text="D2 (restricted)" />
</Items>
</telerik:RadMenuItem>
<telerik:RadMenuItem runat="server" Text="Task" NavigateUrl="~/TaskTypeStandard.aspx">
<Items>
<telerik:RadMenuItem runat="server" NavigateUrl="~/TaskBG.aspx" Text="Task Beta Gamma">

View file

@ -98,6 +98,13 @@
<Compile Include="AddLimitHPH.aspx.designer.cs">
<DependentUpon>AddLimitHPH.aspx</DependentUpon>
</Compile>
<Compile Include="AllowD2.aspx.cs">
<DependentUpon>AllowD2.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="AllowD2.aspx.designer.cs">
<DependentUpon>AllowD2.aspx</DependentUpon>
</Compile>
<Compile Include="BadgeNotFound.aspx.cs">
<DependentUpon>BadgeNotFound.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@ -263,6 +270,7 @@
</ItemGroup>
<ItemGroup>
<Content Include="AddLimitHPH.aspx" />
<Content Include="AllowD2.aspx" />
<Content Include="BadgeNotFound.aspx" />
<Content Include="AddLimitAgent.aspx" />
<Content Include="DocD.aspx" />
@ -356,7 +364,7 @@
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
</WebProjectProperties>
</FlavorProperties>
<UserProperties UseJQuerySupport="False" UseAjaxifiedTemplates="False" />
<UserProperties UseAjaxifiedTemplates="False" UseJQuerySupport="False" />
</VisualStudio>
</ProjectExtensions>
<Import Project="..\packages\Microsoft.VisualStudio.SlowCheetah.3.2.26\build\Microsoft.VisualStudio.SlowCheetah.targets" Condition="Exists('..\packages\Microsoft.VisualStudio.SlowCheetah.3.2.26\build\Microsoft.VisualStudio.SlowCheetah.targets')" />

View file

@ -15,7 +15,7 @@
<VisualStudio>
<FlavorProperties GUID="{349c5851-65df-11da-9384-00065b846f21}">
<WebProjectProperties>
<StartPageUrl>ReserveBadges.aspx</StartPageUrl>
<StartPageUrl>AllowD2.aspx</StartPageUrl>
<StartAction>SpecificPage</StartAction>
<AspNetDebugging>True</AspNetDebugging>
<SilverlightDebugging>False</SilverlightDebugging>

View file

@ -1 +1 @@
a0bd604bfc0275f028042b5506b3a33165b705f4
fb595795a45a4f39f06507f731dfdd1a14335b97

View file

@ -3,6 +3,8 @@
<connectionStrings>
<add name="eDosConnectionString" connectionString="Data Source=HPHDB;Initial Catalog=eDos;Integrated Security=True" providerName="System.Data.SqlClient"/>
<add name="RemsConnectionString" connectionString="Data Source=REMSDB;Initial Catalog=Rems;Integrated Security=True" providerName="System.Data.SqlClient"/>
<add name="idpbwConnectionString" connectionString="Data Source=idpbwdb;Initial Catalog=idpbw;Integrated Security=True"
providerName="System.Data.SqlClient"/>
</connectionStrings>
<appSettings>
<add key="Telerik.Web.UI.RenderMode" value="Classic"/>

View file

@ -1,10 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--For more information on using transformations see the web.config examples at http://go.microsoft.com/fwlink/?LinkId=214134. -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<connectionStrings>
<add name="eDosConnectionString"
connectionString="Data Source=hphdb;Initial Catalog=eDos;Integrated Security=True" providerName="System.Data.SqlClient"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
</connectionStrings>
</configuration>
<?xml version="1.0" encoding="utf-8"?>
<!--For more information on using transformations see the web.config examples at http://go.microsoft.com/fwlink/?LinkId=214134. -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<connectionStrings>
<add name="eDosConnectionString"
connectionString="Data Source=hphdb;Initial Catalog=eDos;Integrated Security=True" providerName="System.Data.SqlClient"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
<add name="idpbwConnectionString"
connectionString="Data Source=idpbwdb;Initial Catalog=idpbw;Integrated Security=True" providerName="System.Data.SqlClient"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
</connectionStrings>
</configuration>
<!--ProjectGuid: 7EC1704D-587D-4AD8-87B0-498C958EBF3C-->

View file

@ -1,10 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--For more information on using transformations see the web.config examples at http://go.microsoft.com/fwlink/?LinkId=214134. -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<connectionStrings>
<add name="eDosConnectionString"
connectionString="Data Source=HPHDB;Initial Catalog=eDos;Integrated Security=True" providerName="System.Data.SqlClient"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
</connectionStrings>
</configuration>
<?xml version="1.0" encoding="utf-8"?>
<!--For more information on using transformations see the web.config examples at http://go.microsoft.com/fwlink/?LinkId=214134. -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<connectionStrings>
<add name="eDosConnectionString"
connectionString="Data Source=HPHDB;Initial Catalog=eDos;Integrated Security=True" providerName="System.Data.SqlClient"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
<add name="idpbwConnectionString"
connectionString="Data Source=idpbwdb;Initial Catalog=idpbw;Integrated Security=True" providerName="System.Data.SqlClient"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
</connectionStrings>
</configuration>
<!--ProjectGuid: 7EC1704D-587D-4AD8-87B0-498C958EBF3C-->

View file

@ -1,10 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<!--For more information on using transformations see the web.config examples at http://go.microsoft.com/fwlink/?LinkId=214134. -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<connectionStrings>
<add name="eDosConnectionString"
connectionString="Data Source=HPHDB;Initial Catalog=eDos;Integrated Security=True" providerName="System.Data.SqlClient"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
</connectionStrings>
</configuration>
<?xml version="1.0" encoding="utf-8"?>
<!--For more information on using transformations see the web.config examples at http://go.microsoft.com/fwlink/?LinkId=214134. -->
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
<connectionStrings>
<add name="eDosConnectionString"
connectionString="Data Source=HPHDB;Initial Catalog=eDos;Integrated Security=True" providerName="System.Data.SqlClient"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
<add name="idpbwConnectionString"
connectionString="Data Source=idpbwdb;Initial Catalog=idpbw;Integrated Security=True" providerName="System.Data.SqlClient"
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
</connectionStrings>
</configuration>
<!--ProjectGuid: 7EC1704D-587D-4AD8-87B0-498C958EBF3C-->

View file

@ -1,62 +1,63 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<connectionStrings>
<add name="eDosConnectionString" connectionString="Data Source=hphdb;Initial Catalog=eDos;Integrated Security=True" providerName="System.Data.SqlClient" />
<add name="RemsConnectionString" connectionString="Data Source=REMSDB;Initial Catalog=Rems;Integrated Security=True" providerName="System.Data.SqlClient" />
</connectionStrings>
<appSettings>
<add key="Telerik.Web.UI.RenderMode" value="Classic" />
<add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
<add key="Telerik.Skin" value="WebBlue" />
<add key="Telerik.ScriptManager.TelerikCdn" value="Disabled" />
<add key="Telerik.StyleSheetManager.TelerikCdn" value="Disabled" />
</appSettings>
<system.web>
<authentication mode="Windows" />
<identity impersonate="true" />
<customErrors mode="Off" />
<compilation targetFramework="4.8" debug="true" />
<httpRuntime targetFramework="4.8" maxRequestLength="4096" executionTimeout="110" />
<pages>
<controls>
<add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />
</controls>
</pages>
<httpHandlers>
<add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
<add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
<add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
<add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
</httpHandlers>
<httpModules />
</system.web>
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="4194304" />
</requestFiltering>
</security>
<defaultDocument>
<files>
<add value="TaskBG.aspx" />
</files>
</defaultDocument>
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<remove name="ChartImage_axd" />
<remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
<remove name="Telerik_Web_UI_DialogHandler_aspx" />
<remove name="Telerik_RadUploadProgressHandler_ashx" />
<remove name="Telerik_Web_UI_WebResource_axd" />
<add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />
<add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" />
<add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />
<add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" />
<add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" />
</handlers>
</system.webServer>
</configuration>
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<connectionStrings>
<add name="eDosConnectionString" connectionString="Data Source=hphdb;Initial Catalog=eDos;Integrated Security=True" providerName="System.Data.SqlClient" />
<add name="RemsConnectionString" connectionString="Data Source=REMSDB;Initial Catalog=Rems;Integrated Security=True" providerName="System.Data.SqlClient" />
<add name="idpbwConnectionString" connectionString="Data Source=idpbwdb;Initial Catalog=idpbw;Integrated Security=True" providerName="System.Data.SqlClient" />
</connectionStrings>
<appSettings>
<add key="Telerik.Web.UI.RenderMode" value="Classic" />
<add key="ValidationSettings:UnobtrusiveValidationMode" value="None" />
<add key="Telerik.Skin" value="WebBlue" />
<add key="Telerik.ScriptManager.TelerikCdn" value="Disabled" />
<add key="Telerik.StyleSheetManager.TelerikCdn" value="Disabled" />
</appSettings>
<system.web>
<authentication mode="Windows" />
<identity impersonate="true" />
<customErrors mode="Off" />
<compilation targetFramework="4.8" debug="true" />
<httpRuntime targetFramework="4.8" maxRequestLength="4096" executionTimeout="110" />
<pages>
<controls>
<add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />
</controls>
</pages>
<httpHandlers>
<add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
<add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
<add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
<add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
<add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
</httpHandlers>
<httpModules />
</system.web>
<system.webServer>
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength="4194304" />
</requestFiltering>
</security>
<defaultDocument>
<files>
<add value="TaskBG.aspx" />
</files>
</defaultDocument>
<validation validateIntegratedModeConfiguration="false" />
<handlers>
<remove name="ChartImage_axd" />
<remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
<remove name="Telerik_Web_UI_DialogHandler_aspx" />
<remove name="Telerik_RadUploadProgressHandler_ashx" />
<remove name="Telerik_Web_UI_WebResource_axd" />
<add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />
<add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" />
<add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />
<add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" />
<add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" />
</handlers>
</system.webServer>
</configuration>
<!--ProjectGuid: 7EC1704D-587D-4AD8-87B0-498C958EBF3C-->