This repository has been archived by the owner on Dec 14, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathNotifications.aspx
81 lines (78 loc) · 2.89 KB
/
Notifications.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<%@ Page MasterPageFile="~/Master.master" Language="C#" AutoEventWireup="true" Inherits="Notifications"
CodeBehind="Notifications.aspx.cs" EnableViewState="false" %>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="Server" EnableViewState="false">
<asp:Table runat="server" CssClass="center">
<asp:TableRow>
<asp:TableCell HorizontalAlign="Center">
<table class="buildstatus notifications">
<thead>
<tr>
<th colspan="6">Notifications</th>
</tr>
<tr>
<th>Name</th>
<th>Identity</th>
<th>Identity Type</th>
<th>Mode</th>
<th>Notification Type</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<asp:Repeater id="notificationsRepeater" runat="server">
<ItemTemplate>
<tr>
<td><%# Eval("name") %></td>
<td><%# Eval("identName") %></td>
<td><%# Eval("identType") %></td>
<td><%# Eval("mode") %></td>
<td><%# Eval("type") %></td>
<td><asp:LinkButton ID="notificationRemove" Text="Remove" runat="server" OnCommand="notificationRemove_remove" CommandArgument='<%# Eval("id") %>' /></td>
</tr>
</ItemTemplate>
</asp:Repeater>
</tbody>
<tfoot>
<tr>
<td>
<asp:TextBox ID="txtName" runat="server" ToolTip=" " />
</td>
<td colspan="2">
<asp:DropDownList ID="cmbIdentity" runat="server" ToolTip="The identity to use for this notification" />
</td>
<td>
<asp:DropDownList ID="cmbMode" runat="server" ToolTip="Notification mode. 'Default' will just report the failure to the committer.
'MoonlightDrt' and 'NUnit' will try to find the corresponding xml file with test results,
and report to test owner (if known) or committer with more information about which tests failed.
Ignored for GitHub.">
<asp:ListItem Text="Default" Value="0" />
<asp:ListItem Text="MoonlightDrt" Value="1" />
<asp:ListItem Text="NUnit" Value="2" />
</asp:DropDownList>
</td>
<td>
<asp:DropDownList ID="cmbNotificationType" runat="server" ToolTip="Notification type (ignored for GitHub)">
<asp:ListItem Text="Fatal failures only" Value="0" />
<asp:ListItem Text="Nonfatal failures only" Value="1" />
<asp:ListItem Text="All failures" Value="2" />
</asp:DropDownList>
</td>
<td>
<asp:LinkButton ID="lnkAdd" Text="Add" runat="server" OnClick="lnkAdd_Click" />
</td>
</tr>
</tfoot>
</table>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell HorizontalAlign="Center">
<div id="lblHelp" style="color: Green"> </div>
</asp:TableCell>
</asp:TableRow>
<asp:TableRow>
<asp:TableCell HorizontalAlign="Center">
<asp:Label ID="lblMessage" ForeColor="Red" runat="server" />
</asp:TableCell></asp:TableRow>
</asp:Table>
</asp:Content>