Skip to content

Commit dece99d

Browse files
committed
Rest of working prototype
1 parent 2744ce8 commit dece99d

File tree

14 files changed

+911
-0
lines changed

14 files changed

+911
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,3 +154,8 @@ $RECYCLE.BIN/
154154

155155
# Mac desktop service store files
156156
.DS_Store
157+
/packages
158+
/Umbraco.RelationEditor.Web/App_Data
159+
/Umbraco.RelationEditor.Web/install
160+
/Umbraco.RelationEditor.Web/umbraco
161+
/Umbraco.RelationEditor.Web/umbraco_client
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<browsers>
2+
3+
<browser refID="Default">
4+
<controlAdapters>
5+
<adapter controlType="System.Web.UI.HtmlControls.HtmlForm"
6+
adapterType="umbraco.presentation.urlRewriter.FormRewriterControlAdapter" />
7+
</controlAdapters>
8+
</browser>
9+
10+
</browsers>
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<browsers>
2+
<!--
3+
Browser capability file for the w3c validator
4+
5+
sample UA: "W3C_Validator/1.305.2.148 libwww-perl/5.803"
6+
-->
7+
<browser id="w3cValidator" parentID="default">
8+
<identification>
9+
<userAgent match="^W3C_Validator" />
10+
</identification>
11+
12+
<capture>
13+
<userAgent match="^W3C_Validator/(?'version'(?'major'\d+)(?'minor'\.\d+)\w*).*" />
14+
</capture>
15+
16+
<capabilities>
17+
<capability name="browser" value="w3cValidator" />
18+
<capability name="majorversion" value="${major}" />
19+
<capability name="minorversion" value="${minor}" />
20+
<capability name="version" value="${version}" />
21+
<capability name="w3cdomversion" value="1.0" />
22+
<capability name="xml" value="true" />
23+
<capability name="tagWriter" value="System.Web.UI.HtmlTextWriter" />
24+
</capabilities>
25+
</browser>
26+
</browsers>
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This file is only here so that the containing folder will be included in the NuGet package, it is safe to delete.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
This file is only here so that the containing folder will be included in the NuGet package, it is safe to delete.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<%@ Application Codebehind="Global.asax.cs" Inherits="Umbraco.Web.UmbracoApplication" Language="C#" %>
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<%@ Page Language="C#" AutoEventWireup="true" Inherits="System.Web.UI.Page" %>
2+
3+
<%
4+
// NH: Adds this inline check to avoid a simple codebehind file in the legacy project!
5+
if (!umbraco.cms.helpers.url.ValidateProxyUrl(Request["url"], Request.Url.AbsoluteUri))
6+
{
7+
throw new ArgumentException("Can't redirect to the requested url - it's not local or an approved proxy url",
8+
"url");
9+
}
10+
%>
11+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
12+
<html xmlns="http://www.w3.org/1999/xhtml">
13+
<head>
14+
<title>The website is restarting</title>
15+
<meta http-equiv="REFRESH" content="10; URL=<%=Request["url"] %>">
16+
</head>
17+
<body>
18+
<h1>The website is restarting</h1>
19+
<p>Please wait for 10s while we prepare to serve the page you have requested...</p>
20+
21+
<p style="border-top: 1px solid #ccc; padding-top: 10px;">
22+
<small>You can modify the design of this page by editing /config/splashes/booting.aspx</small>
23+
</p>
24+
25+
</body>
26+
</html>
Lines changed: 149 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,149 @@
1+
<%@ Page Language="C#" AutoEventWireup="True" Inherits="Umbraco.Web.UI.Config.Splashes.NoNodes" CodeBehind="NoNodes.aspx.cs" %>
2+
<%@ Import Namespace="Umbraco.Core.Configuration" %>
3+
<%@ Import Namespace="Umbraco.Core.IO" %>
4+
5+
<!DOCTYPE html>
6+
<html>
7+
<head runat="server">
8+
9+
<meta charset="utf-8">
10+
11+
<title>Umbraco - no pages found</title>
12+
<link rel="icon" type="image/png" href="<%=umbraco.GlobalSettings.Path + "/Images/PinnedIcons/umb.ico" %>" />
13+
14+
<link media="all" rel="stylesheet" href="../../umbraco_client/installer/css/jquery-ui-1.8.6.custom.css" />
15+
16+
<link media="all" type="text/css" rel="stylesheet" href="../../umbraco_client/installer/css/reset.css" />
17+
18+
<link media="all" rel="stylesheet" href="../../umbraco_client/installer/css/all.css" />
19+
20+
<link media="all" type="text/css" rel="stylesheet" href="../../umbraco_client/installer/css/form.css" />
21+
22+
<script src="../../umbraco_client/installer/js/jquery.1.4.4.js" type="text/javascript"></script>
23+
<script src="../../umbraco_client/installer/js/jquery.ui.selectmenu.js" type="text/javascript"></script>
24+
<script src="../../umbraco_client/installer/js/jquery.main.js" type="text/javascript"></script>
25+
26+
<script src="../../umbraco_client/passwordStrength/passwordstrength.js" type="text/javascript"></script>
27+
28+
<!--[if lt IE 9]>
29+
<link media="all" rel="stylesheet" href="../../umbraco_client/installer/css/lt7.css" />
30+
<script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script>
31+
<![endif]-->
32+
33+
<!--[if lt IE 7]><script type="text/javascript" src="../../umbraco_client/installer/js/ie-png.js"></script><![endif]-->
34+
35+
</head>
36+
<body class="theend">
37+
<form id="Form1" method="post" runat="server">
38+
39+
<!-- all page -->
40+
41+
<section id="wrapper">
42+
43+
<div class="wholder">
44+
45+
<!-- header -->
46+
47+
<header id="header">
48+
<div class="holder">
49+
<strong class="logo"><a href="#">Umbraco</a></strong>
50+
</div>
51+
</header>
52+
53+
<!-- all content -->
54+
55+
<section id="main">
56+
57+
<!-- content -->
58+
59+
<section class="content">
60+
61+
<script type="text/javascript">
62+
jQuery(document).ready(function () {
63+
$.post("../../install/InstallerRestService.aspx?feed=sitebuildervids",
64+
function(data) {
65+
jQuery("#ajax-sitebuildervids").html(data);
66+
});
67+
68+
$.post("../../install/InstallerRestService.aspx?feed=developervids",
69+
function(data) {
70+
jQuery("#ajax-developervids").html(data);
71+
});
72+
});
73+
74+
</script>
75+
76+
<!-- done box -->
77+
78+
<div class="tab main-tabinfo">
79+
<div class="container">
80+
<h1>Looks like there's still work to do</h1>
81+
<p>
82+
You're seeing the wonderful page because your website doesn't contain any <strong>published</strong> content yet.
83+
</p>
84+
<p>
85+
So get rid of this page by starting umbraco and publishing some content. You can do this by clicking the "set up your new website" button below.
86+
</p>
87+
<ul class="btn-web">
88+
<li class="btn-set"><a href="<%= IOHelper.ResolveUrl(SystemDirectories.Umbraco) %>"><span>Launch umbraco</span></a></li>
89+
</ul>
90+
</div>
91+
<div class="threcol">
92+
<div class="t">
93+
&nbsp;
94+
</div>
95+
<div class="hold">
96+
<aside class="col1">
97+
<h2>Useful links</h2>
98+
<p>We’ve put together some useful links to help you get started with Umbraco.</p>
99+
<nav class="links">
100+
<ul>
101+
<li><a href="http://our.umbraco.org?ref=ourFromInstaller">our.umbraco.org</a></li>
102+
</ul>
103+
104+
<ul>
105+
<li><a href="http://our.umbraco.org/wiki?ref=LatestDocsFromInstaller">New documentation</a></li>
106+
<li><a href="http://our.umbraco.org/projects?ref=LatestProjectsFromInstaller">New Projects</a></li>
107+
<li><a href="http://our.umbraco.org/forum?ref=LatesTalkFromInstaller">Forum Talk</a></li>
108+
</ul>
109+
</nav>
110+
</aside>
111+
<aside class="col2">
112+
<h2>Sitebuilder introduction</h2>
113+
<div id="ajax-sitebuildervids"><small>Loading...</small></div>
114+
</aside>
115+
<aside class="col3">
116+
<h2>Developer introduction</h2>
117+
<div id="ajax-developervids"><small>Loading...</small></div>
118+
119+
</aside>
120+
</div>
121+
</div>
122+
</div>
123+
</section>
124+
</section>
125+
</div>
126+
</section>
127+
128+
<!-- bg page -->
129+
<div class="bg-main">
130+
<div class="color2">
131+
<div class="bg-c"></div>
132+
</div>
133+
<div class="color3">
134+
<div class="bg-c"></div>
135+
</div>
136+
<div class="color1">
137+
<div class="bg-c"></div>
138+
</div>
139+
<div class="color4">
140+
<div class="bg-c"></div>
141+
</div>
142+
<div class="color5">
143+
<div class="bg-c"></div>
144+
</div>
145+
</div>
146+
147+
</form>
148+
</body>
149+
</html>

0 commit comments

Comments
 (0)