~ubuntu-branches/debian/stretch/assaultcube-data/stretch

« back to all changes in this revision

Viewing changes to source/CubeMS/Admin/Default.aspx

  • Committer: Bazaar Package Importer
  • Author(s): Gonéri Le Bouder, Ansgar Burchardt, Gonéri Le Bouder
  • Date: 2010-04-02 23:37:55 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20100402233755-kf74fxwlu634o6vg
Tags: 1.0.4+repack1-1
[ Ansgar Burchardt ]
* debian/control: fix typo in short description

[ Gonéri Le Bouder ]
* Upgrade to 1.0.4
* bump standards-version to 3.8.4
* Add Depends: ${misc:Depends} just to avoid a lintian warning
* Add a debian/source/format file for the same reason

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="Admin_Admin" %>
 
2
 
 
3
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
4
 
 
5
<html xmlns="http://www.w3.org/1999/xhtml" >
 
6
<head runat="server">
 
7
    <title>AssaultCube Admin</title>
 
8
</head>
 
9
<body>
 
10
    <form id="form1" runat="server">
 
11
    <div>
 
12
        <h1>AssaultCube Admin</h1>
 
13
 
 
14
        <h2>Server List</h2>
 
15
        
 
16
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" CellPadding="4"
 
17
            DataSourceID="XmlDataSource1" ForeColor="#333333" GridLines="Vertical" AllowPaging="True" DataKeyNames="address">
 
18
            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
 
19
            <Columns>
 
20
                <asp:BoundField DataField="address" HeaderText="address" SortExpression="address" />
 
21
                <asp:BoundField DataField="port" HeaderText="port" SortExpression="port" />
 
22
                <asp:BoundField DataField="added" HeaderText="added" SortExpression="added" />
 
23
                <asp:BoundField DataField="name" HeaderText="name" SortExpression="name" />
 
24
                <asp:BoundField DataField="description" HeaderText="description" SortExpression="description" />
 
25
            </Columns>
 
26
            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
 
27
            <EditRowStyle BackColor="#999999" />
 
28
            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
 
29
            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
 
30
            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
 
31
            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
 
32
        </asp:GridView>
 
33
        <asp:XmlDataSource ID="XmlDataSource1" runat="server" DataFile="~/App_Data/servers.xml"
 
34
            XPath="//server"></asp:XmlDataSource>
 
35
        
 
36
        <h2>Log</h2>
 
37
        
 
38
        <asp:GridView ID="GridView2" runat="server" AllowPaging="True" AutoGenerateColumns="False"
 
39
            CellPadding="4" DataSourceID="XmlDataSource2" ForeColor="#333333" GridLines="Vertical">
 
40
            <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
 
41
            <Columns>
 
42
                <asp:BoundField DataField="action" HeaderText="Action" SortExpression="added" NullDisplayText="unknown" />
 
43
                <asp:BoundField DataField="address" HeaderText="Client" SortExpression="address" />
 
44
                <asp:BoundField DataField="added" HeaderText="Date" SortExpression="added" />
 
45
            </Columns>
 
46
            <RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
 
47
            <EditRowStyle BackColor="#999999" />
 
48
            <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
 
49
            <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
 
50
            <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
 
51
            <AlternatingRowStyle BackColor="White" ForeColor="#284775" />
 
52
        </asp:GridView>
 
53
        &nbsp;
 
54
        <asp:XmlDataSource ID="XmlDataSource2" runat="server" DataFile="~/App_Data/log.xml"
 
55
            XPath="//LogEntry" ></asp:XmlDataSource>
 
56
        <br />
 
57
        Logged in as:
 
58
        <asp:LoginName ID="LoginName1" runat="server" />
 
59
        <br />
 
60
        <asp:LoginStatus ID="LoginStatus1" runat="server" LogoutAction="Redirect" LogoutPageUrl="~/Default.aspx" />
 
61
    
 
62
    </div>
 
63
    </form>
 
64
</body>
 
65
</html>