-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathViewAll.aspx
39 lines (37 loc) · 2.09 KB
/
ViewAll.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ViewAll.aspx.cs" Inherits="ViewAll" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<section>
<article>
<p style="text-decoration: none">
Here are all current entries in the
<a OnServerClick="adminLink_Click" runat="server" style="text-decoration: none">database:</a>
</p>
<p>
<asp:GridView ID="GridView1" runat="server" HorizontalAlign="Center">
</asp:GridView>
</p>
<p>
<asp:Button ID="deleteButton" runat="server" BackColor="Black" OnClick="deleteButton_Click" Text="Delete With Key" />
<asp:Button ID="removeButton" runat="server" BackColor="Black" Text="Remove Your Entry" Visible="False" OnClick="removeButton_Click" />
</p>
<asp:Panel ID="delInputPanel" runat="server" HorizontalAlign="Center" Visible="False">
Enter Delete Key:
<asp:TextBox ID="delInputBox" runat="server" BackColor="Black" TextMode="Password"></asp:TextBox>
<asp:Button ID="confirmButton" runat="server" BackColor="Black" OnClick="confirmButton_Click" Text="Confirm" />
</asp:Panel>
<asp:Panel ID="adminPanel" runat="server" Visible="False">
Delete Name:
<asp:TextBox ID="adminDelInputBox" runat="server" BackColor="Black"></asp:TextBox>
Pass:
<asp:TextBox ID="passInputBox" runat="server" BackColor="Black" TextMode="Password"></asp:TextBox>
<asp:Button ID="adminConfirmButton" runat="server" BackColor="Black" OnClick="confirmButton_Click" Text="Confirm" />
</asp:Panel>
<p>
<asp:Label ID="outputLabel" runat="server"></asp:Label>
</p>
</article>
</section>
</asp:Content>