From ea4038f16adc7d93dd44161d35f6fa71baf58f1b Mon Sep 17 00:00:00 2001 From: psterling Date: Tue, 9 Nov 2010 20:57:27 +0000 Subject: [PATCH] StartupDashboard refactor with "show once" feature and video feeds updated [TFS Changeset #79736] --- umbraco/presentation/config/Dashboard.config | 53 +++++- .../presentation/umbraco.presentation.csproj | 74 ++++---- .../dashboard/DeveloperDashboardIntro.ascx | 23 +++ .../DeveloperDashboardIntro.ascx.designer.cs | 15 ++ ...ard.ascx => DeveloperDashboardVideos.ascx} | 62 +----- .../DeveloperDashboardVideos.ascx.designer.cs | 15 ++ .../dashboard/MediaDashboardIntro.ascx | 22 +++ .../MediaDashboardIntro.ascx.designer.cs | 15 ++ ...shboard.ascx => MediaDashboardVideos.ascx} | 62 +----- .../MediaDashboardVideos.ascx.designer.cs | 15 ++ .../dashboard/MembersDashboardIntro.ascx | 18 ++ .../MembersDashboardIntro.ascx.designer.cs | 15 ++ ...board.ascx => MembersDashboardVideos.ascx} | 62 +----- .../MembersDashboardVideos.ascx.designer.cs | 15 ++ .../dashboard/SettingsDashboardIntro.ascx | 23 +++ .../SettingsDashboardIntro.ascx.designer.cs | 15 ++ .../dashboard/SettingsDashboardVideos.ascx | 115 +++++++++++ .../SettingsDashboardVideos.ascx.designer.cs | 15 ++ .../umbraco/dashboard/StartupDashboard.ascx | 176 ----------------- .../dashboard/StartupDashboard.ascx.cs | 71 ------- .../StartupDashboard.ascx.designer.cs | 96 ---------- .../dashboard/StartupDashboardIntro.ascx | 24 +++ .../StartupDashboardIntro.ascx.designer.cs | 15 ++ .../dashboard/StartupDashboardKits.ascx | 22 +++ .../StartupDashboardKits.ascx.designer.cs | 15 ++ .../dashboard/StartupDashboardVideos.ascx | 115 +++++++++++ .../StartupDashboardVideos.ascx.designer.cs | 15 ++ .../StartupDeveloperDashboard.ascx.cs | 47 ----- ...StartupDeveloperDashboard.ascx.designer.cs | 60 ------ .../dashboard/StartupMediaDashboard.ascx | 178 ------------------ .../dashboard/StartupMediaDashboard.ascx.cs | 48 ----- .../StartupMediaDashboard.ascx.designer.cs | 96 ---------- .../dashboard/StartupMemberDashboard.ascx.cs | 47 ----- .../StartupMemberDashboard.ascx.designer.cs | 60 ------ .../StartupSettingsDashboard.ascx.cs | 47 ----- .../StartupSettingsDashboard.ascx.designer.cs | 78 -------- 36 files changed, 624 insertions(+), 1220 deletions(-) create mode 100644 umbraco/presentation/umbraco/dashboard/DeveloperDashboardIntro.ascx create mode 100644 umbraco/presentation/umbraco/dashboard/DeveloperDashboardIntro.ascx.designer.cs rename umbraco/presentation/umbraco/dashboard/{StartupDeveloperDashboard.ascx => DeveloperDashboardVideos.ascx} (50%) create mode 100644 umbraco/presentation/umbraco/dashboard/DeveloperDashboardVideos.ascx.designer.cs create mode 100644 umbraco/presentation/umbraco/dashboard/MediaDashboardIntro.ascx create mode 100644 umbraco/presentation/umbraco/dashboard/MediaDashboardIntro.ascx.designer.cs rename umbraco/presentation/umbraco/dashboard/{StartupSettingsDashboard.ascx => MediaDashboardVideos.ascx} (50%) create mode 100644 umbraco/presentation/umbraco/dashboard/MediaDashboardVideos.ascx.designer.cs create mode 100644 umbraco/presentation/umbraco/dashboard/MembersDashboardIntro.ascx create mode 100644 umbraco/presentation/umbraco/dashboard/MembersDashboardIntro.ascx.designer.cs rename umbraco/presentation/umbraco/dashboard/{StartupMemberDashboard.ascx => MembersDashboardVideos.ascx} (56%) create mode 100644 umbraco/presentation/umbraco/dashboard/MembersDashboardVideos.ascx.designer.cs create mode 100644 umbraco/presentation/umbraco/dashboard/SettingsDashboardIntro.ascx create mode 100644 umbraco/presentation/umbraco/dashboard/SettingsDashboardIntro.ascx.designer.cs create mode 100644 umbraco/presentation/umbraco/dashboard/SettingsDashboardVideos.ascx create mode 100644 umbraco/presentation/umbraco/dashboard/SettingsDashboardVideos.ascx.designer.cs delete mode 100644 umbraco/presentation/umbraco/dashboard/StartupDashboard.ascx delete mode 100644 umbraco/presentation/umbraco/dashboard/StartupDashboard.ascx.cs delete mode 100644 umbraco/presentation/umbraco/dashboard/StartupDashboard.ascx.designer.cs create mode 100644 umbraco/presentation/umbraco/dashboard/StartupDashboardIntro.ascx create mode 100644 umbraco/presentation/umbraco/dashboard/StartupDashboardIntro.ascx.designer.cs create mode 100644 umbraco/presentation/umbraco/dashboard/StartupDashboardKits.ascx create mode 100644 umbraco/presentation/umbraco/dashboard/StartupDashboardKits.ascx.designer.cs create mode 100644 umbraco/presentation/umbraco/dashboard/StartupDashboardVideos.ascx create mode 100644 umbraco/presentation/umbraco/dashboard/StartupDashboardVideos.ascx.designer.cs delete mode 100644 umbraco/presentation/umbraco/dashboard/StartupDeveloperDashboard.ascx.cs delete mode 100644 umbraco/presentation/umbraco/dashboard/StartupDeveloperDashboard.ascx.designer.cs delete mode 100644 umbraco/presentation/umbraco/dashboard/StartupMediaDashboard.ascx delete mode 100644 umbraco/presentation/umbraco/dashboard/StartupMediaDashboard.ascx.cs delete mode 100644 umbraco/presentation/umbraco/dashboard/StartupMediaDashboard.ascx.designer.cs delete mode 100644 umbraco/presentation/umbraco/dashboard/StartupMemberDashboard.ascx.cs delete mode 100644 umbraco/presentation/umbraco/dashboard/StartupMemberDashboard.ascx.designer.cs delete mode 100644 umbraco/presentation/umbraco/dashboard/StartupSettingsDashboard.ascx.cs delete mode 100644 umbraco/presentation/umbraco/dashboard/StartupSettingsDashboard.ascx.designer.cs diff --git a/umbraco/presentation/config/Dashboard.config b/umbraco/presentation/config/Dashboard.config index e284ee1bc2..06829ce458 100644 --- a/umbraco/presentation/config/Dashboard.config +++ b/umbraco/presentation/config/Dashboard.config @@ -5,25 +5,46 @@ settings - /umbraco/dashboard/startupsettingsdashboard.ascx + + /umbraco/dashboard/settingsdashboardintro.ascx + + + /umbraco/dashboard/settingsdashboardvideos.ascx + +
developer - /umbraco/dashboard/startupdeveloperdashboard.ascx + + /umbraco/dashboard/developerdashboardintro.ascx + + + /umbraco/dashboard/developerdashboardvideos.ascx +
+
media - /umbraco/dashboard/startupmediadashboard.ascx + + /umbraco/dashboard/mediadashboardintro.ascx + + + /umbraco/dashboard/zipupload.ascx + + + /umbraco/dashboard/mediadashboardvideos.ascx +
+
translator @@ -32,7 +53,15 @@ content - /umbraco/dashboard/startupdashboard.ascx + + /umbraco/dashboard/startupdashboardintro.ascx + + + /umbraco/dashboard/startupdashboardkits.ascx + + + /umbraco/dashboard/startupdashboardvideos.ascx + /umbraco/dashboard/latestEdits.ascx @@ -41,14 +70,24 @@ /umbraco/dashboard/changepassword.ascx
+
member - - /umbraco/dashboard/startupmemberdashboard.ascx + + + /umbraco/dashboard/membersdashboardintro.ascx + + + /umbraco/members/membersearch.ascx + + + /umbraco/dashboard/membersdashboardvideos.ascx +
+
default @@ -132,4 +170,5 @@ /usercontrols/dashboards/EmailAFriendForm_logs.ascx
+ --> \ No newline at end of file diff --git a/umbraco/presentation/umbraco.presentation.csproj b/umbraco/presentation/umbraco.presentation.csproj index 90563afdf7..782399d97b 100644 --- a/umbraco/presentation/umbraco.presentation.csproj +++ b/umbraco/presentation/umbraco.presentation.csproj @@ -568,12 +568,11 @@ ChangePassword.ascx - - StartupMemberDashboard.ascx - ASPXCodeBehind + + DeveloperDashboardIntro.ascx - - StartupMemberDashboard.ascx + + DeveloperDashboardVideos.ascx FeedProxy.aspx @@ -582,6 +581,24 @@ FeedProxy.aspx + + MediaDashboardIntro.ascx + + + MediaDashboardVideos.ascx + + + MembersDashboardIntro.ascx + + + MembersDashboardVideos.ascx + + + SettingsDashboardIntro.ascx + + + SettingsDashboardVideos.ascx + Applyskin.ascx ASPXCodeBehind @@ -589,33 +606,14 @@ Applyskin.ascx - - StartupDashboard.ascx - ASPXCodeBehind + + StartupDashboardIntro.ascx - - StartupDashboard.ascx + + StartupDashboardKits.ascx - - StartupDeveloperDashboard.ascx - ASPXCodeBehind - - - StartupDeveloperDashboard.ascx - - - StartupMediaDashboard.ascx - ASPXCodeBehind - - - StartupMediaDashboard.ascx - - - StartupSettingsDashboard.ascx - ASPXCodeBehind - - - StartupSettingsDashboard.ascx + + StartupDashboardVideos.ascx Preview.aspx @@ -1662,18 +1660,24 @@ + + - + + + + + + - - - - + + + diff --git a/umbraco/presentation/umbraco/dashboard/DeveloperDashboardIntro.ascx b/umbraco/presentation/umbraco/dashboard/DeveloperDashboardIntro.ascx new file mode 100644 index 0000000000..4d5586f1b3 --- /dev/null +++ b/umbraco/presentation/umbraco/dashboard/DeveloperDashboardIntro.ascx @@ -0,0 +1,23 @@ +<%@ Control Language="C#" AutoEventWireup="true" %> +<%@ Register Namespace="umbraco.uicontrols" Assembly="controls" TagPrefix="umb" %> + + +

Start here

+

This section contains the tools to add advanced features to your Umbraco site

+

+ From here you can explore and install packages, create macros, add data types, and much more. Start by exploring the below links or videos. +

+

Find out more

+
+ Umbraco Start Up! +
+
+ +
\ No newline at end of file diff --git a/umbraco/presentation/umbraco/dashboard/DeveloperDashboardIntro.ascx.designer.cs b/umbraco/presentation/umbraco/dashboard/DeveloperDashboardIntro.ascx.designer.cs new file mode 100644 index 0000000000..486df4e421 --- /dev/null +++ b/umbraco/presentation/umbraco/dashboard/DeveloperDashboardIntro.ascx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace dashboardUtilities { + + + public partial class StartupDashboardIntro { + } +} diff --git a/umbraco/presentation/umbraco/dashboard/StartupDeveloperDashboard.ascx b/umbraco/presentation/umbraco/dashboard/DeveloperDashboardVideos.ascx similarity index 50% rename from umbraco/presentation/umbraco/dashboard/StartupDeveloperDashboard.ascx rename to umbraco/presentation/umbraco/dashboard/DeveloperDashboardVideos.ascx index 086d6ef37f..994858ac57 100644 --- a/umbraco/presentation/umbraco/dashboard/StartupDeveloperDashboard.ascx +++ b/umbraco/presentation/umbraco/dashboard/DeveloperDashboardVideos.ascx @@ -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" %> @@ -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; - } - - -

Start here

-

This section contains the tools to add advanced features to your Umbraco site

-

- From here you can explore and install packages, create macros, add data types, and much more. Start by exploring the below links or videos. -

-

Find out more

-
- Umbraco Start Up! -
-
- -
-
-
- - -

Watch and learn

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 umbraco.tv for even more Umbraco videos

-
+
Loading... -
- - - - - -

- Check here to hide this dashboard in the future -

-
-
+
\ No newline at end of file diff --git a/umbraco/presentation/umbraco/dashboard/DeveloperDashboardVideos.ascx.designer.cs b/umbraco/presentation/umbraco/dashboard/DeveloperDashboardVideos.ascx.designer.cs new file mode 100644 index 0000000000..01be3f80e1 --- /dev/null +++ b/umbraco/presentation/umbraco/dashboard/DeveloperDashboardVideos.ascx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace dashboardUtilities { + + + public partial class StartupDashboardVideos { + } +} diff --git a/umbraco/presentation/umbraco/dashboard/MediaDashboardIntro.ascx b/umbraco/presentation/umbraco/dashboard/MediaDashboardIntro.ascx new file mode 100644 index 0000000000..0dfd45a87f --- /dev/null +++ b/umbraco/presentation/umbraco/dashboard/MediaDashboardIntro.ascx @@ -0,0 +1,22 @@ +<%@ Control Language="C#" AutoEventWireup="true" %> +<%@ Register Namespace="umbraco.uicontrols" Assembly="controls" TagPrefix="umb" %> + + +

Start here

+

Get started with Media right now

+

+ Use the tool below to upload a ZIP file of your images or documents to a media folder. +

+

Follow these steps:

+
+ Umbraco Start Up! +
+
+
    +
  • 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
  • +
  • Select the created folder by click the Choose link
  • +
  • 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)
  • +
  • Click the Upload zip file button
  • +
  • Refresh the Media section by right-clicking the Media root folder and selecting Reload Nodes
  • +
+
\ No newline at end of file diff --git a/umbraco/presentation/umbraco/dashboard/MediaDashboardIntro.ascx.designer.cs b/umbraco/presentation/umbraco/dashboard/MediaDashboardIntro.ascx.designer.cs new file mode 100644 index 0000000000..486df4e421 --- /dev/null +++ b/umbraco/presentation/umbraco/dashboard/MediaDashboardIntro.ascx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace dashboardUtilities { + + + public partial class StartupDashboardIntro { + } +} diff --git a/umbraco/presentation/umbraco/dashboard/StartupSettingsDashboard.ascx b/umbraco/presentation/umbraco/dashboard/MediaDashboardVideos.ascx similarity index 50% rename from umbraco/presentation/umbraco/dashboard/StartupSettingsDashboard.ascx rename to umbraco/presentation/umbraco/dashboard/MediaDashboardVideos.ascx index adccea9632..034e6c07ab 100644 --- a/umbraco/presentation/umbraco/dashboard/StartupSettingsDashboard.ascx +++ b/umbraco/presentation/umbraco/dashboard/MediaDashboardVideos.ascx @@ -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" %> @@ -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; - } - - -

Start here

-

This section contains the building blocks for your Umbraco site

-

- Follow the below links to find out more about working with the items in the Setings section: -

-

Find out more

-
- Umbraco Start Up! -
-
- -
-
-
- - -

Watch and learn

Want to master Umbraco? Spend a couple of minutes learning some best practices by watching one of these videos about using Umbraco. And visit umbraco.tv for even more Umbraco videos

-
+
Loading... -
- - - - - -

- Check here to hide this dashboard in the future -

-
-
\ No newline at end of file +
\ No newline at end of file diff --git a/umbraco/presentation/umbraco/dashboard/MediaDashboardVideos.ascx.designer.cs b/umbraco/presentation/umbraco/dashboard/MediaDashboardVideos.ascx.designer.cs new file mode 100644 index 0000000000..01be3f80e1 --- /dev/null +++ b/umbraco/presentation/umbraco/dashboard/MediaDashboardVideos.ascx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace dashboardUtilities { + + + public partial class StartupDashboardVideos { + } +} diff --git a/umbraco/presentation/umbraco/dashboard/MembersDashboardIntro.ascx b/umbraco/presentation/umbraco/dashboard/MembersDashboardIntro.ascx new file mode 100644 index 0000000000..7c70b2890a --- /dev/null +++ b/umbraco/presentation/umbraco/dashboard/MembersDashboardIntro.ascx @@ -0,0 +1,18 @@ +<%@ Control Language="C#" AutoEventWireup="true" %> +<%@ Register Namespace="umbraco.uicontrols" Assembly="controls" TagPrefix="umb" %> + + +

Start here

+

Get started with Members right now

+

+ Use the tool below to search for an existing member. +

+

More about members

+
+ Umbraco Start Up! +
+
+ +
\ No newline at end of file diff --git a/umbraco/presentation/umbraco/dashboard/MembersDashboardIntro.ascx.designer.cs b/umbraco/presentation/umbraco/dashboard/MembersDashboardIntro.ascx.designer.cs new file mode 100644 index 0000000000..486df4e421 --- /dev/null +++ b/umbraco/presentation/umbraco/dashboard/MembersDashboardIntro.ascx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace dashboardUtilities { + + + public partial class StartupDashboardIntro { + } +} diff --git a/umbraco/presentation/umbraco/dashboard/StartupMemberDashboard.ascx b/umbraco/presentation/umbraco/dashboard/MembersDashboardVideos.ascx similarity index 56% rename from umbraco/presentation/umbraco/dashboard/StartupMemberDashboard.ascx rename to umbraco/presentation/umbraco/dashboard/MembersDashboardVideos.ascx index a45b25ca60..94d0a9cc71 100644 --- a/umbraco/presentation/umbraco/dashboard/StartupMemberDashboard.ascx +++ b/umbraco/presentation/umbraco/dashboard/MembersDashboardVideos.ascx @@ -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" %> @@ -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; - } - - -

Start here

-

Get started with Members right now

-

- Use the tool below to search for an existing member. -

-

More about members

-
- Umbraco Start Up! -
-
- -
-
-
- - - - -

Watch and learn

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 umbraco.tv for even more Umbraco videos

-
+
Loading... -
- - - - - -

- Check here to hide this dashboard in the future -

-
-
- - +
\ No newline at end of file diff --git a/umbraco/presentation/umbraco/dashboard/MembersDashboardVideos.ascx.designer.cs b/umbraco/presentation/umbraco/dashboard/MembersDashboardVideos.ascx.designer.cs new file mode 100644 index 0000000000..01be3f80e1 --- /dev/null +++ b/umbraco/presentation/umbraco/dashboard/MembersDashboardVideos.ascx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace dashboardUtilities { + + + public partial class StartupDashboardVideos { + } +} diff --git a/umbraco/presentation/umbraco/dashboard/SettingsDashboardIntro.ascx b/umbraco/presentation/umbraco/dashboard/SettingsDashboardIntro.ascx new file mode 100644 index 0000000000..5c919c077f --- /dev/null +++ b/umbraco/presentation/umbraco/dashboard/SettingsDashboardIntro.ascx @@ -0,0 +1,23 @@ +<%@ Control Language="C#" AutoEventWireup="true" %> +<%@ Register Namespace="umbraco.uicontrols" Assembly="controls" TagPrefix="umb" %> + + +

Start here

+

This section contains the building blocks for your Umbraco site

+

+ Follow the below links to find out more about working with the items in the Setings section: +

+

Find out more

+
+ Umbraco Start Up! +
+
+ +
\ No newline at end of file diff --git a/umbraco/presentation/umbraco/dashboard/SettingsDashboardIntro.ascx.designer.cs b/umbraco/presentation/umbraco/dashboard/SettingsDashboardIntro.ascx.designer.cs new file mode 100644 index 0000000000..486df4e421 --- /dev/null +++ b/umbraco/presentation/umbraco/dashboard/SettingsDashboardIntro.ascx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace dashboardUtilities { + + + public partial class StartupDashboardIntro { + } +} diff --git a/umbraco/presentation/umbraco/dashboard/SettingsDashboardVideos.ascx b/umbraco/presentation/umbraco/dashboard/SettingsDashboardVideos.ascx new file mode 100644 index 0000000000..e075558bef --- /dev/null +++ b/umbraco/presentation/umbraco/dashboard/SettingsDashboardVideos.ascx @@ -0,0 +1,115 @@ +<%@ Control Language="C#" AutoEventWireup="true" %> +<%@ Register Namespace="umbraco.uicontrols" Assembly="controls" TagPrefix="umb" %> + + + + + +

Watch and learn

+

+ Want to master Umbraco? Spend a couple of minutes learning some best practices + by watching one of these videos about using Umbraco. And visit umbraco.tv for even more Umbraco videos

+
+ Loading... +
\ No newline at end of file diff --git a/umbraco/presentation/umbraco/dashboard/SettingsDashboardVideos.ascx.designer.cs b/umbraco/presentation/umbraco/dashboard/SettingsDashboardVideos.ascx.designer.cs new file mode 100644 index 0000000000..01be3f80e1 --- /dev/null +++ b/umbraco/presentation/umbraco/dashboard/SettingsDashboardVideos.ascx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace dashboardUtilities { + + + public partial class StartupDashboardVideos { + } +} diff --git a/umbraco/presentation/umbraco/dashboard/StartupDashboard.ascx b/umbraco/presentation/umbraco/dashboard/StartupDashboard.ascx deleted file mode 100644 index 75ab724989..0000000000 --- a/umbraco/presentation/umbraco/dashboard/StartupDashboard.ascx +++ /dev/null @@ -1,176 +0,0 @@ -<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="StartupDashboard.ascx.cs" Inherits="dashboardUtilities.StartupDashboard" %> -<%@ Register Namespace="umbraco.uicontrols" Assembly="controls" TagPrefix="umb" %> - - - - - - - -

Start Here

-

Thank you for choosing Umbraco!

-

- 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: -

-

Find out more

-
- Umbraco Start Up! -
-
- -
-
-
- - - -

Make it look great

-

Install a Starter Site and Skin

-

- 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. -

-

Starter Kits

-
- Umbraco Starter Kits Rock! -
-
- -
-
-
- - - -

Watch and learn

-

- Want to master Umbraco? Spend a couple of minutes learning some best practices - by watching one of these videos about using Umbraco. And visit umbraco.tv for even more Umbraco videos

-
- Loading... -
-
-
- - - -

- Check here to hide this dashboard in the future -

-
-
\ No newline at end of file diff --git a/umbraco/presentation/umbraco/dashboard/StartupDashboard.ascx.cs b/umbraco/presentation/umbraco/dashboard/StartupDashboard.ascx.cs deleted file mode 100644 index 44492d5a63..0000000000 --- a/umbraco/presentation/umbraco/dashboard/StartupDashboard.ascx.cs +++ /dev/null @@ -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 - { - /// - /// Check to see if Runway is installed - /// if so, hide the appropriate panel in the UI - /// - 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); - } - } - - /// - /// Hides the dashboard when checked - /// updates dashboard.config when checked - /// - protected void hideCheckBox_CheckedChanged(object sender, EventArgs e) - { - XmlDocument doc = new XmlDocument(); - doc.LoadXml("" + - ""); - - 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); - } - } - } -} \ No newline at end of file diff --git a/umbraco/presentation/umbraco/dashboard/StartupDashboard.ascx.designer.cs b/umbraco/presentation/umbraco/dashboard/StartupDashboard.ascx.designer.cs deleted file mode 100644 index d8560df4f7..0000000000 --- a/umbraco/presentation/umbraco/dashboard/StartupDashboard.ascx.designer.cs +++ /dev/null @@ -1,96 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace dashboardUtilities { - - - public partial class StartupDashboard { - - /// - /// startPanel control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::umbraco.uicontrols.Pane startPanel; - - /// - /// startPP control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::umbraco.uicontrols.PropertyPanel startPP; - - /// - /// skinPanel control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::umbraco.uicontrols.Pane skinPanel; - - /// - /// skinPP control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::umbraco.uicontrols.PropertyPanel skinPP; - - /// - /// learn control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::umbraco.uicontrols.Pane learn; - - /// - /// learnPP control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::umbraco.uicontrols.PropertyPanel learnPP; - - /// - /// hidePanel control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::umbraco.uicontrols.Pane hidePanel; - - /// - /// hidePP control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::umbraco.uicontrols.PropertyPanel hidePP; - - /// - /// hideCheckBox control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.CheckBox hideCheckBox; - } -} diff --git a/umbraco/presentation/umbraco/dashboard/StartupDashboardIntro.ascx b/umbraco/presentation/umbraco/dashboard/StartupDashboardIntro.ascx new file mode 100644 index 0000000000..23d505f935 --- /dev/null +++ b/umbraco/presentation/umbraco/dashboard/StartupDashboardIntro.ascx @@ -0,0 +1,24 @@ +<%@ Control Language="C#" AutoEventWireup="true" %> +<%@ Register Namespace="umbraco.uicontrols" Assembly="controls" TagPrefix="umb" %> + + +

Start Here

+

Thank you for choosing Umbraco!

+

+ 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: +

+

Find out more

+
+ Umbraco Start Up! +
+
+ +
\ No newline at end of file diff --git a/umbraco/presentation/umbraco/dashboard/StartupDashboardIntro.ascx.designer.cs b/umbraco/presentation/umbraco/dashboard/StartupDashboardIntro.ascx.designer.cs new file mode 100644 index 0000000000..486df4e421 --- /dev/null +++ b/umbraco/presentation/umbraco/dashboard/StartupDashboardIntro.ascx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace dashboardUtilities { + + + public partial class StartupDashboardIntro { + } +} diff --git a/umbraco/presentation/umbraco/dashboard/StartupDashboardKits.ascx b/umbraco/presentation/umbraco/dashboard/StartupDashboardKits.ascx new file mode 100644 index 0000000000..6771152862 --- /dev/null +++ b/umbraco/presentation/umbraco/dashboard/StartupDashboardKits.ascx @@ -0,0 +1,22 @@ +<%@ Control Language="C#" AutoEventWireup="true" %> +<%@ Register Namespace="umbraco.uicontrols" Assembly="controls" TagPrefix="umb" %> + + +

Make it look great

+

Install a Starter Site and Skin

+

+ 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. +

+

Starter Kits

+
+ Umbraco Starter Kits Rock! +
+
+ +
\ No newline at end of file diff --git a/umbraco/presentation/umbraco/dashboard/StartupDashboardKits.ascx.designer.cs b/umbraco/presentation/umbraco/dashboard/StartupDashboardKits.ascx.designer.cs new file mode 100644 index 0000000000..486df4e421 --- /dev/null +++ b/umbraco/presentation/umbraco/dashboard/StartupDashboardKits.ascx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace dashboardUtilities { + + + public partial class StartupDashboardIntro { + } +} diff --git a/umbraco/presentation/umbraco/dashboard/StartupDashboardVideos.ascx b/umbraco/presentation/umbraco/dashboard/StartupDashboardVideos.ascx new file mode 100644 index 0000000000..034e6c07ab --- /dev/null +++ b/umbraco/presentation/umbraco/dashboard/StartupDashboardVideos.ascx @@ -0,0 +1,115 @@ +<%@ Control Language="C#" AutoEventWireup="true" %> +<%@ Register Namespace="umbraco.uicontrols" Assembly="controls" TagPrefix="umb" %> + + + + + +

Watch and learn

+

+ Want to master Umbraco? Spend a couple of minutes learning some best practices + by watching one of these videos about using Umbraco. And visit umbraco.tv for even more Umbraco videos

+
+ Loading... +
\ No newline at end of file diff --git a/umbraco/presentation/umbraco/dashboard/StartupDashboardVideos.ascx.designer.cs b/umbraco/presentation/umbraco/dashboard/StartupDashboardVideos.ascx.designer.cs new file mode 100644 index 0000000000..01be3f80e1 --- /dev/null +++ b/umbraco/presentation/umbraco/dashboard/StartupDashboardVideos.ascx.designer.cs @@ -0,0 +1,15 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +namespace dashboardUtilities { + + + public partial class StartupDashboardVideos { + } +} diff --git a/umbraco/presentation/umbraco/dashboard/StartupDeveloperDashboard.ascx.cs b/umbraco/presentation/umbraco/dashboard/StartupDeveloperDashboard.ascx.cs deleted file mode 100644 index e5ba6c85c9..0000000000 --- a/umbraco/presentation/umbraco/dashboard/StartupDeveloperDashboard.ascx.cs +++ /dev/null @@ -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 - { - /// - /// Hides the dashboard when checked - /// updates dashboard.config when checked - /// - protected void hideCheckBox_CheckedChanged(object sender, EventArgs e) - { - XmlDocument doc = new XmlDocument(); - doc.LoadXml("" + - ""); - - 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); - } - } - } -} \ No newline at end of file diff --git a/umbraco/presentation/umbraco/dashboard/StartupDeveloperDashboard.ascx.designer.cs b/umbraco/presentation/umbraco/dashboard/StartupDeveloperDashboard.ascx.designer.cs deleted file mode 100644 index 21aad09ad6..0000000000 --- a/umbraco/presentation/umbraco/dashboard/StartupDeveloperDashboard.ascx.designer.cs +++ /dev/null @@ -1,60 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace dashboardUtilities { - - - public partial class StartupDeveloperDashboard { - - /// - /// startPanel control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::umbraco.uicontrols.Pane startPanel; - - /// - /// startPP control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::umbraco.uicontrols.PropertyPanel startPP; - - /// - /// learnPanel control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Panel learnPanel; - - /// - /// hidePanel control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Panel hidePanel; - - /// - /// hideCheckBox control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.CheckBox hideCheckBox; - } -} diff --git a/umbraco/presentation/umbraco/dashboard/StartupMediaDashboard.ascx b/umbraco/presentation/umbraco/dashboard/StartupMediaDashboard.ascx deleted file mode 100644 index 28714b7b3f..0000000000 --- a/umbraco/presentation/umbraco/dashboard/StartupMediaDashboard.ascx +++ /dev/null @@ -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" %> - - - - - - - -

Start here

-

Get started with Media right now

-

- Use the tool below to upload a ZIP file of your images or documents to a media folder. -

-

Follow these steps:

-
- Umbraco Start Up! -
-
-
    -
  • 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
  • -
  • Select the created folder by click the Choose link
  • -
  • 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)
  • -
  • Click the Upload zip file button
  • -
  • Refresh the Media section by right-clicking the Media root folder and selecting Reload Nodes
  • -
-
-
-
- - - -

Upload Files

- <%-- --%> -
-
- - - -

Watch and learn

-

- 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 umbraco.tv for even more Umbraco videos

-
- Loading... -
-
-
- - - -

- Check here to hide this dashboard in the future -

-
-
- - diff --git a/umbraco/presentation/umbraco/dashboard/StartupMediaDashboard.ascx.cs b/umbraco/presentation/umbraco/dashboard/StartupMediaDashboard.ascx.cs deleted file mode 100644 index 145cfca76f..0000000000 --- a/umbraco/presentation/umbraco/dashboard/StartupMediaDashboard.ascx.cs +++ /dev/null @@ -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 - { - - /// - /// Hides the dashboard when checked - /// updates dashboard.config when checked - /// - protected void hideCheckBox_CheckedChanged(object sender, EventArgs e) - { - XmlDocument doc = new XmlDocument(); - doc.LoadXml("" + - ""); - - 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); - } - } - } -} \ No newline at end of file diff --git a/umbraco/presentation/umbraco/dashboard/StartupMediaDashboard.ascx.designer.cs b/umbraco/presentation/umbraco/dashboard/StartupMediaDashboard.ascx.designer.cs deleted file mode 100644 index 1d6c8d3b82..0000000000 --- a/umbraco/presentation/umbraco/dashboard/StartupMediaDashboard.ascx.designer.cs +++ /dev/null @@ -1,96 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace dashboardUtilities { - - - public partial class StartupMediaDashboard { - - /// - /// startPanel control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::umbraco.uicontrols.Pane startPanel; - - /// - /// startPP control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::umbraco.uicontrols.PropertyPanel startPP; - - /// - /// zipUploadPanel control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::umbraco.uicontrols.Pane zipUploadPanel; - - /// - /// zipUploadPP control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::umbraco.uicontrols.PropertyPanel zipUploadPP; - - /// - /// learn control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::umbraco.uicontrols.Pane learn; - - /// - /// learnPP control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::umbraco.uicontrols.PropertyPanel learnPP; - - /// - /// hidePanel control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::umbraco.uicontrols.Pane hidePanel; - - /// - /// hidePP control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::umbraco.uicontrols.PropertyPanel hidePP; - - /// - /// hideCheckBox control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.CheckBox hideCheckBox; - } -} diff --git a/umbraco/presentation/umbraco/dashboard/StartupMemberDashboard.ascx.cs b/umbraco/presentation/umbraco/dashboard/StartupMemberDashboard.ascx.cs deleted file mode 100644 index 1ac88957c4..0000000000 --- a/umbraco/presentation/umbraco/dashboard/StartupMemberDashboard.ascx.cs +++ /dev/null @@ -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 - { - /// - /// Hides the dashboard when checked - /// updates dashboard.config when checked - /// - protected void hideCheckBox_CheckedChanged(object sender, EventArgs e) - { - XmlDocument doc = new XmlDocument(); - doc.LoadXml("" + - ""); - - 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); - } - } - } -} \ No newline at end of file diff --git a/umbraco/presentation/umbraco/dashboard/StartupMemberDashboard.ascx.designer.cs b/umbraco/presentation/umbraco/dashboard/StartupMemberDashboard.ascx.designer.cs deleted file mode 100644 index c2525bb319..0000000000 --- a/umbraco/presentation/umbraco/dashboard/StartupMemberDashboard.ascx.designer.cs +++ /dev/null @@ -1,60 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace dashboardUtilities { - - - public partial class StartupMemberDashboard { - - /// - /// startPanel control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Panel startPanel; - - /// - /// memberSearch1 control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::umbraco.presentation.umbraco.members.MemberSearch memberSearch1; - - /// - /// learnPanel control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Panel learnPanel; - - /// - /// hidePanel control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.Panel hidePanel; - - /// - /// hideCheckBox control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.CheckBox hideCheckBox; - } -} diff --git a/umbraco/presentation/umbraco/dashboard/StartupSettingsDashboard.ascx.cs b/umbraco/presentation/umbraco/dashboard/StartupSettingsDashboard.ascx.cs deleted file mode 100644 index f335f82bc5..0000000000 --- a/umbraco/presentation/umbraco/dashboard/StartupSettingsDashboard.ascx.cs +++ /dev/null @@ -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 - { - /// - /// Hides the dashboard when checked - /// updates dashboard.config when checked - /// - protected void hideCheckBox_CheckedChanged(object sender, EventArgs e) - { - XmlDocument doc = new XmlDocument(); - doc.LoadXml("" + - ""); - - 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); - } - } - } -} \ No newline at end of file diff --git a/umbraco/presentation/umbraco/dashboard/StartupSettingsDashboard.ascx.designer.cs b/umbraco/presentation/umbraco/dashboard/StartupSettingsDashboard.ascx.designer.cs deleted file mode 100644 index ac6758dca2..0000000000 --- a/umbraco/presentation/umbraco/dashboard/StartupSettingsDashboard.ascx.designer.cs +++ /dev/null @@ -1,78 +0,0 @@ -//------------------------------------------------------------------------------ -// -// This code was generated by a tool. -// -// Changes to this file may cause incorrect behavior and will be lost if -// the code is regenerated. -// -//------------------------------------------------------------------------------ - -namespace dashboardUtilities { - - - public partial class StartupSettingsDashboard { - - /// - /// startPanel control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::umbraco.uicontrols.Pane startPanel; - - /// - /// startPP control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::umbraco.uicontrols.PropertyPanel startPP; - - /// - /// learn control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::umbraco.uicontrols.Pane learn; - - /// - /// learnPP control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::umbraco.uicontrols.PropertyPanel learnPP; - - /// - /// hidePanel control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::umbraco.uicontrols.Pane hidePanel; - - /// - /// hidePP control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::umbraco.uicontrols.PropertyPanel hidePP; - - /// - /// hideCheckBox control. - /// - /// - /// Auto-generated field. - /// To modify move field declaration from designer file to code-behind file. - /// - protected global::System.Web.UI.WebControls.CheckBox hideCheckBox; - } -}