Add web site for the mono meeting:

svn path=/trunk/monomeeting/; revision=63736
This commit is contained in:
Miguel de Icaza 2006-08-14 20:51:37 +00:00
Коммит 364be65f48
8 изменённых файлов: 314 добавлений и 0 удалений

40
confirm.aspx Normal file
Просмотреть файл

@ -0,0 +1,40 @@
<!-- #include virtual="header.inc" -->
<form runat="server">
<script runat="server">
void Page_Load ()
{
try {
if (DbValidate (Request.QueryString ["token"])){
ok.Visible = true;
} else
error.Visible = true;
} catch {
error.Visible = true;
}
}
bool DbValidate (string s)
{
return false;
}
</script>
<div id="column-content">
<div id="ok" visible="false" runat="server">
Your registration to the Mono Meeting is complete.
<p><a href="index.aspx">Go back to the main site</a>
</div>
<div id="error" visible="false" runat="server">
You have entered an invalid registration. If you have
problems with your registration contact <a
href="mailto:monomeeting@gmail.com">monomeeting@gmail.com</a>
</div>
</form>
</div>
</body>

32
header.inc Normal file
Просмотреть файл

@ -0,0 +1,32 @@
<%@ Page Language="C#" %>
<%@ Import Namespace="System.Web" %>
<%@ Import Namespace="System.Web.Mail" %>
<html>
<head>
<link rel="stylesheet" type="text/css" href="meeting.css"/>
</head>
<body>
<div id="globalWrapper">
<div id="bigWrapper">
<div class="portlet" id="p-logo">
<a href="/index.aspx" title="Main Page"></a>
</div>
<div class="portlet" id="p-nav">
<div style="font-weight: bold">Mono Developers Meeting</div>
<div style="font-size:9pt">23-27 October 2006; Cambridge, MA, USA.</div>
</div>
</div>
<div id="menu">
<ul>
<li><a href="index.aspx">Main Page</a>
<li><a href="index.aspx#talks">Talks</a>
<li><a href="index.aspx#talks">Talks</a>
<li><a href="registration.aspx">Registration</a>
<li><a href="index.aspx#location">Location</a>
<li><a href="http://mono.wiki.com/2006MonoMeeting">Event Wiki</a>
<li><a href="http://mono.wiki.com/2006MonoMeeting/Who_is_Coming">Attendees</a>
<li><a href="http://mono.wiki.com/2006MonoMeeting/Sponsorships">Sponsorship</a>
</ul>
</div>

78
index.aspx Normal file
Просмотреть файл

@ -0,0 +1,78 @@
<!-- #include virtual="header.inc" -->
<div id="column-content">
<p>The Mono Developers Meeting is a place for users and
developes of the open
source <a href="http://www.mono-project.com">Mono project</a>
to get together. We
plan on having informative sessions on the project status from
different maintainers in the project and also on projects
related to Mono.
<p>We are trying to determine how many people would be able to
attend the meeting so we can book a venue that would properly
accomodate the audience.
<p>To help us plan this event, please list your name in
the <a href="registration.aspx">registration</a> page.
<p>The event will be held on the the week of the 23rd of
October, but the exact dates are not set in stone yet. Two or
three days. Once we have more information we will post
updates on the actual venue and dates.
<a name="talks"/>
<h1>Talks</h1>
<p>We will organize talks on various areas of Mono by the
maintainers and contributors to those components.
<ul>
<li>Mono project Roadmap.
<li>Runtime developments and optimization.
<li>State of 2.0 API support.
<li>Compacting Garbage Collector.
<li>MonoDevelop IDE.
<li>Platform support plans and directions.
<li>Gtk# roadmap.
</ul>
<p>The plan is to discuss a number of topics and lingering topics:
<ul>
<li>Increasing the number of contributors.
<li>Documentation efforts.
<li>Internationalizing Mono.
<li>Things that we can improve, what to improve.
<li>Prioritize the most important components.
</ul>
<p>If you have a suggestion for a talk on Mono or a
Mono-related technology, please email
<a href="mailto:mono@novell.com?subject=Mono talk
suggestion">mono@novell.com</a>.
<h1>Attendance</h1>
<p>Currently we are planning for having about 100 to 200
people attend the event,
please <a href="registration.aspx">register</a> to help us
plan the venue size and ensure that we have room for you.
<p>We will email you a confirmation with the dates once we
have those.
<a name="location"/>
<h1>Location</h1>
<p>The Mono Meeting will be held in Boston or in Cambridge, MA
in the US. More details as we get them.
<p>If you have contacts at a University that might be
interested in hosting the event, please send us an email
<a href="mailto:mono@novell.com?subject=Mono Meeting
Venue">mono@novell.com</a>
</div>

86
meeting.css Normal file
Просмотреть файл

@ -0,0 +1,86 @@
#globalWrapper {
background: #fff url(mono-bg.png) no-repeat top left;
border-top: 1px solid #eaf8d1;
}
html>body #globalWrapper {
border: 0;
}
#p-nav {
position: absolute;
top: 28px;
left: 10%;
font-size: 12pt;
font-family: vag rounded, vag round, arial mt rounded, arial rounded, verdana, bitstream vera sans, lucida sans, sans-serif;
}
#p-logo {
/* Wiki logo (replace with graphic via CSS) */
position: absolute;
top: 10px;
left: 26px;
background: transparent url(mono-logo.png) no-repeat center;
/* IE stuff */
_background:none;
}
#p-logo a {
/* Wiki logo, part 2 */
display: block;
width: 93px;
height: 112px;
/* IE stuff, part 2 */
_cursor: pointer;
_filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/skins/monoproject/images/mono-logo.png', sizingMethod='crop');
}
#column-content {
/* Content wrapper */
padding: 160px 0 0 12em;
width: 400pt;
}
#menu {
position: absolute;
top: 170px;
left: 0pt;
}
#menu ul {
list-style: none;
display: inline;
display: block;
}
#menu li {
display: inline;
display: block;
margin: 0; padding: 5px;
margin: 5px;
list-style: none;
}
#menu li a {
text-decoration: none;
padding: 0.5em;
}
#menu li a:hover {
color: #fff;
background-color: #5a7ac7;
}
#content {
/* Content area */
}
input, textarea {
border-width: 1px;
border-style: solid;
border-color: black;
padding: 3 3 3 3;
margin-top: 5px;
}
errorst {
padding: 3 3 3 3;
margin-top: 5px;
}

Двоичные данные
mono-bg.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 17 KiB

Двоичные данные
mono-logo.png Normal file

Двоичный файл не отображается.

После

Ширина:  |  Высота:  |  Размер: 9.7 KiB

66
registration.aspx Normal file
Просмотреть файл

@ -0,0 +1,66 @@
<!-- #include virtual="header.inc" -->
<form runat="server">
<script runat="server">
void Page_Load ()
{
if (!IsPostBack){
return;
}
Page.Validate ();
string token = InsertRegister (name.Text, email.Text, country.Text, comments.Text);
mail (email.Text, token);
Response.Redirect ("thanks.aspx");
}
string InsertRegister (string name, string email, string country, string comments)
{
return "token";
}
static void mail (string recipient, string token)
{
MailMessage m = new MailMessage ();
m.From = "monomeeting@gmail.com";
m.To = recipient;
m.Subject = "Mono Meeting 2006 Registration Information";
m.Body = String.Format ("\n\nHello,\n\n" +
"To complete your registration for the Mono Meeting 2006, please go to the\n" +
"following address\n\n\thttp://www.go-mono.com/meeting/confirm.aspx?token={0}\n\n" +
"To find more about the Mono Meeting, visit:\n\n\thttp://www.go-mono.com/meeting\n\n" +
"The Mono Team (mono@novell.com)", token);
SmtpMail.SmtpServer = "localhost";
SmtpMail.Send (m);
}
</script>
<div id="column-content">
<h2>Mono Meeting Registration</h2>
<p>Please enter the following information to register for the
Mono Meeting, the information obtained here will not be used for marketing purposes.
<p>Name:<br>
<asp:TextBox id="name" columns="50" runat="server" maxLength="100" />
<asp:RequiredFieldValidator runat="server" class="errorst" ControlToValidate="name" ErrorMessage="Please enter your name."/>
<p>Email:<br>
<asp:TextBox id="email" columns="50" runat="server" maxLength="100"/>
<asp:RegularExpressionValidator runat="server" ControlToValidate="email"
ValidationExpression="[\w\.\-]+@[a-zA-Z0-9\-]+(\.[a-zA-Z0-9\-]+)*(\.[a-zA-Z]{2,3}){1,2}"
ErrorMessage="Please enter your email address."/>
<p>Country:<br>
<asp:TextBox id="country" columns="50" runat="server" maxLength="100"/>
<p>Comments:<br>
<asp:TextBox id="comments" columns="70" rows="8" TextMode="multiline" runat="server" maxLength="1024"/>
<p>
<asp:button type="submit" runat="server" Text="Register" />
</form>
</div>

12
thanks.aspx Normal file
Просмотреть файл

@ -0,0 +1,12 @@
<!-- #include virtual="header.inc" -->
<div id="column-content">
<p>Thanks for registering.
<p>You will shortly receive an email on the address that you
provided to confirm your registration, please follow the
instructions on the email.
<p><a href="index.aspx">Go back to the main site</a>
</div>
</body>