Added DnsAddress user control.

This commit is contained in:
Greg Edwards 2015-11-07 19:56:17 -05:00
parent 10464fed0e
commit 6f2ae30e7e
6 changed files with 42 additions and 2 deletions

View File

@ -1,6 +1,7 @@
<%@ Page Title="Pokémon Classic Network" Language="C#" MasterPageFile="~/masters/ThreeColumn.master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="PkmnFoundations.GTS.Default" %>
<%@ Register TagPrefix="pf" Namespace="PkmnFoundations.Web" Assembly="PkmnFoundations.Web" %>
<%@ Register TagPrefix="pf" TagName="LabelTextBox" Src="~/controls/LabelTextBox.ascx" %>
<%@ Register TagPrefix="pf" TagName="DnsAddress" Src="~/controls/DnsAddress.ascx" %>
<asp:Content ID="conHead" ContentPlaceHolderID="cpHead" runat="server">
<pf:HeaderColour ID="HeaderColour1" CssClass="home" runat="server" />

View File

@ -0,0 +1,3 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="DnsAddress.ascx.cs" Inherits="PkmnFoundations.Web.controls.DnsAddress" %>
104.131.93.87

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 PkmnFoundations.Web.controls
{
public partial class DnsAddress : System.Web.UI.UserControl
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}

17
web/controls/DnsAddress.ascx.designer.cs generated Normal file
View File

@ -0,0 +1,17 @@
//------------------------------------------------------------------------------
// <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 PkmnFoundations.Web.controls
{
public partial class DnsAddress
{
}
}

View File

@ -1,5 +1,6 @@
<%@ Master Language="C#" AutoEventWireup="true" CodeBehind="MasterPage.master.cs" Inherits="PkmnFoundations.GTS.MasterPage" %>
<%@ Register TagPrefix="pf" Namespace="PkmnFoundations.Web" Assembly="PkmnFoundations.Web" %>
<%@ Register TagPrefix="pf" TagName="DnsAddress" Src="~/controls/DnsAddress.ascx" %>
<!DOCTYPE html>
@ -30,13 +31,13 @@
</span>
</asp:HyperLink>
<div class="clear"></div>
Custom servers for classic Pokémon
Unofficial server for classic Pokémon
</div>
<div id="gtsHeadMain">
<ul class="gtsHeadContent">
<li>Powered by <a href="http://altwfc.net/">AltWFC</a></li>
<li>DNS: <strong>104.131.93.87</strong></li>
<li>DNS: <strong><pf:DnsAddress runat="server" /></strong></li>
<li><asp:Literal ID="litPokemon" runat="server" />
Pokémon available for offer.</li>
<li><asp:Literal ID="litVideos" runat="server" />

View File

@ -70,6 +70,7 @@
<Content Include="admin\AddDressup.aspx" />
<Content Include="admin\AddMusical.aspx" />
<Content Include="battlevideo\Default.aspx" />
<Content Include="controls\DnsAddress.ascx" />
<Content Include="controls\ForeignLookup.ascx" />
<Content Include="controls\LabelTextBox.ascx" />
<Content Include="controls\PokemonPicker.ascx" />