This commit is contained in:
netnobody19 2024-03-21 18:29:31 -04:00
parent de453382ed
commit fbe4b755da
13 changed files with 531 additions and 279 deletions

View File

@ -12,7 +12,7 @@
<AppDesignerFolder>Properties</AppDesignerFolder> <AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>FWA_MAIN</RootNamespace> <RootNamespace>FWA_MAIN</RootNamespace>
<AssemblyName>FWA_MAIN</AssemblyName> <AssemblyName>FWA_MAIN</AssemblyName>
<TargetFrameworkVersion>v4.8.1</TargetFrameworkVersion> <TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
<MvcBuildViews>false</MvcBuildViews> <MvcBuildViews>false</MvcBuildViews>
<UseIISExpress>true</UseIISExpress> <UseIISExpress>true</UseIISExpress>
<Use64BitIISExpress /> <Use64BitIISExpress />
@ -22,6 +22,7 @@
<IISExpressUseClassicPipelineMode /> <IISExpressUseClassicPipelineMode />
<UseGlobalApplicationHostFile /> <UseGlobalApplicationHostFile />
<NuGetPackageImportStamp /> <NuGetPackageImportStamp />
<TargetFrameworkProfile />
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
@ -45,15 +46,14 @@
<Reference Include="Microsoft.CSharp" /> <Reference Include="Microsoft.CSharp" />
<Reference Include="System" /> <Reference Include="System" />
<Reference Include="System.Data" /> <Reference Include="System.Data" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="System.Drawing" /> <Reference Include="System.Drawing" />
<Reference Include="System.Web.DynamicData" /> <Reference Include="System.Web.DynamicData" />
<Reference Include="System.Web.ApplicationServices" /> <Reference Include="System.Web.ApplicationServices" />
<Reference Include="System.ComponentModel.DataAnnotations" /> <Reference Include="System.ComponentModel.DataAnnotations" />
<Reference Include="System.Core"/> <Reference Include="System.Web.Entity" />
<Reference Include="System.Data.DataSetExtensions"/>
<Reference Include="System.Xml.Linq"/>
<Reference Include="System.Web"/>
<Reference Include="System.Web.Extensions" /> <Reference Include="System.Web.Extensions" />
<Reference Include="System.Web" />
<Reference Include="System.Web.Abstractions" /> <Reference Include="System.Web.Abstractions" />
<Reference Include="System.Web.Routing" /> <Reference Include="System.Web.Routing" />
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
@ -98,6 +98,7 @@
<Reference Include="Newtonsoft.Json"> <Reference Include="Newtonsoft.Json">
<HintPath>..\packages\Newtonsoft.Json.11.0.1\lib\net45\Newtonsoft.Json.dll</HintPath> <HintPath>..\packages\Newtonsoft.Json.11.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference> </Reference>
<Reference Include="System.Xml.Linq" />
<Reference Include="WebGrease"> <Reference Include="WebGrease">
<Private>True</Private> <Private>True</Private>
<HintPath>..\packages\WebGrease.1.6.0\lib\WebGrease.dll</HintPath> <HintPath>..\packages\WebGrease.1.6.0\lib\WebGrease.dll</HintPath>
@ -157,6 +158,13 @@
<DependentUpon>patNew.aspx</DependentUpon> <DependentUpon>patNew.aspx</DependentUpon>
</Compile> </Compile>
<Compile Include="patNew.aspx.designer.cs" /> <Compile Include="patNew.aspx.designer.cs" />
<Compile Include="physician.aspx.cs">
<DependentUpon>physician.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="physician.aspx.designer.cs">
<DependentUpon>physician.aspx</DependentUpon>
</Compile>
<Compile Include="Properties\AssemblyInfo.cs" /> <Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="testpage.aspx.cs"> <Compile Include="testpage.aspx.cs">
<SubType>ASPXCodeBehind</SubType> <SubType>ASPXCodeBehind</SubType>
@ -187,6 +195,7 @@
<Content Include="patEdit.aspx" /> <Content Include="patEdit.aspx" />
<Content Include="patient.aspx" /> <Content Include="patient.aspx" />
<Content Include="patNew.aspx" /> <Content Include="patNew.aspx" />
<Content Include="physician.aspx" />
<Content Include="Scripts\bootstrap.js" /> <Content Include="Scripts\bootstrap.js" />
<Content Include="Scripts\bootstrap.min.js" /> <Content Include="Scripts\bootstrap.min.js" />
<Content Include="Default.aspx" /> <Content Include="Default.aspx" />
@ -211,8 +220,8 @@
</Content> </Content>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Folder Include="App_Data"/> <Folder Include="App_Data\" />
<Folder Include="Models"/> <Folder Include="Models\" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="fonts\glyphicons-halflings-regular.woff2" /> <Content Include="fonts\glyphicons-halflings-regular.woff2" />
@ -247,7 +256,8 @@
<IISUrl>http://localhost:5000/</IISUrl> <IISUrl>http://localhost:5000/</IISUrl>
<NTLMAuthentication>False</NTLMAuthentication> <NTLMAuthentication>False</NTLMAuthentication>
<UseCustomServer>False</UseCustomServer> <UseCustomServer>False</UseCustomServer>
<CustomServerUrl/> <CustomServerUrl>
</CustomServerUrl>
<SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile> <SaveServerSettingsInUserFile>False</SaveServerSettingsInUserFile>
</WebProjectProperties> </WebProjectProperties>
</FlavorProperties> </FlavorProperties>

Binary file not shown.

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0"?>
<!-- <!--
For more information on how to configure your ASP.NET application, please visit For more information on how to configure your ASP.NET application, please visit
https://go.microsoft.com/fwlink/?LinkId=301880 https://go.microsoft.com/fwlink/?LinkId=301880
@ -8,21 +8,31 @@
<defaultDocument> <defaultDocument>
<files> <files>
<clear/> <clear/>
<add value="Default.aspx" /> <!-- Or your specific default page --> <add value="Default.aspx"/>
<!-- Or your specific default page -->
</files> </files>
</defaultDocument> </defaultDocument>
</system.webServer> </system.webServer>
<connectionStrings>
<add name="ConnString" connectionString="Server=sql.eggtech.net;Database=College2;User Id=admin;Password=delirium-purveyor-overall-backboned-approval-amino;" providerName="System.Data.SqlClient"/>
</connectionStrings>
<appSettings> <appSettings>
<add key="webpages:Version" value="3.0.0.0"/> <add key="webpages:Version" value="3.0.0.0"/>
<add key="webpages:Enabled" value="false"/> <add key="webpages:Enabled" value="false"/>
<add key="ClientValidationEnabled" value="true"/> <add key="ClientValidationEnabled" value="true"/>
<add key="UnobtrusiveJavaScriptEnabled" value="true"/> <add key="UnobtrusiveJavaScriptEnabled" value="true"/>
</appSettings> </appSettings>
<!--
For a description of web.config changes see http://go.microsoft.com/fwlink/?LinkId=235367.
The following attributes can be set on the <httpRuntime> tag.
<system.Web>
<httpRuntime targetFramework="4.8" />
</system.Web>
-->
<system.web> <system.web>
<compilation debug="true" targetFramework="4.8.1"/> <compilation debug="true" targetFramework="4.8"/>
<httpRuntime targetFramework="4.8.1"/> <httpRuntime targetFramework="4.8"/>
</system.web> </system.web>
<runtime> <runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
@ -58,12 +68,8 @@
</runtime> </runtime>
<system.codedom> <system.codedom>
<compilers> <compilers>
<compiler language="c#;cs;csharp" extension=".cs" <compiler language="c#;cs;csharp" extension=".cs" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701"/>
type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.CSharpCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" <compiler language="vb;vbs;visualbasic;vbscript" extension=".vb" type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+"/>
warningLevel="4" compilerOptions="/langversion:default /nowarn:1659;1699;1701"/>
<compiler language="vb;vbs;visualbasic;vbscript" extension=".vb"
type="Microsoft.CodeDom.Providers.DotNetCompilerPlatform.VBCodeProvider, Microsoft.CodeDom.Providers.DotNetCompilerPlatform, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
warningLevel="4" compilerOptions="/langversion:default /nowarn:41008 /define:_MYTYPE=\&quot;Web\&quot; /optionInfer+"/>
</compilers> </compilers>
</system.codedom> </system.codedom>
</configuration> </configuration>

Binary file not shown.

View File

@ -46,7 +46,7 @@ namespace FWA_MAIN
protected void btnPhysician_OnClick(object sender, EventArgs e) protected void btnPhysician_OnClick(object sender, EventArgs e)
{ {
throw new NotImplementedException(); Response.Redirect("physician.aspx");
} }
protected void btnMedication_OnClick(object sender, EventArgs e) protected void btnMedication_OnClick(object sender, EventArgs e)

View File

@ -1 +1 @@
113c6d70ea1dab72686a10d8d6ab21e247c5896d11512e37740ed2a257fac19b 42e7680a16974b8b589cb0e2940a987bc79238ec8d31ff20ed638eb0517ddf03

View File

@ -453,3 +453,33 @@ C:\Users\cmoore\RiderProjects\FWA_MAIN\FWA_MAIN\obj\Debug\FWA_MAIN.csproj.CoreCo
C:\Users\cmoore\RiderProjects\FWA_MAIN\FWA_MAIN\obj\Debug\FWA_MAIN.csproj.Up2Date C:\Users\cmoore\RiderProjects\FWA_MAIN\FWA_MAIN\obj\Debug\FWA_MAIN.csproj.Up2Date
C:\Users\cmoore\RiderProjects\FWA_MAIN\FWA_MAIN\obj\Debug\FWA_MAIN.dll C:\Users\cmoore\RiderProjects\FWA_MAIN\FWA_MAIN\obj\Debug\FWA_MAIN.dll
C:\Users\cmoore\RiderProjects\FWA_MAIN\FWA_MAIN\obj\Debug\FWA_MAIN.pdb C:\Users\cmoore\RiderProjects\FWA_MAIN\FWA_MAIN\obj\Debug\FWA_MAIN.pdb
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\bin\FWA_MAIN.dll.config
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\bin\FWA_MAIN.dll
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\bin\FWA_MAIN.pdb
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\bin\Antlr3.Runtime.dll
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\bin\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.dll
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\bin\Microsoft.Web.Infrastructure.dll
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\bin\Newtonsoft.Json.dll
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\bin\System.Web.Helpers.dll
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\bin\System.Web.Mvc.dll
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\bin\System.Web.Optimization.dll
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\bin\System.Web.Razor.dll
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\bin\System.Web.WebPages.Deployment.dll
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\bin\System.Web.WebPages.dll
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\bin\System.Web.WebPages.Razor.dll
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\bin\WebGrease.dll
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\bin\System.Web.Helpers.xml
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\bin\System.Web.Mvc.xml
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\bin\System.Web.Optimization.xml
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\bin\System.Web.Razor.xml
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\bin\System.Web.WebPages.xml
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\bin\System.Web.WebPages.Deployment.xml
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\bin\System.Web.WebPages.Razor.xml
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\bin\Newtonsoft.Json.xml
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\bin\Antlr3.Runtime.pdb
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\bin\Microsoft.CodeDom.Providers.DotNetCompilerPlatform.xml
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\obj\Debug\FWA_MAIN.csproj.AssemblyReference.cache
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\obj\Debug\FWA_MAIN.csproj.CoreCompileInputs.cache
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\obj\Debug\FWA_MAIN.csproj.CopyComplete
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\obj\Debug\FWA_MAIN.dll
C:\Users\IVAN\Source\Repos\FWA_MAIN\FWA_MAIN\obj\Debug\FWA_MAIN.pdb

Binary file not shown.

Binary file not shown.

127
FWA_MAIN/physician.aspx Normal file
View File

@ -0,0 +1,127 @@
<%@ Page Title="Physicians" Language="C#" MasterPageFile="main.master" CodeBehind="physician.aspx.cs" Inherits="FWA_MAIN.physician" %>
<asp:Content runat="server" ContentPlaceHolderID="cph1">
<link type="text/css" href="main.css"/>
<h1 style="text-align: center; font-size: 44px">
Physicians
</h1>
<div class="patDiv" style="padding-left: 400px">
<div class="patDiv" style="width: 100px; margin-right: 5px">
<div class="indivPatDiv" style="text-align: right;">
<label for="txtFNAME" class="buttonLabel">First Name: </label>
</div>
<br/>
<div class="indivPatDiv" style="text-align: right;">
<label for="txtLNAME" class="buttonLabel">Last Name: </label>
</div>
<br/>
<div class="indivPatDiv" style="text-align: right;">
<label for="txtPhysID" class="buttonLabel">Patient ID: </label>
</div>
<br/>
</div>
<div class="patDiv" style="width: 400px">
<div class="indivPatDiv">
<asp:TextBox runat="server" CssClass="defaultTXT" id="txtFNAME"></asp:TextBox>
</div>
<br/>
<div class="indivPatDiv">
<asp:TextBox runat="server" CssClass="defaultTXT" id="txtLNAME"></asp:TextBox>
</div>
<br/>
<div class="indivPatDiv">
<asp:TextBox runat="server" CssClass="defaultTXT" id="txtPatID"></asp:TextBox>
</div>
<br/>
</div>
<br/>
<asp:Button runat="server" ID="btnPhySearch" Text="Search" CssClass="btnPhySearch"/>
</div>
<asp:GridView runat="server" ID="gvPhysician" BorderColor="red"></asp:GridView>
<script type="text/javascript">
document.oncontextmenu = rightClick;
function rightClick(clickEvent) {
clickEvent.preventDefault();
// return false;
}
</script>
<div id="contextMenu" class="context-menu"
style="display: none">
<ul>
<li>
<a href="patNew.aspx">New</a>
</li>
<li>
<a href="patEdit.aspx">Edit</a>
</li>
<li>
<a href="#">Delete</a>
</li>
<%-- <asp:Button runat="server" Text="New" OnClick="btnNew_OnClick" /> --%>
</ul>
</div>
<script>
document.onclick = hideMenu;
document.oncontextmenu = rightClick;
function hideMenu() {
document.getElementById("contextMenu")
.style.display = "none"
}
function rightClick(e) {
e.preventDefault();
if (document.getElementById("contextMenu").style.display == "block")
hideMenu();
else{
var menu = document.getElementById("contextMenu")
menu.style.display = 'block';
menu.style.left = e.pageX + "px";
menu.style.top = e.pageY + "px";
}
}
</script>
<style type="text/css">
.context-menu {
position: absolute;
text-align: center;
background: lightgray;
border: 1px solid black;
}
.context-menu ul {
padding: 0px;
margin: 0px;
min-width: 150px;
list-style: none;
}
.context-menu ul li {
padding-bottom: 7px;
padding-top: 7px;
border: 1px solid black;
}
.context-menu ul li a {
text-decoration: none;
color: black;
}
.context-menu ul li:hover {
background: darkgray;
}
</style>
</asp:Content>

View File

@ -0,0 +1,17 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace FWA_MAIN
{
public partial class physician : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}

62
FWA_MAIN/physician.aspx.designer.cs generated Normal file
View File

@ -0,0 +1,62 @@
//------------------------------------------------------------------------------
// <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 FWA_MAIN
{
public partial class physician
{
/// <summary>
/// txtFNAME 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.TextBox txtFNAME;
/// <summary>
/// txtLNAME 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.TextBox txtLNAME;
/// <summary>
/// txtPatID 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.TextBox txtPatID;
/// <summary>
/// btnPhySearch 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.Button btnPhySearch;
/// <summary>
/// gvPhysician 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.GridView gvPhysician;
}
}