зеркало из https://github.com/mono/rank.git
Figured out how to post back to server.
This commit is contained in:
Родитель
89125076ef
Коммит
be884f576d
|
@ -3,17 +3,42 @@
|
|||
<MonoDevelop.Ide.Workbench ActiveDocument="RankPage/MasterPage.master">
|
||||
<Files>
|
||||
<File FileName="RankPage/Default.aspx.cs" Line="8" Column="1" />
|
||||
<File FileName="RankPage/Default.aspx" Line="10" Column="44" />
|
||||
<File FileName="RankPage/MasterPage.master.cs" Line="7" Column="1" />
|
||||
<File FileName="RankPage/MasterPage.master" Line="57" Column="25" />
|
||||
<File FileName="RankPage/RankingPage.aspx" Line="27" Column="51" />
|
||||
<File FileName="RankPage/App_Data/Global.cs" Line="8" Column="1" />
|
||||
<File FileName="RankPage/MasterPage.master" Line="43" Column="47" />
|
||||
<File FileName="RankPage/Default.aspx" Line="5" Column="1" />
|
||||
<File FileName="RankPage/MasterPage.master.cs" Line="13" Column="2" />
|
||||
<File FileName="RankPage/RankingPage.aspx" Line="10" Column="1" />
|
||||
<File FileName="RankPage/RankingPage.aspx.cs" Line="20" Column="48" />
|
||||
<File FileName="RankPage/web.config" Line="21" Column="88" />
|
||||
<File FileName="RankPage/RankPageLayout.css" Line="20" Column="2" />
|
||||
<File FileName="RankPage/MonoRanking.css" Line="85" Column="1" />
|
||||
<File FileName="RankPage/UserInfo.cs" Line="8" Column="2" />
|
||||
</Files>
|
||||
<Pads>
|
||||
<Pad Id="ProjectPad">
|
||||
<State expanded="True">
|
||||
<Node name="RankPage" expanded="True">
|
||||
<Node name="Default.aspx" expanded="True" />
|
||||
<Node name="MasterPage.master" expanded="True" selected="True" />
|
||||
<Node name="RankingPage.aspx" expanded="True" />
|
||||
</Node>
|
||||
</State>
|
||||
</Pad>
|
||||
<Pad Id="ClassPad">
|
||||
<State expanded="True" selected="True" />
|
||||
</Pad>
|
||||
<Pad Id="MonoDevelop.Debugger.WatchPad">
|
||||
<State>
|
||||
<Value>rowid</Value>
|
||||
</State>
|
||||
</Pad>
|
||||
</Pads>
|
||||
</MonoDevelop.Ide.Workbench>
|
||||
<MonoDevelop.Ide.DebuggingService.Breakpoints>
|
||||
<BreakpointStore>
|
||||
<Breakpoint file="/home/dmulder/code/rank/RankPage/RankPage/RankingPage.aspx.cs" line="17" />
|
||||
<Breakpoint file="/home/dmulder/code/rank/RankPage/RankPage/RankingPage.aspx.cs" line="21" />
|
||||
</BreakpointStore>
|
||||
</MonoDevelop.Ide.DebuggingService.Breakpoints>
|
||||
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
|
||||
<MonoDevelop.Ide.DebuggingService.PinnedWatches>
|
||||
<Watch file="RankPage/RankingPage.aspx.cs" line="21" offsetX="388" offsetY="320" expression="user" liveUpdate="False" />
|
||||
</MonoDevelop.Ide.DebuggingService.PinnedWatches>
|
||||
</Properties>
|
|
@ -2,15 +2,12 @@
|
|||
|
||||
<asp:Content ID="Head" ContentPlaceHolderID="Head" Runat="Server">
|
||||
<script>
|
||||
window.onload=GetEmail;
|
||||
|
||||
</script>
|
||||
</asp:Content>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="Body" Runat="Server">
|
||||
<!-- <form id="userform" method="post" action="RankingPage.aspx">
|
||||
<input type="hidden" id="email" />
|
||||
<input type="hidden" id="name" />
|
||||
</form> -->
|
||||
|
||||
<!-- Everything we want to see in the page needs to go here -->
|
||||
<p>Somebody did something that we see here.</p>
|
||||
</asp:Content>
|
||||
|
|
|
@ -1,14 +1,18 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.3615
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
public partial class Default2 {
|
||||
}
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// This code was generated by a tool.
|
||||
// Mono Runtime Version: 2.0.50727.1433
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
public partial class Default2 {
|
||||
|
||||
protected System.Web.UI.WebControls.Content Head;
|
||||
|
||||
protected System.Web.UI.WebControls.Content Content1;
|
||||
}
|
||||
|
|
|
@ -3,205 +3,191 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">
|
||||
<head runat="server">
|
||||
|
||||
<title>Bananas - Mono</title>
|
||||
|
||||
<asp:ContentPlaceHolder id="Head" runat="server">
|
||||
</asp:ContentPlaceHolder>
|
||||
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="KEYWORDS" content="Rank" />
|
||||
<meta name="robots" content="index,follow" />
|
||||
<meta name="verify-v1" content="CdUrKULfeirXCs/Mpc2sobgsPFNoqmiRL/5n0n08dAY=" /><link rel="shortcut icon" href="/favicon.ico" />
|
||||
|
||||
<link title="Creative Commons" type="application/rdf+xml" href="http://mono-project.com/index.php?title=Rank&action=creativecommons" rel="meta" />
|
||||
<link rel="copyright" href="http://www.gnu.org/copyleft/fdl.html" />
|
||||
<link href="RankPageLayout.css" rel="stylesheet" type="text/css" />
|
||||
<link rel="stylesheet" type="text/css" href="MonoRanking.css" />
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://mono-project.com/news/index.rss2"/>
|
||||
<link rel="stylesheet" type="text/css" media="print" href="http://mono-project.com/skins/common/commonPrint.css" />
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="http://mono-project.com/skins/MonoWaveWide/screen.css" />
|
||||
<script type="text/javascript" src="http://mono-project.com/skins/MonoWaveWide/prototype.js"></script>
|
||||
<script type="text/javascript" src="http://mono-project.com/skins/MonoWaveWide/wikihacks.js"></script>
|
||||
<script type="text/javascript" src="http://mono-project.com/skins/common/wikibits.js"></script>
|
||||
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script>
|
||||
<script type="text/javascript">
|
||||
_uacct = "UA-76510-1";
|
||||
urchinTracker();
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
function GetEmail()
|
||||
{
|
||||
FB.api('/me', function(response) {
|
||||
document.getElementById('email').value = response.email;
|
||||
document.getElementById('name').value = response.name;
|
||||
if (response.email != null) {
|
||||
document.forms["rank"].submit();
|
||||
}
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
|
||||
|
||||
|
||||
<body>
|
||||
|
||||
<form id="form1" runat="server">
|
||||
<div id="header">
|
||||
<div class="wrapper">
|
||||
<h1>Mono</h1>
|
||||
<a href="http://mono-project.com/" title="Mono"><div id="mono-logo"></div></a>
|
||||
<ul>
|
||||
<li id="menu-n-home"><a href="http://mono-project.com/Main_Page">Home</a></li>
|
||||
<li id="menu-n-download"><a href="http://www.go-mono.com/mono-downloads/download.html">Download</a></li>
|
||||
<li id="menu-n-start"><a href="http://mono-project.com/Start">Start</a></li>
|
||||
<li id="menu-n-news"><a href="http://www.mono-project.com/news/">News</a></li>
|
||||
<li class="current_page_item" id="menu-n-contribute"><a href="http://mono-project.com/Contributing">Contribute</a></li>
|
||||
<li id="menu-n-community"><a href="http://mono-project.com/Community">Community</a></li>
|
||||
<li id="menu-n-support"><a href="http://mono-project.com/Support">Support</a></li>
|
||||
<li id="menu-n-store"><a href="http://mono-project.com/Store">Store</a></li>
|
||||
</ul>
|
||||
<div id="search">
|
||||
<form method="get" action="http://www.google.com/search?">
|
||||
<div>
|
||||
<input type="hidden" value="www.mono-project.com" id="sitesearch" name="sitesearch" />
|
||||
<input type="hidden" value="www.mono-project.com" id="domains" name="domains" />
|
||||
<input class="text" name="q" id="q" type="text" value="Search Mono"
|
||||
onblur="if (this.value == '') this.value='Search Mono';"
|
||||
onfocus="if (this.value == 'Search Mono') this.value='rank server';" />
|
||||
<input class="button" type="submit" value="Go" />
|
||||
</div>
|
||||
</form>
|
||||
</div><!--#search-->
|
||||
</div><!--.wrapper-->
|
||||
</div><!--#header-->
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
<div id="page">
|
||||
|
||||
<p><fb:login-button autologoutlink="true" perms="email"></fb:login-button></p>
|
||||
|
||||
<div id="fb-root"></div>
|
||||
<script>
|
||||
window.fbAsyncInit = function() {
|
||||
FB.init({appId: '200500963301473', status: true, cookie: true,
|
||||
xfbml: true});
|
||||
FB.Event.subscribe('auth.login', function(response) {
|
||||
GetEmail();
|
||||
//document.forms["rank"].submit();
|
||||
});
|
||||
FB.Event.subscribe('auth.logout', function(response) {
|
||||
document.forms["default"].submit();
|
||||
});
|
||||
};
|
||||
(function() {
|
||||
var e = document.createElement('script'); e.async = true;
|
||||
e.src = document.location.protocol +
|
||||
'//connect.facebook.net/en_US/all.js';
|
||||
document.getElementById('fb-root').appendChild(e);
|
||||
}());
|
||||
|
||||
</script>
|
||||
<head runat="server">
|
||||
|
||||
<title>Bananas - Mono</title>
|
||||
|
||||
<asp:ContentPlaceHolder id="Head" runat="server">
|
||||
</asp:ContentPlaceHolder>
|
||||
|
||||
<form id="default" method="post" action="Default.aspx"></form>
|
||||
<form id="rank" method="post" action="RankingPage.aspx">
|
||||
<input type="hidden" id="email" />
|
||||
<input type="hidden" id="name" />
|
||||
</form>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta name="KEYWORDS" content="Rank" />
|
||||
<meta name="robots" content="index,follow" />
|
||||
<meta name="verify-v1" content="CdUrKULfeirXCs/Mpc2sobgsPFNoqmiRL/5n0n08dAY=" /><link rel="shortcut icon" href="/favicon.ico" />
|
||||
|
||||
<link title="Creative Commons" type="application/rdf+xml" href="http://mono-project.com/index.php?title=Rank&action=creativecommons" rel="meta" />
|
||||
<link rel="copyright" href="http://www.gnu.org/copyleft/fdl.html" />
|
||||
<link href="RankPageLayout.css" rel="stylesheet" type="text/css" />
|
||||
<link rel="stylesheet" type="text/css" href="MonoRanking.css" />
|
||||
<link rel="alternate" type="application/rss+xml" title="RSS" href="http://mono-project.com/news/index.rss2"/>
|
||||
<link rel="stylesheet" type="text/css" media="print" href="http://mono-project.com/skins/common/commonPrint.css" />
|
||||
<link rel="stylesheet" type="text/css" media="screen" href="http://mono-project.com/skins/MonoWaveWide/screen.css" />
|
||||
<script type="text/javascript" src="http://mono-project.com/skins/MonoWaveWide/prototype.js"></script>
|
||||
<script type="text/javascript" src="http://mono-project.com/skins/MonoWaveWide/wikihacks.js"></script>
|
||||
<script type="text/javascript" src="http://mono-project.com/skins/common/wikibits.js"></script>
|
||||
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script>
|
||||
|
||||
<script type="text/javascript">
|
||||
_uacct = "UA-76510-1";
|
||||
urchinTracker();
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
function GetEmail()
|
||||
{
|
||||
FB.api('/me', function(response) {
|
||||
var theForm = document.forms['rank'];
|
||||
if (!theForm) {
|
||||
theForm = document.rank;
|
||||
}
|
||||
document.getElementById('email').value = response.email;
|
||||
document.getElementById('name').value = response.name;
|
||||
if (!theForm.onsubmit || (theForm.onsubmit() != false)) {
|
||||
theForm.submit();
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<div id="content-header"><h2><!--BEGIN PAGE TITLE-->The Voices of the Mono Project<!--END PAGE TITLE--></h2></div>
|
||||
<div id="wrapper" class="wide">
|
||||
|
||||
<div id="sidebar">
|
||||
<div id="toc-parent"></div>
|
||||
<!-- BEGIN SIDE CONTENT -->
|
||||
|
||||
|
||||
<!-- END SIDE CONTENT -->
|
||||
</div><!--#sidebar-->
|
||||
<div id="content" class="wide">
|
||||
<!-- BEGIN MAIN CONTENT -->
|
||||
<!-- Everything we want to see in the page needs to go here -->
|
||||
|
||||
<asp:ContentPlaceHolder id="Body" runat="server">
|
||||
</asp:ContentPlaceHolder>
|
||||
|
||||
</div></div></div>
|
||||
<!--END Main Content -->
|
||||
<div id="footer-hr"></div>
|
||||
<div id="footer">
|
||||
<ul id="footer-menu">
|
||||
<li><a href="http://www.novell.com/linux"><div id="novell-logo"></div></a>
|
||||
<ul>
|
||||
<li style="margin-top: 15px;"><a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/us/">
|
||||
<div id="by-sa"></div></a></li>
|
||||
<li><a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/3.0/us/">
|
||||
<div id="by-nc-nd"></div></a></li>
|
||||
<li><a href="http://wwww.go-mono.com/Legal">Legal Notices</a></li>
|
||||
<li>
|
||||
<a href="http://wwww.go-mono.com/index.php?title=Special:Userlogin&returnto=Rank">Editor Login</a> </li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Mono
|
||||
<ul>
|
||||
<li><a href="http://www.go-mono.com/About">About</a></li>
|
||||
<li><a href="http://www.go-mono.com/Roadmap">Roadmap</a></li>
|
||||
<li><a href="http://www.go-mono.com/Plans">Technologies</a></li>
|
||||
<li><a href="http://www.go-mono.com/Screenshots">Screenshots</a></li>
|
||||
<li><a href="http://www.go-mono.com/FAQ:_General">FAQ</a></li>
|
||||
<li><a href="http://www.go-mono.com/Contact">Contact</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Download
|
||||
<ul>
|
||||
<li><a href="http://www.go-mono.com/mono-downloads/download.html">Latest Release</a></li>
|
||||
<li><a href="http://mono.ximian.com/daily/">Daily Snapshots</a></li>
|
||||
<li><a href="http://www.mono-project.com/OldReleases">Previous Releases</a></li>
|
||||
<li><a href="http://monodevelop.com/Download">MonoDevelop</a></li>
|
||||
<li><a href="http://www55.mono-project.com/MoMA">Mono Migration Analyzer</a></li>
|
||||
<li><a href="http://www.go-mono.com/moonlight/">Moonlight</a></li>
|
||||
<li><a href="http://www.go-mono.com/monovs/download">Mono Tools for Visual Studio</a></li>
|
||||
<li><a href="http://monotouch.net/DownloadTrial">MonoTouch</a></li>
|
||||
<li><a href="http://www.novell.com/products/mono/eval.html">SUSE Linux Enterprise<br/>Edition Mono Extension</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Documentation
|
||||
<ul>
|
||||
<li><a href="http://wwww.go-mono.com/Start">Getting Started</a></li>
|
||||
<li><a href="http://www.go-mono.com/docs/">API Reference</a></li>
|
||||
<li><a href="http://www.go-mono.com/Articles">Articles</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Community
|
||||
<ul>
|
||||
<li><a href="http://wwww.go-mono.com/Mailing_Lists">Mailing Lists</a></li>
|
||||
<li><a href="http://www.go-mono.com/forums">Forums</a></li>
|
||||
<li><a href="http://www.go-mono.com/IRC" class="external">Chat/IRC</a></li>
|
||||
<li><a href="http://www.go-mono.com/monologue">Blogs</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Contribute
|
||||
<ul>
|
||||
<li><a href="http://wwww.go-mono.com/Contributing">Contributing Guide</a></li>
|
||||
<li><a href="http://wwww.go-mono.com/Bugs">Report Bugs</a></li>
|
||||
<li><a href="http://wwww.go-mono.com/SVN">SVN</a></li>
|
||||
<li><a href="http://wrench.mono-project.com/builds">Build Status</a></li>
|
||||
<li><a href="http://go-mono.com/status/">Class Status</a></li>
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div style="clear: both;"></div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</body>
|
||||
<body>
|
||||
<form id="default" method="post" action="Default.aspx"></form>
|
||||
|
||||
<form name="rank" method="post" action="Default.aspx" id="rank">
|
||||
<input type="hidden" name="email" id="email" value="" />
|
||||
<input type="hidden" name="name" id="name" value="" />
|
||||
</form>
|
||||
|
||||
<div id="header">
|
||||
<div class="wrapper">
|
||||
<h1>Mono</h1>
|
||||
<a href="http://mono-project.com/" title="Mono"><div id="mono-logo"></div></a>
|
||||
<ul>
|
||||
<li id="menu-n-home"><a href="http://mono-project.com/Main_Page">Home</a></li>
|
||||
<li id="menu-n-download"><a href="http://www.go-mono.com/mono-downloads/download.html">Download</a></li>
|
||||
<li id="menu-n-start"><a href="http://mono-project.com/Start">Start</a></li>
|
||||
<li id="menu-n-news"><a href="http://www.mono-project.com/news/">News</a></li>
|
||||
<li class="current_page_item" id="menu-n-contribute"><a href="http://mono-project.com/Contributing">Contribute</a></li>
|
||||
<li id="menu-n-community"><a href="http://mono-project.com/Community">Community</a></li>
|
||||
<li id="menu-n-support"><a href="http://mono-project.com/Support">Support</a></li>
|
||||
<li id="menu-n-store"><a href="http://mono-project.com/Store">Store</a></li>
|
||||
</ul>
|
||||
<div id="search">
|
||||
<form method="get" action="http://www.google.com/search?">
|
||||
<div>
|
||||
<input type="hidden" value="www.mono-project.com" id="sitesearch" name="sitesearch" />
|
||||
<input type="hidden" value="www.mono-project.com" id="domains" name="domains" />
|
||||
<input class="text" name="q" id="q" type="text" value="Search Mono"
|
||||
onblur="if (this.value == '') this.value='Search Mono';"
|
||||
onfocus="if (this.value == 'Search Mono') this.value='rank server';" />
|
||||
<input class="button" type="submit" value="Go" />
|
||||
</div>
|
||||
</form>
|
||||
</div><!--#search-->
|
||||
</div><!--.wrapper-->
|
||||
</div><!--#header-->
|
||||
|
||||
|
||||
|
||||
<div id="page">
|
||||
|
||||
<p><fb:login-button autologoutlink="true" perms="email"></fb:login-button></p>
|
||||
|
||||
<div id="fb-root"></div>
|
||||
<script>
|
||||
window.fbAsyncInit = function()
|
||||
{
|
||||
FB.init({appId: '200500963301473', status: true, cookie: true, xfbml: true});
|
||||
FB.Event.subscribe('auth.login', function(response) {GetEmail();});
|
||||
FB.Event.subscribe('auth.logout', function(response) {document.forms["default"].submit();});
|
||||
};
|
||||
(function()
|
||||
{
|
||||
var e = document.createElement('script'); e.async = true;
|
||||
e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js'; document.getElementById('fb-root').appendChild(e);
|
||||
}());
|
||||
</script>
|
||||
|
||||
<div id="content-header"><h2><!--BEGIN PAGE TITLE-->The Voices of the Mono Project<!--END PAGE TITLE--></h2></div>
|
||||
<div id="wrapper" class="wide">
|
||||
<div id="sidebar">
|
||||
<div id="toc-parent"></div>
|
||||
<!-- BEGIN SIDE CONTENT -->
|
||||
|
||||
|
||||
<!-- END SIDE CONTENT -->
|
||||
</div><!--#sidebar-->
|
||||
<div id="content" class="wide">
|
||||
<!-- BEGIN MAIN CONTENT -->
|
||||
<!-- Everything we want to see in the page needs to go here -->
|
||||
|
||||
<asp:ContentPlaceHolder id="Body" runat="server">
|
||||
</asp:ContentPlaceHolder>
|
||||
|
||||
</div><!--#content-->
|
||||
</div><!--#wrapper-->
|
||||
</div><!--#page-->
|
||||
<!--END Main Content -->
|
||||
<div id="footer-hr"></div>
|
||||
<div id="footer">
|
||||
<ul id="footer-menu">
|
||||
<li><a href="http://www.novell.com/linux"><div id="novell-logo"></div></a>
|
||||
<ul>
|
||||
<li style="margin-top: 15px;"><a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/us/"><div id="by-sa"></div></a></li>
|
||||
<li><a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/3.0/us/"><div id="by-nc-nd"></div></a></li>
|
||||
<li><a href="http://wwww.go-mono.com/Legal">Legal Notices</a></li>
|
||||
<li><a href="http://wwww.go-mono.com/index.php?title=Special:Userlogin&returnto=Rank">Editor Login</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Mono
|
||||
<ul>
|
||||
<li><a href="http://www.go-mono.com/About">About</a></li>
|
||||
<li><a href="http://www.go-mono.com/Roadmap">Roadmap</a></li>
|
||||
<li><a href="http://www.go-mono.com/Plans">Technologies</a></li>
|
||||
<li><a href="http://www.go-mono.com/Screenshots">Screenshots</a></li>
|
||||
<li><a href="http://www.go-mono.com/FAQ:_General">FAQ</a></li>
|
||||
<li><a href="http://www.go-mono.com/Contact">Contact</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Download
|
||||
<ul>
|
||||
<li><a href="http://www.go-mono.com/mono-downloads/download.html">Latest Release</a></li>
|
||||
<li><a href="http://mono.ximian.com/daily/">Daily Snapshots</a></li>
|
||||
<li><a href="http://www.mono-project.com/OldReleases">Previous Releases</a></li>
|
||||
<li><a href="http://monodevelop.com/Download">MonoDevelop</a></li>
|
||||
<li><a href="http://www55.mono-project.com/MoMA">Mono Migration Analyzer</a></li>
|
||||
<li><a href="http://www.go-mono.com/moonlight/">Moonlight</a></li>
|
||||
<li><a href="http://www.go-mono.com/monovs/download">Mono Tools for Visual Studio</a></li>
|
||||
<li><a href="http://monotouch.net/DownloadTrial">MonoTouch</a></li>
|
||||
<li><a href="http://www.novell.com/products/mono/eval.html">SUSE Linux Enterprise<br/>Edition Mono Extension</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Documentation
|
||||
<ul>
|
||||
<li><a href="http://wwww.go-mono.com/Start">Getting Started</a></li>
|
||||
<li><a href="http://www.go-mono.com/docs/">API Reference</a></li>
|
||||
<li><a href="http://www.go-mono.com/Articles">Articles</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Community
|
||||
<ul>
|
||||
<li><a href="http://wwww.go-mono.com/Mailing_Lists">Mailing Lists</a></li>
|
||||
<li><a href="http://www.go-mono.com/forums">Forums</a></li>
|
||||
<li><a href="http://www.go-mono.com/IRC" class="external">Chat/IRC</a></li>
|
||||
<li><a href="http://www.go-mono.com/monologue">Blogs</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>Contribute
|
||||
<ul>
|
||||
<li><a href="http://wwww.go-mono.com/Contributing">Contributing Guide</a></li>
|
||||
<li><a href="http://wwww.go-mono.com/Bugs">Report Bugs</a></li>
|
||||
<li><a href="http://wwww.go-mono.com/SVN">SVN</a></li>
|
||||
<li><a href="http://wrench.mono-project.com/builds">Build Status</a></li>
|
||||
<li><a href="http://go-mono.com/status/">Class Status</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
<div style="clear: both;"></div>
|
||||
</div><!--#footer-->
|
||||
</body>
|
||||
</html>
|
|
@ -8,7 +8,11 @@ public partial class MasterPage : System.Web.UI.MasterPage
|
|||
{
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
try
|
||||
{
|
||||
Session["name"] = Request.Form["name"].ToString();
|
||||
Session["email"] = Request.Form["email"].ToString();
|
||||
}
|
||||
catch (Exception i) { };
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -1,41 +1,18 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:2.0.50727.3615
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
public partial class MasterPage {
|
||||
|
||||
/// <summary>
|
||||
/// Head control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ContentPlaceHolder Head;
|
||||
|
||||
/// <summary>
|
||||
/// form1 control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.HtmlControls.HtmlForm form1;
|
||||
|
||||
/// <summary>
|
||||
/// Body control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::System.Web.UI.WebControls.ContentPlaceHolder Body;
|
||||
}
|
||||
// ------------------------------------------------------------------------------
|
||||
// <autogenerated>
|
||||
// This code was generated by a tool.
|
||||
// Mono Runtime Version: 2.0.50727.1433
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </autogenerated>
|
||||
// ------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
public partial class MasterPage {
|
||||
|
||||
protected System.Web.UI.WebControls.ContentPlaceHolder Head;
|
||||
|
||||
protected System.Web.UI.WebControls.ContentPlaceHolder Body;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project DefaultTargets="Build" ToolsVersion="3.5" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
|
@ -35,6 +35,11 @@
|
|||
<Reference Include="System.Web" />
|
||||
<Reference Include="System.Xml" />
|
||||
<Reference Include="System.Web.Services" />
|
||||
<Reference Include="System.Web.Extensions" />
|
||||
<Reference Include="Gravatarlib, Version=1.0.4080.27510, Culture=neutral, PublicKeyToken=null">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>..\..\Gravatarlib\bin\Release\Gravatarlib.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Folder Include="App_Code\" />
|
||||
|
|
Двоичные данные
RankPage/RankPage/RankPage.pidb
Двоичные данные
RankPage/RankPage/RankPage.pidb
Двоичный файл не отображается.
|
@ -1,4 +1,5 @@
|
|||
<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="RankingPage.aspx.cs" Inherits="RankingPage" %>
|
||||
<%@ MasterType VirtualPath="MasterPage.master" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="Head" Runat="Server">
|
||||
|
||||
|
|
|
@ -3,6 +3,7 @@ using System.Collections.Generic;
|
|||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using Gravatarlib;
|
||||
|
||||
public partial class RankingPage : System.Web.UI.Page
|
||||
{
|
||||
|
@ -10,12 +11,9 @@ public partial class RankingPage : System.Web.UI.Page
|
|||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
//string name = Request.Form["userform"]["name"].Value.ToString();
|
||||
//Page.PreviousPage.Request
|
||||
//string name = Master.FindControl("name").ToString();
|
||||
user = new UserInfo(Request.Form["name"], Request.Form["email"]);
|
||||
currentUserName.Text = user.Name;
|
||||
currentUserName.Text = (string)Session["name"];
|
||||
Gravatar gravatar = new Gravatar((string)Session["email"], Gravatar.IconSets.identicon, Gravatar.Ratings.g, 50);
|
||||
currentUserGravatar.ImageUrl = gravatar.GravatarURL();
|
||||
}
|
||||
|
||||
protected void btnShowHow_Click(object sender, EventArgs e)
|
||||
|
|
|
@ -23,4 +23,10 @@ public partial class RankingPage {
|
|||
protected System.Web.UI.WebControls.Label currentUserScore;
|
||||
|
||||
protected System.Web.UI.WebControls.Button btnShowHow;
|
||||
|
||||
public new MasterPage Master {
|
||||
get {
|
||||
return ((MasterPage)(base.Master));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,5 +11,11 @@ public class UserInfo
|
|||
Name = name;
|
||||
Email = email;
|
||||
}
|
||||
|
||||
// public struct UserData
|
||||
// {
|
||||
// public string name {get; set;}
|
||||
// public string email {get; set;}
|
||||
// }
|
||||
}
|
||||
|
||||
|
|
Двоичный файл не отображается.
Двоичный файл не отображается.
Двоичные данные
RankPage/RankPage/bin/RankPage.dll.mdb
Двоичные данные
RankPage/RankPage/bin/RankPage.dll.mdb
Двоичный файл не отображается.
|
@ -5,7 +5,7 @@
|
|||
-->
|
||||
<configuration>
|
||||
<configSections>
|
||||
<section name="facebookSettings" type="Facebook.FacebookConfigurationSection" />
|
||||
<section name="facebookSettings" type="Facebook.FacebookConfigurationSection" />
|
||||
<sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
||||
<sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
|
||||
<section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
|
||||
|
@ -22,6 +22,7 @@
|
|||
<system.web>
|
||||
<compilation debug="true">
|
||||
<assemblies>
|
||||
<add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
|
||||
</assemblies>
|
||||
</compilation>
|
||||
<pages enableEventValidation="false">
|
||||
|
|
Загрузка…
Ссылка в новой задаче