CNSA-216-FP/FWA_MAIN/medNew.aspx

50 lines
3.2 KiB
Plaintext
Raw Permalink Normal View History

2024-03-21 18:17:57 -04:00
<%@ Page Title="New Medication" Language="C#" MasterPageFile="main.master" CodeBehind="medNew.aspx.cs" Inherits="FWA_MAIN.medNew" %>
<asp:Content runat="server" ContentPlaceHolderID="cph1">
2024-04-03 15:21:33 -04:00
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(document).keypress(function(e) {
if (e.which === 13) { // Enter key = keycode 13
e.preventDefault(); // Prevent the default Enter action
$("#<%= btnSaveMed.ClientID %>").click(); // Trigger the search button click
}
});
});
</script>
2024-03-21 18:17:57 -04:00
<link type="text/css" href="main.css"/>
<h1 style="text-align: center; font-size: 44px">New Medication</h1>
<div class="patDiv">
<div class="patDiv">
<div class="patDiv" style="padding-left: 400px; padding-right: 5px;width: 100px">
2024-03-21 18:17:57 -04:00
<div class="indivPatDiv" style="text-align: right"><label class="buttonLabel">Medication ID: </label></div>
<div class="indivPatDiv" style="text-align: right"><label class="buttonLabel">Medication Name: </label></div>
<div class="indivPatDiv" style="text-align: right"><label class="buttonLabel">Intake Method: </label></div>
<div class="indivPatDiv" style="text-align: right"><label class="buttonLabel">Frequency: </label></div>
<div class="indivPatDiv" style="text-align: right"><label class="buttonLabel">Dosage: </label></div>
<div class="indivPatDiv" style="text-align: right"><label class="buttonLabel">Purpose: </label></div>
<div class="indivPatDiv" style="text-align: right"><label class="buttonLabel">RX Number: </label></div>
2024-03-21 18:17:57 -04:00
</div>
<div class="patDiv">
<div class="indivPatDiv"><asp:TextBox runat="server" CssClass="defaultTXT" ID="txtMedID"></asp:TextBox></div>
<div class="indivPatDiv"><asp:TextBox runat="server" CssClass="defaultTXT" ID="txtMedName"></asp:TextBox></div>
<div class="indivPatDiv"><asp:TextBox runat="server" CssClass="defaultTXT" ID="txtIntake"></asp:TextBox></div>
2024-04-03 15:21:33 -04:00
<div class="indivPatDiv"><asp:TextBox runat="server" CssClass="defaultTXT" ID="txtFrequency"></asp:TextBox></div>
<div class="indivPatDiv"><asp:TextBox runat="server" CssClass="defaultTXT" ID="txtDosage"></asp:TextBox></div>
<div class="indivPatDiv"><asp:TextBox runat="server" CssClass="defaultTXT" ID="txtPurpose"></asp:TextBox></div>
<div class="indivPatDiv"><asp:TextBox runat="server" CssClass="defaultTXT" ID="txtRxNum"></asp:TextBox></div>
2024-03-21 18:17:57 -04:00
</div>
</div>
2024-03-21 18:17:57 -04:00
</div>
<br/><br/>
2024-03-21 18:17:57 -04:00
<div class="patDiv" style="margin-left: 500px">
2024-04-03 15:21:33 -04:00
<div style="margin-right: 10px; display: inline-block"><asp:Button runat="server" CssClass="standardbtn" ID="btnSaveMed" Text="Create" OnClick="btnSaveMed_OnClick"/></div>
<div style="display: inline-block"><asp:Button runat="server" CssClass="standardbtn" ID="btnCancelMed" Text="Cancel" OnClick="btnCancelMed_OnClick"/></div>
2024-03-21 18:17:57 -04:00
</div>
</asp:Content>