StartupDashboard refactor with "show once" feature and video feeds updated

[TFS Changeset #79736]
This commit is contained in:
psterling
2010-11-09 20:57:27 +00:00
parent edc7bb000c
commit ea4038f16a
36 changed files with 624 additions and 1220 deletions

View File

@@ -5,25 +5,46 @@
<area>settings</area>
</areas>
<tab caption="Get Started">
<control>/umbraco/dashboard/startupsettingsdashboard.ascx</control>
<control showOnce="true" addPanel="true" panelCaption="">
/umbraco/dashboard/settingsdashboardintro.ascx
</control>
<control showOnce="true" addPanel="true" panelCaption="">
/umbraco/dashboard/settingsdashboardvideos.ascx
</control>
</tab>
</section>
<section alias="StartupDeveloperDashboardSection">
<areas>
<area>developer</area>
</areas>
<tab caption="Get Started">
<control>/umbraco/dashboard/startupdeveloperdashboard.ascx</control>
<control showOnce="true" addPanel="true" panelCaption="">
/umbraco/dashboard/developerdashboardintro.ascx
</control>
<control showOnce="true" addPanel="true" panelCaption="">
/umbraco/dashboard/developerdashboardvideos.ascx
</control>
</tab>
</section>
<section alias="StartupMediaDashboardSection">
<areas>
<area>media</area>
</areas>
<tab caption="Get Started">
<control>/umbraco/dashboard/startupmediadashboard.ascx</control>
<control showOnce="true" addPanel="true" panelCaption="">
/umbraco/dashboard/mediadashboardintro.ascx
</control>
<control showOnce="true" addPanel="true" panelCaption="">
/umbraco/dashboard/zipupload.ascx
</control>
<control showOnce="true" addPanel="true" panelCaption="">
/umbraco/dashboard/mediadashboardvideos.ascx
</control>
</tab>
</section>
<section alias="StartupDashboardSection">
<access>
<deny>translator</deny>
@@ -32,7 +53,15 @@
<area>content</area>
</areas>
<tab caption="Get Started">
<control showOnce="true" addPanel="true" panelCaption="This is a test">/umbraco/dashboard/startupdashboard.ascx</control>
<control showOnce="true" addPanel="true" panelCaption="">
/umbraco/dashboard/startupdashboardintro.ascx
</control>
<control showOnce="true" addPanel="true" panelCaption="">
/umbraco/dashboard/startupdashboardkits.ascx
</control>
<control showOnce="true" addPanel="true" panelCaption="">
/umbraco/dashboard/startupdashboardvideos.ascx
</control>
</tab>
<tab caption="Last Edits">
<control>/umbraco/dashboard/latestEdits.ascx</control>
@@ -41,14 +70,24 @@
<control addPanel="true">/umbraco/dashboard/changepassword.ascx</control>
</tab>
</section>
<section alias="StartupMemberDashboardSection">
<areas>
<area>member</area>
</areas>
<tab caption="Search Members">
<control>/umbraco/dashboard/startupmemberdashboard.ascx</control>
<tab caption="Get Started">
<control showOnce="true" addPanel="true" panelCaption="">
/umbraco/dashboard/membersdashboardintro.ascx
</control>
<control showOnce="true" addPanel="true" panelCaption="">
/umbraco/members/membersearch.ascx
</control>
<control showOnce="true" addPanel="true" panelCaption="">
/umbraco/dashboard/membersdashboardvideos.ascx
</control>
</tab>
</section>
<!--
<section>
<access>
@@ -119,7 +158,6 @@
<control>/umbraco/plugins/umbracocontour/formsdashboard.ascx</control>
</tab>
</section>
-->
<section alias="MyDashboardSection">
<areas>
<area>default</area>
@@ -132,4 +170,5 @@
<control>/usercontrols/dashboards/EmailAFriendForm_logs.ascx</control>
</tab>
</section>
-->
</dashBoard>

View File

@@ -568,12 +568,11 @@
<Compile Include="umbraco\dashboard\ChangePassword.ascx.designer.cs">
<DependentUpon>ChangePassword.ascx</DependentUpon>
</Compile>
<Compile Include="umbraco\dashboard\StartupMemberDashboard.ascx.cs">
<DependentUpon>StartupMemberDashboard.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
<Compile Include="umbraco\dashboard\DeveloperDashboardIntro.ascx.designer.cs">
<DependentUpon>DeveloperDashboardIntro.ascx</DependentUpon>
</Compile>
<Compile Include="umbraco\dashboard\StartupMemberDashboard.ascx.designer.cs">
<DependentUpon>StartupMemberDashboard.ascx</DependentUpon>
<Compile Include="umbraco\dashboard\DeveloperDashboardVideos.ascx.designer.cs">
<DependentUpon>DeveloperDashboardVideos.ascx</DependentUpon>
</Compile>
<Compile Include="umbraco\dashboard\FeedProxy.aspx.cs">
<DependentUpon>FeedProxy.aspx</DependentUpon>
@@ -582,6 +581,24 @@
<Compile Include="umbraco\dashboard\FeedProxy.aspx.designer.cs">
<DependentUpon>FeedProxy.aspx</DependentUpon>
</Compile>
<Compile Include="umbraco\dashboard\MediaDashboardIntro.ascx.designer.cs">
<DependentUpon>MediaDashboardIntro.ascx</DependentUpon>
</Compile>
<Compile Include="umbraco\dashboard\MediaDashboardVideos.ascx.designer.cs">
<DependentUpon>MediaDashboardVideos.ascx</DependentUpon>
</Compile>
<Compile Include="umbraco\dashboard\MembersDashboardIntro.ascx.designer.cs">
<DependentUpon>MembersDashboardIntro.ascx</DependentUpon>
</Compile>
<Compile Include="umbraco\dashboard\MembersDashboardVideos.ascx.designer.cs">
<DependentUpon>MembersDashboardVideos.ascx</DependentUpon>
</Compile>
<Compile Include="umbraco\dashboard\SettingsDashboardIntro.ascx.designer.cs">
<DependentUpon>SettingsDashboardIntro.ascx</DependentUpon>
</Compile>
<Compile Include="umbraco\dashboard\SettingsDashboardVideos.ascx.designer.cs">
<DependentUpon>SettingsDashboardVideos.ascx</DependentUpon>
</Compile>
<Compile Include="umbraco\dashboard\Settings\Applyskin.ascx.cs">
<DependentUpon>Applyskin.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
@@ -589,33 +606,14 @@
<Compile Include="umbraco\dashboard\Settings\Applyskin.ascx.designer.cs">
<DependentUpon>Applyskin.ascx</DependentUpon>
</Compile>
<Compile Include="umbraco\dashboard\StartupDashboard.ascx.cs">
<DependentUpon>StartupDashboard.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
<Compile Include="umbraco\dashboard\StartupDashboardIntro.ascx.designer.cs">
<DependentUpon>StartupDashboardIntro.ascx</DependentUpon>
</Compile>
<Compile Include="umbraco\dashboard\StartupDashboard.ascx.designer.cs">
<DependentUpon>StartupDashboard.ascx</DependentUpon>
<Compile Include="umbraco\dashboard\StartupDashboardKits.ascx.designer.cs">
<DependentUpon>StartupDashboardKits.ascx</DependentUpon>
</Compile>
<Compile Include="umbraco\dashboard\StartupDeveloperDashboard.ascx.cs">
<DependentUpon>StartupDeveloperDashboard.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="umbraco\dashboard\StartupDeveloperDashboard.ascx.designer.cs">
<DependentUpon>StartupDeveloperDashboard.ascx</DependentUpon>
</Compile>
<Compile Include="umbraco\dashboard\StartupMediaDashboard.ascx.cs">
<DependentUpon>StartupMediaDashboard.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="umbraco\dashboard\StartupMediaDashboard.ascx.designer.cs">
<DependentUpon>StartupMediaDashboard.ascx</DependentUpon>
</Compile>
<Compile Include="umbraco\dashboard\StartupSettingsDashboard.ascx.cs">
<DependentUpon>StartupSettingsDashboard.ascx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="umbraco\dashboard\StartupSettingsDashboard.ascx.designer.cs">
<DependentUpon>StartupSettingsDashboard.ascx</DependentUpon>
<Compile Include="umbraco\dashboard\StartupDashboardVideos.ascx.designer.cs">
<DependentUpon>StartupDashboardVideos.ascx</DependentUpon>
</Compile>
<Compile Include="umbraco\dialogs\Preview.aspx.cs">
<DependentUpon>Preview.aspx</DependentUpon>
@@ -1662,18 +1660,24 @@
<Content Include="install\steps\Skinning\loadStarterKits.ascx" />
<Content Include="install\Title.ascx" />
<Content Include="umbraco\dashboard\ChangePassword.ascx" />
<Content Include="umbraco\dashboard\DeveloperDashboardIntro.ascx" />
<Content Include="umbraco\dashboard\DeveloperDashboardVideos.ascx" />
<Content Include="umbraco\dashboard\images\contour-icon.png" />
<Content Include="umbraco\dashboard\images\courier-icon.png" />
<Content Include="umbraco\dashboard\images\logo.gif" />
<Content Include="umbraco\dashboard\images\starterkit-icon.png" />
<Content Include="umbraco\dashboard\StartupMemberDashboard.ascx" />
<Content Include="umbraco\dashboard\FeedProxy.aspx" />
<Content Include="umbraco\dashboard\MediaDashboardIntro.ascx" />
<Content Include="umbraco\dashboard\MediaDashboardVideos.ascx" />
<Content Include="umbraco\dashboard\MembersDashboardIntro.ascx" />
<Content Include="umbraco\dashboard\MembersDashboardVideos.ascx" />
<Content Include="umbraco\dashboard\scripts\jquery.jfeed.pack.js" />
<Content Include="umbraco\dashboard\SettingsDashboardIntro.ascx" />
<Content Include="umbraco\dashboard\SettingsDashboardVideos.ascx" />
<Content Include="umbraco\dashboard\Settings\Applyskin.ascx" />
<Content Include="umbraco\dashboard\StartupDashboard.ascx" />
<Content Include="umbraco\dashboard\StartupDeveloperDashboard.ascx" />
<Content Include="umbraco\dashboard\StartupMediaDashboard.ascx" />
<Content Include="umbraco\dashboard\StartupSettingsDashboard.ascx" />
<Content Include="umbraco\dashboard\StartupDashboardIntro.ascx" />
<Content Include="umbraco\dashboard\StartupDashboardKits.ascx" />
<Content Include="umbraco\dashboard\StartupDashboardVideos.ascx" />
<Content Include="umbraco\dashboard\zipupload.ascx" />
<Content Include="umbraco\dialogs\TemplateSkinning.aspx" />
<Content Include="umbraco\helpRedirect.aspx" />

View File

@@ -0,0 +1,23 @@
<%@ Control Language="C#" AutoEventWireup="true" %>
<%@ Register Namespace="umbraco.uicontrols" Assembly="controls" TagPrefix="umb" %>
<link href="/umbraco_client/propertypane/style.css" rel="stylesheet" />
<h2>Start here</h2>
<h3>This section contains the tools to add advanced features to your Umbraco site</h3>
<p>
From here you can explore and install packages, create macros, add data types, and much more. Start by exploring the below links or videos.
</p>
<h4>Find out more</h4>
<div style="float:left; width:5%;">
<img src="/umbraco/dashboard/images/logo.gif" alt="Umbraco Start Up!" />
</div>
<div style="float:right; width:95%;">
<ul>
<li>Find the answers to your Umbraco questions on our <a href="http://our.umbraco.org/wiki" target="_blank">Community Wiki</a></li>
<li>Ask a question in the <a href="http://our.umbraco.org/" target="_blank">Community Forum</a></li>
<li>Find an add-on <a href="http://our.umbraco.org/projects" target="_blank">package</a> to help you get going quickly</li>
<li>Watch our <a href="http://umbraco.tv" target="_blank">tutorial videos</a> (some are free, some require a subscription)</li>
<li>Find out about our <a href="http://umbraco.org/products" target="_blank">Pro Tools and Support</a></li>
<li>Find out about real-life <a href="http://umbraco.org/training/training-schedule" target="_blank">training and certification</a> opportunities</li>
</ul>
</div>

View File

@@ -0,0 +1,15 @@
//------------------------------------------------------------------------------
// <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 dashboardUtilities {
public partial class StartupDashboardIntro {
}
}

View File

@@ -1,4 +1,4 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="StartupDeveloperDashboard.ascx.cs" Inherits="dashboardUtilities.StartupDeveloperDashboard" %>
<%@ Control Language="C#" AutoEventWireup="true" %>
<%@ Register Namespace="umbraco.uicontrols" Assembly="controls" TagPrefix="umb" %>
<script type="text/javascript" src="/umbraco/dashboard/scripts/jquery.jfeed.pack.js"></script>
<link href="/umbraco_client/propertypane/style.css" rel="stylesheet" />
@@ -64,23 +64,6 @@
margin: auto;
margin-bottom: 10px;
}
.contourLabel
{
clear: left;
float: left;
font-weight: bold;
padding-bottom: 10px;
padding-right: 10px;
width: 130px;
}
.contourInput
{
color: #333333;
font-family: Trebuchet MS,Lucida Grande,verdana,arial;
font-size: 12px;
padding: 2px;
width: 250px;
}
</style>
<script type="text/javascript">
@@ -88,7 +71,7 @@
jQuery.ajax({
type: 'GET',
url: 'dashboard/feedproxy.aspx?url=http://umbraco.org/documentation/videos/for-developers/foundation/feed',
url: 'dashboard/feedproxy.aspx?url=http://umbraco.org/feeds/videos/developer-foundation',
dataType: 'xml',
success: function (xml) {
@@ -122,48 +105,11 @@
</script>
<umb:Pane runat="server" ID="startPanel">
<umb:PropertyPanel runat="server" ID="startPP">
<h2>Start here</h2>
<h3>This section contains the tools to add advanced features to your Umbraco site</h3>
<p>
From here you can explore and install packages, create macros, add data types, and much more. Start by exploring the below links or videos.
</p>
<h4>Find out more</h4>
<div style="float:left; width:5%;">
<img src="/umbraco/dashboard/images/logo.gif" alt="Umbraco Start Up!" />
</div>
<div style="float:right; width:95%;">
<ul>
<li>Find the answers to your Umbraco questions on our <a href="http://our.umbraco.org/wiki" target="_blank">Community Wiki</a></li>
<li>Ask a question in the <a href="http://our.umbraco.org/" target="_blank">Community Forum</a></li>
<li>Find an add-on <a href="http://our.umbraco.org/projects" target="_blank">package</a> to help you get going quickly</li>
<li>Watch our <a href="http://umbraco.tv" target="_blank">tutorial videos</a> (some are free, some require a subscription)</li>
<li>Find out about our <a href="http://umbraco.org/products" target="_blank">Pro Tools and Support</a></li>
<li>Find out about real-life <a href="http://umbraco.org/training/training-schedule" target="_blank">training and certification</a> opportunities</li>
</ul>
</div>
</umb:PropertyPanel>
</umb:Pane>
<umb:Pane runat="server" ID="learnPanel">
<umb:PropertyPanel runat="server" ID="learnPP">
<h2>Watch and learn</h2>
<p>
Want to master Umbraco Macros and more? Spend a couple of minutes learning some best practices
by watching one of these videos about using Umbraco. And visit <a href="http://umbraco.tv"
target="_blank">umbraco.tv</a> for even more Umbraco videos</p>
<div id="latestformvids">
<div id="latestformvids">
Loading...
</div>
</umb:PropertyPanel>
</umb:Pane>
<umb:Pane runat="server" ID="hidePanel">
<umb:PropertyPanel runat="server" ID="hidePP">
<p>
Check here to hide this dashboard in the future <asp:CheckBox ID="hideCheckBox"
runat="server" oncheckedchanged="hideCheckBox_CheckedChanged" AutoPostBack="true"></asp:CheckBox>
</p>
</umb:PropertyPanel>
</umb:Pane>
</div>

View File

@@ -0,0 +1,15 @@
//------------------------------------------------------------------------------
// <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 dashboardUtilities {
public partial class StartupDashboardVideos {
}
}

View File

@@ -0,0 +1,22 @@
<%@ Control Language="C#" AutoEventWireup="true" %>
<%@ Register Namespace="umbraco.uicontrols" Assembly="controls" TagPrefix="umb" %>
<link href="/umbraco_client/propertypane/style.css" rel="stylesheet" />
<h2>Start here</h2>
<h3>Get started with Media right now</h3>
<p>
Use the tool below to upload a ZIP file of your images or documents to a media folder.
</p>
<h4>Follow these steps:</h4>
<div style="float:left; width:5%;">
<img src="/umbraco/dashboard/images/logo.gif" alt="Umbraco Start Up!" />
</div>
<div style="float:right; width:95%;">
<ul>
<li>Create a media folder by right-clicking on the Media root folder, selecting Create, then give your folder a name, select the Media Type Folder, and click create</li>
<li>Select the created folder by click the Choose link</li>
<li>Use the Browse button below to select a ZIP file containing your images (you can even organize them into folders and the tool will create these for you)</li>
<li>Click the Upload zip file button</li>
<li>Refresh the Media section by right-clicking the Media root folder and selecting Reload Nodes</li>
</ul>
</div>

View File

@@ -0,0 +1,15 @@
//------------------------------------------------------------------------------
// <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 dashboardUtilities {
public partial class StartupDashboardIntro {
}
}

View File

@@ -1,4 +1,4 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="StartupSettingsDashboard.ascx.cs" Inherits="dashboardUtilities.StartupSettingsDashboard" %>
<%@ Control Language="C#" AutoEventWireup="true" %>
<%@ Register Namespace="umbraco.uicontrols" Assembly="controls" TagPrefix="umb" %>
<script type="text/javascript" src="/umbraco/dashboard/scripts/jquery.jfeed.pack.js"></script>
<link href="/umbraco_client/propertypane/style.css" rel="stylesheet" />
@@ -64,23 +64,6 @@
margin: auto;
margin-bottom: 10px;
}
.contourLabel
{
clear: left;
float: left;
font-weight: bold;
padding-bottom: 10px;
padding-right: 10px;
width: 130px;
}
.contourInput
{
color: #333333;
font-family: Trebuchet MS,Lucida Grande,verdana,arial;
font-size: 12px;
padding: 2px;
width: 250px;
}
</style>
<script type="text/javascript">
@@ -88,7 +71,7 @@
jQuery.ajax({
type: 'GET',
url: 'dashboard/feedproxy.aspx?url=http://umbraco.org/documentation/videos/for-site-builders/foundation/feed',
url: 'dashboard/feedproxy.aspx?url=http://umbraco.org/feeds/videos/getting-started',
dataType: 'xml',
success: function (xml) {
@@ -122,48 +105,11 @@
</script>
<umb:Pane runat="server" ID="startPanel">
<umb:PropertyPanel runat="server" ID="startPP">
<h2>Start here</h2>
<h3>This section contains the building blocks for your Umbraco site</h3>
<p>
Follow the below links to find out more about working with the items in the Setings section:
</p>
<h4>Find out more</h4>
<div style="float:left; width:5%;">
<img src="/umbraco/dashboard/images/logo.gif" alt="Umbraco Start Up!" />
</div>
<div style="float:right; width:95%;">
<ul>
<li>Read more about working with the Items in Settings <a href="http://our.umbraco.org/wiki/umbraco-help/settings" target="_blank"> in the Community Wiki</a></li>
<li>Download the <a href="http://our.umbraco.org/projects/website-utilities/editors-manual" target="_blank">Editors Manual</a> for details on working with the Umbraco UI</li>
<li>Ask a question in the <a href="http://our.umbraco.org/" target="_blank">Community Forum</a></li>
<li>Watch our <a href="http://umbraco.tv" target="_blank">tutorial videos</a> (some are free, some require a subscription)</li>
<li>Find out about our <a href="http://umbraco.org/products" target="_blank">Pro Tools and Support</a></li>
<li>Find out about real-life <a href="http://umbraco.org/training/training-schedule" target="_blank">training and certification</a> opportunities</li>
</ul>
</div>
</umb:PropertyPanel>
</umb:Pane>
<umb:Pane runat="server" ID="learn">
<umb:PropertyPanel runat="server" ID="learnPP">
<h2>Watch and learn</h2>
<p>
Want to master Umbraco? Spend a couple of minutes learning some best practices
by watching one of these videos about using Umbraco. And visit <a href="http://umbraco.tv"
target="_blank">umbraco.tv</a> for even more Umbraco videos</p>
<div id="latestformvids">
<div id="latestformvids">
Loading...
</div>
</umb:PropertyPanel>
</umb:Pane>
<umb:Pane ID="hidePanel" runat="server">
<umb:PropertyPanel runat="server" ID="hidePP">
<p>
Check here to hide this dashboard in the future <asp:CheckBox ID="hideCheckBox"
runat="server" oncheckedchanged="hideCheckBox_CheckedChanged" AutoPostBack="true"></asp:CheckBox>
</p>
</umb:PropertyPanel>
</umb:Pane>
</div>

View File

@@ -0,0 +1,15 @@
//------------------------------------------------------------------------------
// <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 dashboardUtilities {
public partial class StartupDashboardVideos {
}
}

View File

@@ -0,0 +1,18 @@
<%@ Control Language="C#" AutoEventWireup="true" %>
<%@ Register Namespace="umbraco.uicontrols" Assembly="controls" TagPrefix="umb" %>
<link href="/umbraco_client/propertypane/style.css" rel="stylesheet" />
<h2>Start here</h2>
<h3>Get started with Members right now</h3>
<p>
Use the tool below to search for an existing member.
</p>
<h4>More about members</h4>
<div style="float:left; width:5%;">
<img src="/umbraco/dashboard/images/logo.gif" alt="Umbraco Start Up!" />
</div>
<div style="float:right; width:95%;">
<ul>
<li>Learn about how to protect pages of your site from <a href="http://our.umbraco.org/wiki/reference/umbraco-client/context-menus/public-access" target="_blank">this Wiki entry</a></li>
</ul>
</div>

View File

@@ -0,0 +1,15 @@
//------------------------------------------------------------------------------
// <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 dashboardUtilities {
public partial class StartupDashboardIntro {
}
}

View File

@@ -1,5 +1,4 @@
<%@ Control Language="C#" AutoEventWireup="True" CodeBehind="StartupMemberDashboard.ascx.cs" Inherits="dashboardUtilities.StartupMemberDashboard" %>
<%@ Register src="/umbraco/members/membersearch.ascx" tagname="membersearch" tagprefix="uc1" %>
<%@ Control Language="C#" AutoEventWireup="true" %>
<%@ Register Namespace="umbraco.uicontrols" Assembly="controls" TagPrefix="umb" %>
<script type="text/javascript" src="/umbraco/dashboard/scripts/jquery.jfeed.pack.js"></script>
<link href="/umbraco_client/propertypane/style.css" rel="stylesheet" />
@@ -65,23 +64,6 @@
margin: auto;
margin-bottom: 10px;
}
.contourLabel
{
clear: left;
float: left;
font-weight: bold;
padding-bottom: 10px;
padding-right: 10px;
width: 130px;
}
.contourInput
{
color: #333333;
font-family: Trebuchet MS,Lucida Grande,verdana,arial;
font-size: 12px;
padding: 2px;
width: 250px;
}
</style>
<script type="text/javascript">
@@ -89,7 +71,7 @@
jQuery.ajax({
type: 'GET',
url: 'dashboard/feedproxy.aspx?url=http://umbraco.org/documentation/videos/for-site-builders/members/feed',
url: 'dashboard/feedproxy.aspx?url=http://umbraco.org/feeds/videos/members',
dataType: 'xml',
success: function (xml) {
@@ -123,47 +105,11 @@
</script>
<umb:Pane runat="server" ID="startPanel">
<umb:PropertyPanel runat="server" ID="startPP">
<h2>Start here</h2>
<h3>Get started with Members right now</h3>
<p>
Use the tool below to search for an existing member.
</p>
<h4>More about members</h4>
<div style="float:left; width:5%;">
<img src="/umbraco/dashboard/images/logo.gif" alt="Umbraco Start Up!" />
</div>
<div style="float:right; width:95%;">
<ul>
<li>Learn about how to protect pages of your site from <a href="http://our.umbraco.org/wiki/reference/umbraco-client/context-menus/public-access" target="_blank">this Wiki entry</a></li>
</ul>
</div>
</umb:PropertyPanel>
</umb:Pane>
<uc1:membersearch ID="memberSearch1" runat="server" />
<umb:Pane runat="server" ID="learn">
<umb:PropertyPanel runat="server" ID="learnPP">
<h2>Watch and learn</h2>
<p>
Want to master Umbraco Members? Spend a couple of minutes learning some best practices
by watching one of these videos about using Umbraco. And visit <a href="http://umbraco.tv"
target="_blank">umbraco.tv</a> for even more Umbraco videos</p>
<div id="latestformvids">
<div id="latestformvids">
Loading...
</div>
</umb:PropertyPanel>
</umb:Pane>
<umb:Pane ID="hidePanel" runat="server">
<umb:PropertyPanel runat="server" ID="hidePP">
<p>
Check here to hide this dashboard in the future <asp:CheckBox ID="hideCheckBox"
runat="server" oncheckedchanged="hideCheckBox_CheckedChanged" AutoPostBack="true"></asp:CheckBox>
</p>
</umb:PropertyPanel>
</umb:Pane>
</div>

View File

@@ -0,0 +1,15 @@
//------------------------------------------------------------------------------
// <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 dashboardUtilities {
public partial class StartupDashboardVideos {
}
}

View File

@@ -0,0 +1,23 @@
<%@ Control Language="C#" AutoEventWireup="true" %>
<%@ Register Namespace="umbraco.uicontrols" Assembly="controls" TagPrefix="umb" %>
<link href="/umbraco_client/propertypane/style.css" rel="stylesheet" />
<h2>Start here</h2>
<h3>This section contains the building blocks for your Umbraco site</h3>
<p>
Follow the below links to find out more about working with the items in the Setings section:
</p>
<h4>Find out more</h4>
<div style="float:left; width:5%;">
<img src="/umbraco/dashboard/images/logo.gif" alt="Umbraco Start Up!" />
</div>
<div style="float:right; width:95%;">
<ul>
<li>Read more about working with the Items in Settings <a href="http://our.umbraco.org/wiki/umbraco-help/settings" target="_blank"> in the Community Wiki</a></li>
<li>Download the <a href="http://our.umbraco.org/projects/website-utilities/editors-manual" target="_blank">Editors Manual</a> for details on working with the Umbraco UI</li>
<li>Ask a question in the <a href="http://our.umbraco.org/" target="_blank">Community Forum</a></li>
<li>Watch our <a href="http://umbraco.tv" target="_blank">tutorial videos</a> (some are free, some require a subscription)</li>
<li>Find out about our <a href="http://umbraco.org/products" target="_blank">Pro Tools and Support</a></li>
<li>Find out about real-life <a href="http://umbraco.org/training/training-schedule" target="_blank">training and certification</a> opportunities</li>
</ul>
</div>

View File

@@ -0,0 +1,15 @@
//------------------------------------------------------------------------------
// <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 dashboardUtilities {
public partial class StartupDashboardIntro {
}
}

View File

@@ -0,0 +1,115 @@
<%@ Control Language="C#" AutoEventWireup="true" %>
<%@ Register Namespace="umbraco.uicontrols" Assembly="controls" TagPrefix="umb" %>
<script type="text/javascript" src="/umbraco/dashboard/scripts/jquery.jfeed.pack.js"></script>
<link href="/umbraco_client/propertypane/style.css" rel="stylesheet" />
<style type="text/css">
.formList, .tvList
{
list-style: none;
display: block;
margin: 10px;
padding: 0px;
}
.formList li
{
padding: 0px 0px 15px 0px;
list-style: none;
margin: 0px;
}
.formList li a.form
{
font-size: 1em;
font-weight: bold;
color: #000;
display: block;
height: 16px;
padding: 2px 0px 0px 30px;
background: url(images/umbraco/icon_form.gif) no-repeat 2px 2px;
}
.formList li small
{
display: block;
padding-left: 30px;
height: 10px;
}
.formList li small a
{
display: block;
float: left;
padding-right: 10px;
}
.tvList .tvitem
{
font-size: 11px;
text-align: center;
display: block;
width: 130px;
height: 158px;
margin: 0px 20px 20px 0px;
float: left;
overflow: hidden;
}
.tvList a
{
overflow: hidden;
display: block;
}
.tvList .tvimage
{
display: block;
height: 120px;
width: 120px;
overflow: hidden;
border: 1px solid #999;
margin: auto;
margin-bottom: 10px;
}
</style>
<script type="text/javascript">
jQuery(function () {
jQuery.ajax({
type: 'GET',
url: 'dashboard/feedproxy.aspx?url=http://umbraco.org/feeds/videos/site-builder-foundation',
dataType: 'xml',
success: function (xml) {
var html = "<div class='tvList'>";
jQuery('item', xml).each(function () {
html += '<div class="tvitem">'
+ '<a target="_blank" href="'
+ jQuery(this).find('link').eq(0).text()
+ '">'
+ '<div class="tvimage" style="background: url(' + jQuery(this).find('thumbnail').attr('url') + ') no-repeat center center;">'
+ '</div>'
+ jQuery(this).find('title').eq(0).text()
+ '</a>'
+ '</div>';
});
html += "</div>";
jQuery('#latestformvids').html(html);
}
});
});
</script>
<h2>Watch and learn</h2>
<p>
Want to master Umbraco? Spend a couple of minutes learning some best practices
by watching one of these videos about using Umbraco. And visit <a href="http://umbraco.tv"
target="_blank">umbraco.tv</a> for even more Umbraco videos</p>
<div id="latestformvids">
Loading...
</div>

View File

@@ -0,0 +1,15 @@
//------------------------------------------------------------------------------
// <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 dashboardUtilities {
public partial class StartupDashboardVideos {
}
}

View File

@@ -1,176 +0,0 @@
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="StartupDashboard.ascx.cs" Inherits="dashboardUtilities.StartupDashboard" %>
<%@ Register Namespace="umbraco.uicontrols" Assembly="controls" TagPrefix="umb" %>
<script type="text/javascript" src="/umbraco/dashboard/scripts/jquery.jfeed.pack.js"></script>
<link href="/umbraco_client/propertypane/style.css" rel="stylesheet" />
<style type="text/css">
.formList, .tvList
{
list-style: none;
display: block;
margin: 10px;
padding: 0px;
}
.formList li
{
padding: 0px 0px 15px 0px;
list-style: none;
margin: 0px;
}
.formList li a.form
{
font-size: 1em;
font-weight: bold;
color: #000;
display: block;
height: 16px;
padding: 2px 0px 0px 30px;
background: url(images/umbraco/icon_form.gif) no-repeat 2px 2px;
}
.formList li small
{
display: block;
padding-left: 30px;
height: 10px;
}
.formList li small a
{
display: block;
float: left;
padding-right: 10px;
}
.tvList .tvitem
{
font-size: 11px;
text-align: center;
display: block;
width: 130px;
height: 158px;
margin: 0px 20px 20px 0px;
float: left;
overflow: hidden;
}
.tvList a
{
overflow: hidden;
display: block;
}
.tvList .tvimage
{
display: block;
height: 120px;
width: 120px;
overflow: hidden;
border: 1px solid #999;
margin: auto;
margin-bottom: 10px;
}
</style>
<script type="text/javascript">
jQuery(function () {
jQuery.ajax({
type: 'GET',
url: 'dashboard/feedproxy.aspx?url=http://umbraco.org/documentation/videos/getting-started/feed',
dataType: 'xml',
success: function (xml) {
var html = "<div class='tvList'>";
jQuery('item', xml).each(function () {
html += '<div class="tvitem">'
+ '<a target="_blank" href="'
+ jQuery(this).find('link').eq(0).text()
+ '">'
+ '<div class="tvimage" style="background: url(' + jQuery(this).find('thumbnail').attr('url') + ') no-repeat center center;">'
+ '</div>'
+ jQuery(this).find('title').eq(0).text()
+ '</a>'
+ '</div>';
});
html += "</div>";
jQuery('#latestformvids').html(html);
}
});
});
</script>
<umb:Pane runat="server" ID="startPanel">
<umb:PropertyPanel runat="server" ID="startPP">
<h2>Start Here</h2>
<h3>Thank you for choosing Umbraco!</h3>
<p>
We think this could be the beginning of something beautiful. You have made a great choice, to help you get started here are some links to addtional information:
</p>
<h4>Find out more</h4>
<div style="float:left; width:5%;">
<img src="/umbraco/dashboard/images/logo.gif" alt="Umbraco Start Up!" />
</div>
<div style="float:right; width:95%;">
<ul>
<li>Find the answers to your Umbraco questions on our <a href="http://our.umbraco.org/wiki" target="_blank">Community Wiki</a></li>
<li>Download the <a href="http://our.umbraco.org/projects/website-utilities/editors-manual" target="_blank">Editors Manual</a> for details on working with the Umbraco UI</li>
<li>Ask a question in the <a href="http://our.umbraco.org/" target="_blank">Community Forum</a></li>
<li>Find an add-on <a href="http://our.umbraco.org/projects" target="_blank">package</a> to help you get going quickly</li>
<li>Watch our <a href="http://umbraco.tv" target="_blank">tutorial videos</a> (some are free, some require a subscription)</li>
<li>Find out about our <a href="http://umbraco.org/products" target="_blank">Pro Tools and Support</a></li>
<li>Find out about real-life <a href="http://umbraco.org/training/training-schedule" target="_blank">training and certification</a> opportunities</li>
</ul>
</div>
</umb:PropertyPanel>
</umb:Pane>
<umb:Pane runat="server" ID="skinPanel">
<umb:PropertyPanel runat="server" ID="skinPP">
<h2>Make it look great</h2>
<h3>Install a Starter Site and Skin</h3>
<p>
If you haven't already installed one of our Starter Kits, we think you should do that now. This is one of the best ways to start working with Umbraco.
After you install a Starter Kit, you can select a skin to make it look great and customize the kit to your liking.
</p>
<h4>Starter Kits</h4>
<div style="float:left; width:5%;">
<img src="/umbraco/dashboard/images/starterkit-icon.png" alt="Umbraco Starter Kits Rock!" />
</div>
<div style="float:right; width:95%;">
<ul>
<li><strong><a href="/install/?installStep=skinning" target="_blank">Runway Starter Kit</a></strong> a bare-bones website that introduces you to a set of well-defined conventions for building an Umbraco website</li>
<li><strong><a href="/install/?installStep=skinning" target="_blank">Blog 4 Umbraco Starter Kit</a></strong> a powerful blog kit with all the bells and whistles</li>
<li><strong><a href="/install/?installStep=skinning" target="_blank">Business Starter Kit</a></strong> a basic business kit to get you up and running today</li>
<li><strong><a href="/install/?installStep=skinning" target="_blank">Personal Starter Kit</a></strong> a basic personal kit for your own space on the web</li>
</ul>
</div>
</umb:PropertyPanel>
</umb:Pane>
<umb:Pane runat="server" ID="learn">
<umb:PropertyPanel runat="server" ID="learnPP">
<h2>Watch and learn</h2>
<p>
Want to master Umbraco? Spend a couple of minutes learning some best practices
by watching one of these videos about using Umbraco. And visit <a href="http://umbraco.tv"
target="_blank">umbraco.tv</a> for even more Umbraco videos</p>
<div id="latestformvids">
Loading...
</div>
</umb:PropertyPanel>
</umb:Pane>
<umb:Pane ID="hidePanel" runat="server">
<umb:PropertyPanel runat="server" ID="hidePP">
<p>
Check here to hide this dashboard in the future <asp:CheckBox ID="hideCheckBox"
runat="server" oncheckedchanged="hideCheckBox_CheckedChanged" AutoPostBack="true"></asp:CheckBox>
</p>
</umb:PropertyPanel>
</umb:Pane>

View File

@@ -1,71 +0,0 @@
namespace dashboardUtilities
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using umbraco.BusinessLogic;
public partial class StartupDashboard : System.Web.UI.UserControl
{
/// <summary>
/// Check to see if Runway is installed
/// if so, hide the appropriate panel in the UI
/// </summary>
protected void Page_Load(object sender, EventArgs e)
{
try
{
var templates = umbraco.cms.businesslogic.template.Template.GetAllAsList();
foreach (var t in templates)
{
if (t.Alias == "RunwayMaster")
{
this.skinPanel.Visible = false;
break;
}
}
}
catch (Exception ex)
{
Log.Add(LogTypes.Error, 0, "Dashboard Error: " + ex.Message);
}
}
/// <summary>
/// Hides the dashboard when checked
/// updates dashboard.config when checked
/// </summary>
protected void hideCheckBox_CheckedChanged(object sender, EventArgs e)
{
XmlDocument doc = new XmlDocument();
doc.LoadXml("<Action runat='uninstall' " +
"alias='addDashboardSection' " +
"dashboardAlias='StartupDashboardSection'>" +
"</Action>");
XmlNode n = doc.DocumentElement;
try
{
switch (hideCheckBox.Checked)
{
case (true):
// update dashboard.config to remove dashboard entry
umbraco.cms.businesslogic.packager.PackageAction.UndoPackageAction("StartupDashboard", "addDashboardSection", n);
break;
default:
break;
}
}
catch (Exception ex)
{
Log.Add(LogTypes.Error, 0, "Dashboard Error: " + ex.Message);
}
}
}
}

View File

@@ -1,96 +0,0 @@
//------------------------------------------------------------------------------
// <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 dashboardUtilities {
public partial class StartupDashboard {
/// <summary>
/// startPanel control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::umbraco.uicontrols.Pane startPanel;
/// <summary>
/// startPP control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::umbraco.uicontrols.PropertyPanel startPP;
/// <summary>
/// skinPanel control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::umbraco.uicontrols.Pane skinPanel;
/// <summary>
/// skinPP control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::umbraco.uicontrols.PropertyPanel skinPP;
/// <summary>
/// learn control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::umbraco.uicontrols.Pane learn;
/// <summary>
/// learnPP control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::umbraco.uicontrols.PropertyPanel learnPP;
/// <summary>
/// hidePanel control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::umbraco.uicontrols.Pane hidePanel;
/// <summary>
/// hidePP control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::umbraco.uicontrols.PropertyPanel hidePP;
/// <summary>
/// hideCheckBox 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.CheckBox hideCheckBox;
}
}

View File

@@ -0,0 +1,24 @@
<%@ Control Language="C#" AutoEventWireup="true" %>
<%@ Register Namespace="umbraco.uicontrols" Assembly="controls" TagPrefix="umb" %>
<link href="/umbraco_client/propertypane/style.css" rel="stylesheet" />
<h2>Start Here</h2>
<h3>Thank you for choosing Umbraco!</h3>
<p>
We think this could be the beginning of something beautiful. You have made a great choice, to help you get started here are some links to addtional information:
</p>
<h4>Find out more</h4>
<div style="float:left; width:5%;">
<img src="/umbraco/dashboard/images/logo.gif" alt="Umbraco Start Up!" />
</div>
<div style="float:right; width:95%;">
<ul>
<li>Find the answers to your Umbraco questions on our <a href="http://our.umbraco.org/wiki" target="_blank">Community Wiki</a></li>
<li>Download the <a href="http://our.umbraco.org/projects/website-utilities/editors-manual" target="_blank">Editors Manual</a> for details on working with the Umbraco UI</li>
<li>Ask a question in the <a href="http://our.umbraco.org/" target="_blank">Community Forum</a></li>
<li>Find an add-on <a href="http://our.umbraco.org/projects" target="_blank">package</a> to help you get going quickly</li>
<li>Watch our <a href="http://umbraco.tv" target="_blank">tutorial videos</a> (some are free, some require a subscription)</li>
<li>Find out about our <a href="http://umbraco.org/products" target="_blank">Pro Tools and Support</a></li>
<li>Find out about real-life <a href="http://umbraco.org/training/training-schedule" target="_blank">training and certification</a> opportunities</li>
</ul>
</div>

View File

@@ -0,0 +1,15 @@
//------------------------------------------------------------------------------
// <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 dashboardUtilities {
public partial class StartupDashboardIntro {
}
}

View File

@@ -0,0 +1,22 @@
<%@ Control Language="C#" AutoEventWireup="true" %>
<%@ Register Namespace="umbraco.uicontrols" Assembly="controls" TagPrefix="umb" %>
<link href="/umbraco_client/propertypane/style.css" rel="stylesheet" />
<h2>Make it look great</h2>
<h3>Install a Starter Site and Skin</h3>
<p>
If you haven't already installed one of our Starter Kits, we think you should do that now. This is one of the best ways to start working with Umbraco.
After you install a Starter Kit, you can select a skin to make it look great and customize the kit to your liking.
</p>
<h4>Starter Kits</h4>
<div style="float:left; width:5%;">
<img src="/umbraco/dashboard/images/starterkit-icon.png" alt="Umbraco Starter Kits Rock!" />
</div>
<div style="float:right; width:95%;">
<ul>
<li><strong><a href="/install/?installStep=skinning" target="_blank">Runway Starter Kit</a></strong> a bare-bones website that introduces you to a set of well-defined conventions for building an Umbraco website</li>
<li><strong><a href="/install/?installStep=skinning" target="_blank">Blog 4 Umbraco Starter Kit</a></strong> a powerful blog kit with all the bells and whistles</li>
<li><strong><a href="/install/?installStep=skinning" target="_blank">Business Starter Kit</a></strong> a basic business kit to get you up and running today</li>
<li><strong><a href="/install/?installStep=skinning" target="_blank">Personal Starter Kit</a></strong> a basic personal kit for your own space on the web</li>
</ul>
</div>

View File

@@ -0,0 +1,15 @@
//------------------------------------------------------------------------------
// <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 dashboardUtilities {
public partial class StartupDashboardIntro {
}
}

View File

@@ -0,0 +1,115 @@
<%@ Control Language="C#" AutoEventWireup="true" %>
<%@ Register Namespace="umbraco.uicontrols" Assembly="controls" TagPrefix="umb" %>
<script type="text/javascript" src="/umbraco/dashboard/scripts/jquery.jfeed.pack.js"></script>
<link href="/umbraco_client/propertypane/style.css" rel="stylesheet" />
<style type="text/css">
.formList, .tvList
{
list-style: none;
display: block;
margin: 10px;
padding: 0px;
}
.formList li
{
padding: 0px 0px 15px 0px;
list-style: none;
margin: 0px;
}
.formList li a.form
{
font-size: 1em;
font-weight: bold;
color: #000;
display: block;
height: 16px;
padding: 2px 0px 0px 30px;
background: url(images/umbraco/icon_form.gif) no-repeat 2px 2px;
}
.formList li small
{
display: block;
padding-left: 30px;
height: 10px;
}
.formList li small a
{
display: block;
float: left;
padding-right: 10px;
}
.tvList .tvitem
{
font-size: 11px;
text-align: center;
display: block;
width: 130px;
height: 158px;
margin: 0px 20px 20px 0px;
float: left;
overflow: hidden;
}
.tvList a
{
overflow: hidden;
display: block;
}
.tvList .tvimage
{
display: block;
height: 120px;
width: 120px;
overflow: hidden;
border: 1px solid #999;
margin: auto;
margin-bottom: 10px;
}
</style>
<script type="text/javascript">
jQuery(function () {
jQuery.ajax({
type: 'GET',
url: 'dashboard/feedproxy.aspx?url=http://umbraco.org/feeds/videos/getting-started',
dataType: 'xml',
success: function (xml) {
var html = "<div class='tvList'>";
jQuery('item', xml).each(function () {
html += '<div class="tvitem">'
+ '<a target="_blank" href="'
+ jQuery(this).find('link').eq(0).text()
+ '">'
+ '<div class="tvimage" style="background: url(' + jQuery(this).find('thumbnail').attr('url') + ') no-repeat center center;">'
+ '</div>'
+ jQuery(this).find('title').eq(0).text()
+ '</a>'
+ '</div>';
});
html += "</div>";
jQuery('#latestformvids').html(html);
}
});
});
</script>
<h2>Watch and learn</h2>
<p>
Want to master Umbraco? Spend a couple of minutes learning some best practices
by watching one of these videos about using Umbraco. And visit <a href="http://umbraco.tv"
target="_blank">umbraco.tv</a> for even more Umbraco videos</p>
<div id="latestformvids">
Loading...
</div>

View File

@@ -0,0 +1,15 @@
//------------------------------------------------------------------------------
// <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 dashboardUtilities {
public partial class StartupDashboardVideos {
}
}

View File

@@ -1,47 +0,0 @@
namespace dashboardUtilities
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using umbraco.BusinessLogic;
public partial class StartupDeveloperDashboard : System.Web.UI.UserControl
{
/// <summary>
/// Hides the dashboard when checked
/// updates dashboard.config when checked
/// </summary>
protected void hideCheckBox_CheckedChanged(object sender, EventArgs e)
{
XmlDocument doc = new XmlDocument();
doc.LoadXml("<Action runat='uninstall' " +
"alias='addDashboardSection' " +
"dashboardAlias='StartupDeveloperDashboardSection'>" +
"</Action>");
XmlNode n = doc.DocumentElement;
try
{
switch (hideCheckBox.Checked)
{
case (true):
// update dashboard.config to remove dashboard entry
umbraco.cms.businesslogic.packager.PackageAction.UndoPackageAction("StartupDeveloperDashboard", "addDashboardSection", n);
break;
default:
break;
}
}
catch (Exception ex)
{
Log.Add(LogTypes.Error, 0, "Dashboard Error: " + ex.Message);
}
}
}
}

View File

@@ -1,60 +0,0 @@
//------------------------------------------------------------------------------
// <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 dashboardUtilities {
public partial class StartupDeveloperDashboard {
/// <summary>
/// startPanel control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::umbraco.uicontrols.Pane startPanel;
/// <summary>
/// startPP control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::umbraco.uicontrols.PropertyPanel startPP;
/// <summary>
/// learnPanel 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.Panel learnPanel;
/// <summary>
/// hidePanel 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.Panel hidePanel;
/// <summary>
/// hideCheckBox 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.CheckBox hideCheckBox;
}
}

View File

@@ -1,178 +0,0 @@
<%@ Control Language="C#" AutoEventWireup="True" CodeBehind="StartupMediaDashboard.ascx.cs" Inherits="dashboardUtilities.StartupMediaDashboard" %>
<%--<%@ Register src="zipupload.ascx" tagname="zipupload" tagprefix="uc1" %>--%>
<%@ Register Namespace="umbraco.uicontrols" Assembly="controls" TagPrefix="umb" %>
<script type="text/javascript" src="/umbraco/dashboard/scripts/jquery.jfeed.pack.js"></script>
<link href="/umbraco_client/propertypane/style.css" rel="stylesheet" />
<style type="text/css">
.formList, .tvList
{
list-style: none;
display: block;
margin: 10px;
padding: 0px;
}
.formList li
{
padding: 0px 0px 15px 0px;
list-style: none;
margin: 0px;
}
.formList li a.form
{
font-size: 1em;
font-weight: bold;
color: #000;
display: block;
height: 16px;
padding: 2px 0px 0px 30px;
background: url(images/umbraco/icon_form.gif) no-repeat 2px 2px;
}
.formList li small
{
display: block;
padding-left: 30px;
height: 10px;
}
.formList li small a
{
display: block;
float: left;
padding-right: 10px;
}
.tvList .tvitem
{
font-size: 11px;
text-align: center;
display: block;
width: 130px;
height: 158px;
margin: 0px 20px 20px 0px;
float: left;
overflow: hidden;
}
.tvList a
{
overflow: hidden;
display: block;
}
.tvList .tvimage
{
display: block;
height: 120px;
width: 120px;
overflow: hidden;
border: 1px solid #999;
margin: auto;
margin-bottom: 10px;
}
.contourLabel
{
clear: left;
float: left;
font-weight: bold;
padding-bottom: 10px;
padding-right: 10px;
width: 130px;
}
.contourInput
{
color: #333333;
font-family: Trebuchet MS,Lucida Grande,verdana,arial;
font-size: 12px;
padding: 2px;
width: 250px;
}
</style>
<script type="text/javascript">
jQuery(function () {
jQuery.ajax({
type: 'GET',
url: 'dashboard/feedproxy.aspx?url=http://umbraco.org/documentation/videos/getting-started/feed',
dataType: 'xml',
success: function (xml) {
var html = "<div class='tvList'>";
jQuery('item', xml).each(function () {
html += '<div class="tvitem">'
+ '<a target="_blank" href="'
+ jQuery(this).find('link').eq(0).text()
+ '">'
+ '<div class="tvimage" style="background: url(' + jQuery(this).find('thumbnail').attr('url') + ') no-repeat center center;">'
+ '</div>'
+ jQuery(this).find('title').eq(0).text()
+ '</a>'
+ '</div>';
});
html += "</div>";
jQuery('#latestformvids').html(html);
}
});
});
</script>
<umb:Pane runat="server" ID="startPanel">
<umb:PropertyPanel runat="server" ID="startPP">
<h2>Start here</h2>
<h3>Get started with Media right now</h3>
<p>
Use the tool below to upload a ZIP file of your images or documents to a media folder.
</p>
<h4>Follow these steps:</h4>
<div style="float:left; width:5%;">
<img src="/umbraco/dashboard/images/logo.gif" alt="Umbraco Start Up!" />
</div>
<div style="float:right; width:95%;">
<ul>
<li>Create a media folder by right-clicking on the Media root folder, selecting Create, then give your folder a name, select the Media Type Folder, and click create</li>
<li>Select the created folder by click the Choose link</li>
<li>Use the Browse button below to select a ZIP file containing your images (you can even organize them into folders and the tool will create these for you)</li>
<li>Click the Upload zip file button</li>
<li>Refresh the Media section by right-clicking the Media root folder and selecting Reload Nodes</li>
</ul>
</div>
</umb:PropertyPanel>
</umb:Pane>
<umb:Pane runat="server" ID="zipUploadPanel">
<umb:PropertyPanel runat="server" ID="zipUploadPP">
<h2>Upload Files</h2>
<%-- <uc1:zipupload ID="zipupload1" runat="server" />--%>
</umb:PropertyPanel>
</umb:Pane>
<umb:Pane runat="server" ID="learn">
<umb:PropertyPanel runat="server" ID="learnPP">
<h2>Watch and learn</h2>
<p>
Want to master Umbraco Media? Spend a couple of minutes learning some best practices
by watching one of these videos about using Umbraco. And visit <a href="http://umbraco.tv"
target="_blank">umbraco.tv</a> for even more Umbraco videos</p>
<div id="latestformvids">
Loading...
</div>
</umb:PropertyPanel>
</umb:Pane>
<umb:Pane ID="hidePanel" runat="server">
<umb:PropertyPanel runat="server" ID="hidePP">
<p>
Check here to hide this dashboard in the future <asp:CheckBox ID="hideCheckBox"
runat="server" oncheckedchanged="hideCheckBox_CheckedChanged" AutoPostBack="true"></asp:CheckBox>
</p>
</umb:PropertyPanel>
</umb:Pane>

View File

@@ -1,48 +0,0 @@
namespace dashboardUtilities
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using umbraco.BusinessLogic;
public partial class StartupMediaDashboard : System.Web.UI.UserControl
{
/// <summary>
/// Hides the dashboard when checked
/// updates dashboard.config when checked
/// </summary>
protected void hideCheckBox_CheckedChanged(object sender, EventArgs e)
{
XmlDocument doc = new XmlDocument();
doc.LoadXml("<Action runat='uninstall' " +
"alias='addDashboardSection' " +
"dashboardAlias='StartupMediaDashboardSection'>" +
"</Action>");
XmlNode n = doc.DocumentElement;
try
{
switch (hideCheckBox.Checked)
{
case (true):
// update dashboard.config to remove dashboard entry
umbraco.cms.businesslogic.packager.PackageAction.UndoPackageAction("StartupMediaDashboard", "addDashboardSection", n);
break;
default:
break;
}
}
catch (Exception ex)
{
Log.Add(LogTypes.Error, 0, "Dashboard Error: " + ex.Message);
}
}
}
}

View File

@@ -1,96 +0,0 @@
//------------------------------------------------------------------------------
// <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 dashboardUtilities {
public partial class StartupMediaDashboard {
/// <summary>
/// startPanel control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::umbraco.uicontrols.Pane startPanel;
/// <summary>
/// startPP control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::umbraco.uicontrols.PropertyPanel startPP;
/// <summary>
/// zipUploadPanel control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::umbraco.uicontrols.Pane zipUploadPanel;
/// <summary>
/// zipUploadPP control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::umbraco.uicontrols.PropertyPanel zipUploadPP;
/// <summary>
/// learn control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::umbraco.uicontrols.Pane learn;
/// <summary>
/// learnPP control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::umbraco.uicontrols.PropertyPanel learnPP;
/// <summary>
/// hidePanel control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::umbraco.uicontrols.Pane hidePanel;
/// <summary>
/// hidePP control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::umbraco.uicontrols.PropertyPanel hidePP;
/// <summary>
/// hideCheckBox 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.CheckBox hideCheckBox;
}
}

View File

@@ -1,47 +0,0 @@
namespace dashboardUtilities
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using umbraco.BusinessLogic;
public partial class StartupMemberDashboard : System.Web.UI.UserControl
{
/// <summary>
/// Hides the dashboard when checked
/// updates dashboard.config when checked
/// </summary>
protected void hideCheckBox_CheckedChanged(object sender, EventArgs e)
{
XmlDocument doc = new XmlDocument();
doc.LoadXml("<Action runat='uninstall' " +
"alias='addDashboardSection' " +
"dashboardAlias='StartupMemberDashboardSection'>" +
"</Action>");
XmlNode n = doc.DocumentElement;
try
{
switch (hideCheckBox.Checked)
{
case (true):
// update dashboard.config to remove dashboard entry
umbraco.cms.businesslogic.packager.PackageAction.UndoPackageAction("StartupMemberDashboard", "addDashboardSection", n);
break;
default:
break;
}
}
catch (Exception ex)
{
Log.Add(LogTypes.Error, 0, "Dashboard Error: " + ex.Message);
}
}
}
}

View File

@@ -1,60 +0,0 @@
//------------------------------------------------------------------------------
// <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 dashboardUtilities {
public partial class StartupMemberDashboard {
/// <summary>
/// startPanel 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.Panel startPanel;
/// <summary>
/// memberSearch1 control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::umbraco.presentation.umbraco.members.MemberSearch memberSearch1;
/// <summary>
/// learnPanel 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.Panel learnPanel;
/// <summary>
/// hidePanel 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.Panel hidePanel;
/// <summary>
/// hideCheckBox 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.CheckBox hideCheckBox;
}
}

View File

@@ -1,47 +0,0 @@
namespace dashboardUtilities
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using umbraco.BusinessLogic;
public partial class StartupSettingsDashboard : System.Web.UI.UserControl
{
/// <summary>
/// Hides the dashboard when checked
/// updates dashboard.config when checked
/// </summary>
protected void hideCheckBox_CheckedChanged(object sender, EventArgs e)
{
XmlDocument doc = new XmlDocument();
doc.LoadXml("<Action runat='uninstall' " +
"alias='addDashboardSection' " +
"dashboardAlias='StartupSettingsDashboardSection'>" +
"</Action>");
XmlNode n = doc.DocumentElement;
try
{
switch (hideCheckBox.Checked)
{
case (true):
// update dashboard.config to remove dashboard entry
umbraco.cms.businesslogic.packager.PackageAction.UndoPackageAction("StartupSettingsDashboard", "addDashboardSection", n);
break;
default:
break;
}
}
catch (Exception ex)
{
Log.Add(LogTypes.Error, 0, "Dashboard Error: " + ex.Message);
}
}
}
}

View File

@@ -1,78 +0,0 @@
//------------------------------------------------------------------------------
// <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 dashboardUtilities {
public partial class StartupSettingsDashboard {
/// <summary>
/// startPanel control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::umbraco.uicontrols.Pane startPanel;
/// <summary>
/// startPP control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::umbraco.uicontrols.PropertyPanel startPP;
/// <summary>
/// learn control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::umbraco.uicontrols.Pane learn;
/// <summary>
/// learnPP control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::umbraco.uicontrols.PropertyPanel learnPP;
/// <summary>
/// hidePanel control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::umbraco.uicontrols.Pane hidePanel;
/// <summary>
/// hidePP control.
/// </summary>
/// <remarks>
/// Auto-generated field.
/// To modify move field declaration from designer file to code-behind file.
/// </remarks>
protected global::umbraco.uicontrols.PropertyPanel hidePP;
/// <summary>
/// hideCheckBox 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.CheckBox hideCheckBox;
}
}