Cleans up marketplace project and renames it to uProject
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
using Marketplace.Services;
|
||||
using uProject.Services;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Dynamic;
|
||||
@@ -10,7 +10,7 @@ using System.Web.Http;
|
||||
using Umbraco.Web;
|
||||
using Umbraco.Web.WebApi;
|
||||
|
||||
namespace Marketplace.Api
|
||||
namespace uProject.Api
|
||||
{
|
||||
[MemberAuthorize(AllowType = "member")]
|
||||
public class ProjectContributionController : UmbracoApiController
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Marketplace.Models;
|
||||
using uProject.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -8,7 +8,7 @@ using System.Web;
|
||||
using Umbraco.Web;
|
||||
using Umbraco.Web.WebApi;
|
||||
|
||||
namespace Marketplace.Api
|
||||
namespace uProject.Api
|
||||
{
|
||||
[MemberAuthorize(AllowType = "member")]
|
||||
public class ProjectForumController : UmbracoApiController
|
||||
|
||||
@@ -1,56 +0,0 @@
|
||||
using System;
|
||||
using System.Data;
|
||||
using System.Configuration;
|
||||
using System.Collections.Generic;
|
||||
using System.Web;
|
||||
using System.Linq;
|
||||
using System.Web.Security;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using System.Web.UI.WebControls.WebParts;
|
||||
using System.Web.UI.HtmlControls;
|
||||
using System.Collections.Specialized;
|
||||
using System.Globalization;
|
||||
|
||||
namespace Marketplace.Controls
|
||||
{
|
||||
public class CountryDropDownList : DropDownList
|
||||
{
|
||||
protected override void OnInit(EventArgs e)
|
||||
{
|
||||
base.OnInit(e);
|
||||
GetCountries();
|
||||
|
||||
}
|
||||
|
||||
|
||||
private void GetCountries()
|
||||
{
|
||||
|
||||
Dictionary<string, string> dic = new Dictionary<string, string>();
|
||||
List<string> col = new List<string>();
|
||||
|
||||
foreach (CultureInfo ci in CultureInfo.GetCultures(CultureTypes.SpecificCultures))
|
||||
{
|
||||
|
||||
RegionInfo ri = new RegionInfo(ci.LCID);
|
||||
if (!dic.ContainsKey(ri.EnglishName))
|
||||
dic.Add(ri.EnglishName, ri.TwoLetterISORegionName.ToLowerInvariant());
|
||||
|
||||
if (!col.Contains(ri.EnglishName))
|
||||
col.Add(ri.EnglishName);
|
||||
}
|
||||
|
||||
col.Sort();
|
||||
|
||||
|
||||
|
||||
this.Items.Add(new ListItem("", ""));
|
||||
foreach (var i in dic.OrderBy(x => x.Key))
|
||||
{
|
||||
this.Items.Add(new ListItem(i.Key, i.Value));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,522 +0,0 @@
|
||||
/* THIS STYLESHEET CONTAINS ALL THE THINGS WE'VE ADDED TO THE DESIGN */
|
||||
|
||||
/* adjusting the header if there is no promoted content */
|
||||
|
||||
|
||||
.Class-VideoTutorial h1{display: none !Important;}
|
||||
|
||||
.class-empty #wrapper{padding-top: 150px !Important;}
|
||||
.class-emtpy #header{height: 150px !Important;}
|
||||
|
||||
.class-shopFlow #wrapper{padding-top: 200px !Important;}
|
||||
.class-shopFlow #header{padding-left: 0px; height: 200px !Important;}
|
||||
.class-shopFlow .breadcrumb{display: none !Important;}
|
||||
|
||||
#panes div.tabPanel{display: none;}
|
||||
|
||||
.get-started-table td {vertical-align: top; width: 33%;}
|
||||
.get-started-table li {margin-bottom: 5px;}
|
||||
.get-started-table ul {margin: 0;}
|
||||
td {vertical-align: top;}
|
||||
.no-margin {margin:0;}
|
||||
.boxLeft {
|
||||
float: left;
|
||||
width: 48%
|
||||
}
|
||||
.boxRight {
|
||||
float: right;
|
||||
width: 48%
|
||||
}
|
||||
|
||||
/* SUBMITTED SITES */
|
||||
#tagSelector{height: 130px; display: block; list-style: none;
|
||||
margin-bottom: 20px; padding: 0px;}
|
||||
|
||||
#tagSelector li{float: left; margin: 0px; display: block; width: 180px; padding: 5px;}
|
||||
#tagSelector li a{padding: 3px;}
|
||||
#tagSelector li a.current{font-weight: bold;}
|
||||
#tagSelector li.header{width: 100%; float: none; color: #444444; font-weight: bold; text-size: 12px;}
|
||||
|
||||
#viewToggle{text-align: center; display: block; width: 120px; padding: 6px; border: solid 1px #e7e7e7; text-decoration: none; clear: both; margin-bottom: 20px; }
|
||||
|
||||
#featuredSites{display: block; margin: 0px; padding: 0px;}
|
||||
|
||||
#featuredSites li{display: block; text-align: center; width: 297px; height: 270px; float: left; margin: 0px 10px 14px 0px; padding: 7px;
|
||||
border-top: 1px solid #E7E7E7;
|
||||
border-left: 1px solid #E7E7E7;
|
||||
border-right: 2px solid #E7E7E7;
|
||||
border-bottom: 2px solid #E7E7E7;
|
||||
overflow: hidden
|
||||
}
|
||||
|
||||
#sites.grid{display: block; margin: 0px; padding: 0px;}
|
||||
#sites.grid li{opacity:0.2; display: block; text-align: center; width: 135px; height: 145px; float: left; margin: 0px 20px 20px 0px; padding: 0px;
|
||||
background: #252525; color: #fff;
|
||||
overflow: hidden
|
||||
}
|
||||
|
||||
#sites.grid li.last{margin-right: 0px; clear: right;}
|
||||
#sites.grid li a.thumb{color: #fff; display: block; margin: auto; background: #fff no-repeat top center; width: 136px; padding-top: 101px; height: 1px; overflow: hidden;}
|
||||
#sites.grid li h5{margin-top: 3px; padding: 5px; font-size: 11px; font-weight: normal; color: #fff;}
|
||||
#sites.grid li h5 a{color: #fff;}
|
||||
#sites.grid li p{display: none;}
|
||||
#sites.grid li.show{opacity: 0.99;}
|
||||
|
||||
#sites.list{background: none !Important; display: block; margin: 0px; padding: 0px; width: auto; list-style: none;}
|
||||
|
||||
#sites.list li{background: none !Important; opacity: 0.99 !Important; display: none; border-bottom: 1px solid #ccc; text-align: left;
|
||||
padding: 10px 10px 10px 150px; position: relative; min-height: 90px; height: auto !Important; height: 90px;}
|
||||
|
||||
#sites.list li a.thumb{display: block; border: 1px solid #999; background: no-repeat top center; width: 115px; padding-top: 81px; height: 1px;
|
||||
overflow: hidden; position: absolute; top: 15px; left: 10px;}
|
||||
|
||||
#sites.list li h5{margin: 2px 0px 5px 0px; padding: 2px; font-size: 16px;}
|
||||
|
||||
#sites.list li p{}
|
||||
#sites.list li.show{opacity: 0.99 !Important; display: block;}
|
||||
|
||||
div#showcase{width: 750px; height: 470px; overflow: auto; padding: 5px;}
|
||||
div#showcase div.image{margin: 0px 0px 20px 20px; width: 450px; height: 280px; overflow: hidden; border: 1px solid #ccc; text-align: center;
|
||||
position: absolute; top: 20px; right:0px;
|
||||
}
|
||||
div#showcase h1{float: left; color: #575757; width: 280px;}
|
||||
|
||||
div#showcase div.desc{overflow: auto; position: absolute; bottom: 0px; height: 125px;
|
||||
padding: 7px; border-top: #e7e7e7 1px solid; margin-top: 35px; width: 745px;}
|
||||
|
||||
div#showcase div.desc p{font-size: 12px !Important; line-height: 20px;}
|
||||
|
||||
div#showcase dl{clear: left;}
|
||||
div#showcase dt{font-weight: bold;}
|
||||
div#showcase dd{margin-bottom: 10px;}
|
||||
|
||||
/* FAQ */
|
||||
.faqGroup{list-style: none; margin: 0; padding: 0px;}
|
||||
.faqGroup li{display: block; width: 350px; height: 100px; float: left; margin:0px 20px 30px 0px;}
|
||||
.faqGroup li h3{margin: 5px 0 0 0; padding: 0px;}
|
||||
.faqGroup li p{padding-top: 10px; margin: 0px; }
|
||||
.faqGroup li.alt{float: right; }
|
||||
.faqGroup h3 a{color: #000 !Important; text-decoration: none !Important;}
|
||||
.faqGroup a:hover h3{color: #000; text-decoration: underline !Important;}
|
||||
|
||||
.faqGroupFeatureLink li{display: block; width: 150px; float: left; margin:0px 10px 15px 0px;}
|
||||
.faqGroupFeatureLink a{color: #000 !Important; text-decoration: none !Important;}
|
||||
.faqGroupFeatureLink a:hover{color: #000; text-decoration: underline !Important;}
|
||||
|
||||
/* Partners */
|
||||
|
||||
.solutionProvider img{float: right; margin-top: 10px}
|
||||
.solutionProvider .meta{margin-bottom: 15px}
|
||||
.solutionProvider .meta p{font-size: 13px; margin-bottom: 0px}
|
||||
.solutionProvider{border-bottom: 1px solid #efefef; padding: 10px; margin-bottom: 10px}
|
||||
|
||||
.goldProvider{border: 1px solid #efefef; background: #f7f7f7;}
|
||||
|
||||
/* GOLD PARTNERS */
|
||||
ul.goldPartners, ul.standardPartners{margin: 0px; padding: 0px;}
|
||||
li.partner{display: block; float: left; padding: 10px; margin: 7px; width: 225px; border: 1px solid #efefef}
|
||||
li.partner a, li.partner a *{text-decoration: none !Important; color: #000}
|
||||
li.partner h3{color: #000; font-size: 18px; font-weight: bold; margin: 0px;}
|
||||
|
||||
li.partner span.location{line-height: 15px; display: block; padding: 7px 0px 7px 0px; margin-bottom: 10px; border-bottom: #dbdbdb 1px solid; color: #666 !Important; font-size: 12px;}
|
||||
|
||||
li.partner div.providerLogo{height: 160px; display: block; overflow: hidden;}
|
||||
li.partner span.abstract{border: 1px solid #efefef; line-height: 17px; display: none; font-size: 12px; color: #666; padding: 10px; background: #f9f9f9; height: 138px;}
|
||||
|
||||
ul.goldPartners li.partner a:hover img{display: none;}
|
||||
ul.goldPartners li.partner a:hover span.abstract{display: block;}
|
||||
li.partner a:hover h3{text-decoration: underline !Important;}
|
||||
li.partner img{margin: auto;}
|
||||
|
||||
ul.standardPartners li.partner h3{height: 18px; overflow: hidden}
|
||||
ul.standardPartners li.partner{width: 135px; padding: 3px; margin: 7px;}
|
||||
ul.standardPartners li.partner h3{font-size: 12px;}
|
||||
ul.standardPartners li.partner div.providerLogo{height: 90px;}
|
||||
ul.standardPartners li.partner span.location{line-height: 10px; font-size: 12px;}
|
||||
|
||||
/*Licenses */
|
||||
|
||||
.licenseTable td{padding: 7px; border-bottom: 1px solid #efefef;}
|
||||
.licenseTable{margin-bottom: 30px;}
|
||||
|
||||
|
||||
/* PRODUCTS */
|
||||
div.product{padding-left: 70px; padding-bottom: 20px; background: url(/images/bg-ico2.gif) no-repeat 10px 0px; }
|
||||
|
||||
/* ABOUT US */
|
||||
.class-team img {margin: 0 15px 15px 15px;}
|
||||
|
||||
/* TEST YOUR NEEDS */
|
||||
#test-your-needs-container p {
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
.need-cost {
|
||||
font-weight: bold;
|
||||
margin-bottom: 8px;
|
||||
|
||||
}
|
||||
|
||||
.need-result{
|
||||
padding-left: 60px;
|
||||
background: url(/images/custom/need-result-selected.png) no-repeat;
|
||||
}
|
||||
|
||||
.need-result-summary{
|
||||
padding-left: 60px;
|
||||
}
|
||||
|
||||
.needs-total {
|
||||
font-weight: bold;
|
||||
font-size: 130%;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
.btn-add-to-cart {
|
||||
display:block;
|
||||
text-indent:-9999px;
|
||||
overflow:hidden;
|
||||
background:url(/images/custom/btn-order-inline.png) no-repeat;
|
||||
width:152px;
|
||||
height:50px;
|
||||
margin-top: 25px;
|
||||
}
|
||||
.btn-add-to-cart:hover {
|
||||
background:url(/images/custom/btn-order-inline-hover.png) no-repeat;
|
||||
}
|
||||
|
||||
.btn-calculate-my-price {
|
||||
display:block;
|
||||
text-indent:-9999px;
|
||||
overflow:hidden;
|
||||
background:url(/images/custom/btn-calculate-price.png) no-repeat;
|
||||
width:152px;
|
||||
height:50px;
|
||||
margin-top: 25px;
|
||||
}
|
||||
.btn-calculate-my-price:hover {
|
||||
background:url(/images/custom/btn-calculate-price-hover.png) no-repeat;
|
||||
}
|
||||
|
||||
.test-your-needs-questions{list-style: none; margin-left: 0; padding-left: 0;}
|
||||
.test-your-needs-questions li{display: block; margin: 0; padding: 10px 0;}
|
||||
.test-your-needs-questions input {margin-top: 0px; padding-top: 0px;}
|
||||
.test-your-needs-questions label{padding-left: 5px; font-size: 20px;}
|
||||
#test-your-needs-container h2 {
|
||||
line-height: 125%;
|
||||
}
|
||||
|
||||
|
||||
/* 2 column pages */
|
||||
.two-column .left-column{width: 380px;}
|
||||
.two-column .right-column{width: 380px;}
|
||||
|
||||
.noSidebar .left-column, .noSidebar .right-column{width: 450px;}
|
||||
|
||||
/* 3 column pages */
|
||||
.three-column .left-column{width: 310px; margin: 0px;}
|
||||
.three-column .center-column{width: 310px; float: left; margin: 0px 15px 0px 15px;}
|
||||
.three-column .right-column{width: 310px; margin: 0px;}
|
||||
|
||||
/* SHOP FLOW UL */
|
||||
ul.shop-flow{display: block; list-style: none; height: 50px; padding: 0px; margin: 0px; margin-left: -10px;}
|
||||
ul.shop-flow li{ display: block; padding: 0px; margin: 0px; border-bottom: 3px solid #000; float: left; height: 40px; margin-right: 2px;}
|
||||
ul.shop-flow li span{display: block; padding: 20px;}
|
||||
ul.shop-flow li.active{border-color: #ff6e00;}
|
||||
ul.shop-flow li.done{border-color: #7a7a7a;}
|
||||
|
||||
/* SHOP FLOW BUTTONS */
|
||||
#umbracoFormNavigation a{
|
||||
display: block;
|
||||
width: 93px;
|
||||
height: 22px;
|
||||
padding-top: 6px;
|
||||
font-size: 14px;
|
||||
text-decoration: none;
|
||||
color: white;
|
||||
background: url(/images/custom/btn_sqr_blank.png) no-repeat top left;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Shop flow Checkout */
|
||||
.checkOut #couponCode{display: none;}
|
||||
|
||||
|
||||
/*BREADCRUMB */
|
||||
ul.breadcrumb{z-index: 99; position: relative; list-style: none; margin: 0; padding: 0; margin-bottom: 20px;}
|
||||
ul.breadcrumb li{color: #999 !Important; list-style: none; margin: 0; padding: 0; display: inline;}
|
||||
|
||||
ul.breadcrumb li a{color: #999 !Important;}
|
||||
|
||||
|
||||
/* BIRD */
|
||||
#bird{z-index: 999; position: relative; background: no-repeat url(/images/custom/bird0.gif) bottom left; height: 100px; width: 100px;}
|
||||
|
||||
|
||||
/* EXTRA HEADER BUTTONS */
|
||||
a.support{
|
||||
width:108px;
|
||||
height:108px;
|
||||
text-indent:-9999px;
|
||||
overflow:hidden;
|
||||
float:right;
|
||||
background:url(../images/btn-support.png) no-repeat;
|
||||
}
|
||||
|
||||
a.support:hover{background:url(../images/btn-support-hover.png) no-repeat;}
|
||||
|
||||
|
||||
/* VIDEO PAGE*/
|
||||
div.videoChapter, div.videoChapter *{text-decoration: none !Important; color: #000 !Important;}
|
||||
.video-list a{text-decoration: none !Important; color: #000 !Important; font-weight: normal; font-size: 10px}
|
||||
|
||||
/* New list of videos... */
|
||||
.video-list2{list-style: none; display: block; padding: 0px; marging: 0px;}
|
||||
.video-list2 li{width: 140px; overflow: hidden; display: block; float: left; margin: 7px; height: 145px; background: #252525;}
|
||||
.video-list2 li .image{overflow: hidden; display: block; height: 100px;}
|
||||
|
||||
.video-list2 li a{font-size: 11px; font-weight: normal; line-height: 13px; color: #fff !Important; text-decoration: none !Important; display: block; text-align: center;}
|
||||
.video-list2 li a:hover{text-decoration: underline !Important;}
|
||||
.video-list2 span.text2{display: block; padding: 4px;}
|
||||
.video-list2 span.image{display: block; background: #efefef}
|
||||
|
||||
/*Video Tutorial Page*/
|
||||
#VideoPlayer{margin-top: 0px; border-bottom: 2px solid #000; padding-bottom: 10px; margin-bottom: 20px;}
|
||||
ul#VideoRelatedVideos{height: 555px; overflow: auto; float: right; width: 220px; list-style: none; padding: 0px; margin: 0px; }
|
||||
ul#VideoRelatedVideos li{display: block; border-bottom: 1px solid #efefef; padding: 10px; height: 50px;}
|
||||
ul#VideoRelatedVideos li.header{padding: 0px 10px 0px 10px; height: 25px}
|
||||
ul#VideoRelatedVideos li img{float: left; margin: 0px 10px 10px 0px; border: 1px solid #efefef; background: #fff}
|
||||
ul#VideoRelatedVideos li h5{padding: 0px; font-weight: normal; margin: 0; font-size: 12px; line-height: 16px}
|
||||
ul#VideoRelatedVideos li h3{padding: 0px; margin: 0px; line-height: 20px}
|
||||
ul#VideoRelatedVideos li.playing{background: #efefef;}
|
||||
|
||||
/*Featured video */
|
||||
#tutorialFeature{border-bottom: 2px solid #EFF2F2; padding: 10px; margin-bottom: 10px; color: #666;}
|
||||
#tutorialFeature h2, #tutorialFeature p, #tutorialFeature li{color: #666;}
|
||||
#tutorialFeature a.preview{margin: 10px; margin-right: 35px; width: 350px; height: 190px; float: left; border: 1px solid #666}
|
||||
#tutorialFeature ul{padding: 0px; list-style: none;}
|
||||
#tutorialFeature ul li{padding-left: 20px; display: block; }
|
||||
#tutorialFeature img{margin-bottom: 20px;}
|
||||
|
||||
|
||||
/*developer page */
|
||||
.ajax ul{list-style: none; padding: 0px; margin: 0px; margin-bottom: 4px}
|
||||
.ajax ul li{display: block; padding: 5px; border-bottom: 1px solid #efefef; height: 50px}
|
||||
.ajax ul li small{display: block; padding: 2px; color: #999}
|
||||
.ajax ul li img{width: 48px; height: 48px; float: left; margin: 0px 7px 5px 0px;}
|
||||
|
||||
/* Training */
|
||||
table.reservations{}
|
||||
table.reservations td, table.reservations th{padding: 7px; text-align: left; border-bottom: 1px solid #efefef}
|
||||
table.reservations tbody th{width: 120px;}
|
||||
table.reservations tbody td{padding-right: 10px;}
|
||||
table.reservations tbody input{padding: 2px; width: 200px; font-size: 16px;}
|
||||
|
||||
.center{display: block; padding: 2px; text-align: center}
|
||||
|
||||
.eventList{margin: 0px; padding: 0px; list-style: none;}
|
||||
.eventList li{margin: 0px; padding: 3px; border-bottom: 1px solid #efefef; display: block;}
|
||||
.eventList h4{padding: 0px; margin: 0}
|
||||
.eventList small{ color: #666;}
|
||||
|
||||
/*RELEASES*/
|
||||
.releases-list a{color: black !Important; text-decoration: none !Important;}
|
||||
.releases-list .summary{
|
||||
padding: 10px; background: #efefef; margin: 7px 7px 7px 20px; display: none;
|
||||
}
|
||||
|
||||
|
||||
/* BLOG */
|
||||
|
||||
p.postmetadata{color: #666; margin-bottom: 30px}
|
||||
.post small{color: #666; margin-top: -10px; padding-bottom: 15px; display: block;}
|
||||
|
||||
|
||||
#commentform{
|
||||
padding-left: 10px;
|
||||
padding-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
#commentform #gravatar{
|
||||
float:right;
|
||||
margin-right: 190px;
|
||||
margin-top: 20px;
|
||||
}
|
||||
#commentform label
|
||||
{
|
||||
float:none;
|
||||
}
|
||||
#commentform .form-input{
|
||||
margin-top: 5px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
#commentform .form-input textarea{
|
||||
width: 400px;
|
||||
}
|
||||
#commentform .error{
|
||||
padding:0 0em;
|
||||
}
|
||||
#commentform label.error{
|
||||
border:none;
|
||||
|
||||
padding:0 0.8em;
|
||||
}
|
||||
#commentform label.error {
|
||||
background:#FFF;
|
||||
border-color:#FBC2C4;
|
||||
color:#8A1F11;
|
||||
}
|
||||
|
||||
#commentPosted {
|
||||
border:1px solid #DDDDDD;
|
||||
margin-bottom:0.5em;
|
||||
padding:0 0.8em;
|
||||
padding:10px;
|
||||
}
|
||||
|
||||
#commentPosted {
|
||||
background:#FFF6BF none repeat scroll 0 0;
|
||||
border-color:#FFD324;
|
||||
color:#514721;
|
||||
}
|
||||
|
||||
ol.commentlist{margin-left: 0px; padding: 0px; list-style: none;}
|
||||
|
||||
ol.commentlist li{
|
||||
margin-bottom: 10px;
|
||||
padding: 10px;
|
||||
background: #FAFAFA;
|
||||
}
|
||||
|
||||
|
||||
ol.commentlist li small.commentmetadata{display: block; font-size: 10px; padding-bottom: 5px;}
|
||||
ol.commentlist li small.commentmetadata a{color: #999;}
|
||||
ol.commentlist li img.gravatar{float: right; margin: 0px 0xp 10px 10px; border: 1px solid #ccc; padding: 1px;}
|
||||
|
||||
/* Twitter */
|
||||
#twitterUpdates{padding: 0px; margin: 0px; list-style: none}
|
||||
#twitterUpdates li{display: block; padding: 5px; margin-bottom: 20px;}
|
||||
#twitterUpdates li img{float: left; clear: left; margin: 0px 20px 20px 0px;}
|
||||
|
||||
|
||||
/* SEARCH */
|
||||
.searchResults{list-style: none; padding: 0px; margin: 0px;}
|
||||
.searchResults li{display: block; padding-left: 60px; background: url(/images/custom/search_text.gif) no-repeat 15px 7px;}
|
||||
|
||||
|
||||
.searchResults li.videochapter, .searchResults li.videotutorial{background-image: url(/images/custom/search_video.gif);}
|
||||
.searchResults li.umbracoblogpost{background-image: url(/images/custom/search_blog.gif);}
|
||||
.searchResults li small{color: #666; display: block; font-size: 11px}
|
||||
.searchResults li h3{margin-bottom: 2px;}
|
||||
.searchResults li p{margin-top: 2px;}
|
||||
|
||||
/* Paypal redirect */
|
||||
body.redirecting{
|
||||
margin-top: 100px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
body.redirecting h1{display: block !Important; font-size: 22px}
|
||||
body.redirecting div{
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
width: 600px;
|
||||
padding: 30px;
|
||||
|
||||
font-size: 18px;
|
||||
color: #666;
|
||||
background-color: #fff;
|
||||
border: 5px solid #CCDDFF
|
||||
}
|
||||
|
||||
|
||||
/* -- 23Videos (List for 23videos - used on CG11 ticket page) -- */
|
||||
#video23List { margin:0; padding:0; }
|
||||
#video23List li { display:inline-block; height:140px; list-style-type:none; margin:0 2px; overflow:hidden; position:relative; width:170px;}
|
||||
#video23List li a { color:#fff; display:block; text-decoration:none; }
|
||||
#video23List li img { position:absolute; z-index:10; }
|
||||
#video23List li span { background:#000; background:rgba(0,0,0,0.8); bottom:0; color:#fff; font-size:11px; height:30px; /*40-5-5=30*/ line-height:12px; padding:5px; position:absolute; width:160px; /*170-5-5=160*/ z-index:11; }
|
||||
|
||||
/* -- Image Cover for Convince your boss pdf -- */
|
||||
.convinceCover { -moz-box-shadow:1px 1px 5px #666; -o-box-shadow:1px 1px 5px #666; -webkit-box-shadow:1px 1px 5px #666; box-shadow:1px 1px 5px #666; float:left; margin-right:20px; }
|
||||
|
||||
/* -- CodeGarden homepage panel & button text --*/
|
||||
.tabset li a span.codegarden { background:url(../images/custom/text-codegarden-panel-label.png) no-repeat 0 0; width:92px; }
|
||||
.promo-box .cyan-alt .container { background:url(../images/custom/bg-container-cyan-alt.jpg) no-repeat scroll 50% 0 transparent; }
|
||||
.cgPanelHeader { background:url(../images/custom/text-codegarden-panel-header.png) no-repeat; height:89px; overflow:hidden; text-indent:-9999px; width:459px;}
|
||||
.cgPanelText { width:470px; }
|
||||
.cgBuyTicketBtn { background:url(../images/custom/btn_get-your-ticket.png) no-repeat 0 0; cursor: pointer; float: right; height: 108px; margin:20px 0 0 15px; overflow: hidden; text-indent: -9999px; width: 108px; }
|
||||
.cgBuyTicketBtn:hover { background-position:0 -108px; }
|
||||
|
||||
|
||||
|
||||
/* -- Nivio Slider styles --*/
|
||||
#slider {
|
||||
position:relative;
|
||||
width:692px;
|
||||
height:461px;
|
||||
background:url(../images/nivio-slider-2.4/loading.gif) no-repeat 50% 50%;
|
||||
/*margin-bottom:50px;*/
|
||||
}
|
||||
#slider img {
|
||||
position:absolute;
|
||||
top:0px;
|
||||
left:0px;
|
||||
display:none;
|
||||
}
|
||||
#slider a {
|
||||
border:0;
|
||||
display:block;
|
||||
}
|
||||
|
||||
.nivo-controlNav {
|
||||
position:absolute;
|
||||
left:260px;
|
||||
bottom:-42px;
|
||||
}
|
||||
.nivo-controlNav a {
|
||||
display:block;
|
||||
width:22px;
|
||||
height:22px;
|
||||
background:url(../images/nivio-slider-2.4/bullets.png) no-repeat;
|
||||
text-indent:-9999px;
|
||||
border:0;
|
||||
margin-right:3px;
|
||||
float:left;
|
||||
}
|
||||
.nivo-controlNav a.active {
|
||||
background-position:0 -22px;
|
||||
}
|
||||
|
||||
.nivo-directionNav a {
|
||||
display:block;
|
||||
width:30px;
|
||||
height:30px;
|
||||
background:url(../images/nivio-slider-2.4/arrows.png) no-repeat;
|
||||
text-indent:-9999px;
|
||||
border:0;
|
||||
}
|
||||
a.nivo-nextNav {
|
||||
background-position:-30px 0;
|
||||
right:15px;
|
||||
}
|
||||
a.nivo-prevNav {
|
||||
left:15px;
|
||||
}
|
||||
|
||||
.nivo-caption
|
||||
{
|
||||
color:#fff;
|
||||
}
|
||||
|
||||
.nivo-caption p { color:#fff; }
|
||||
|
||||
.nivo-caption a {
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* EDITOR PROPERTIES - PLEASE DON'T DELETE THIS LINE TO AVOID DUPLICATE PROPERTIES */
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,39 +0,0 @@
|
||||
.dataTable
|
||||
{
|
||||
width:100% !important;
|
||||
table-layout: auto;
|
||||
border-collapse: collapse;
|
||||
border:#ccc 1px solid;
|
||||
}
|
||||
/*Header and Pager styles*/
|
||||
.dataTable thead tr
|
||||
{
|
||||
background-image: url(../images/HeaderWhiteChrome.jpg);
|
||||
background-position:center;
|
||||
background-repeat:repeat-x;
|
||||
background-color:#fff;
|
||||
border-bottom:solid 1px #ccc;
|
||||
}
|
||||
.dataTable th
|
||||
{
|
||||
padding: 5px;
|
||||
color: #333;
|
||||
text-align:left;
|
||||
}
|
||||
|
||||
|
||||
/*RowStyles*/
|
||||
.dataTable td
|
||||
{
|
||||
padding: 5px;
|
||||
border-right: solid 1px #ccc;
|
||||
}
|
||||
|
||||
.dataTable .borderTop
|
||||
{
|
||||
border-bottom: solid 1px #ccc;
|
||||
}
|
||||
|
||||
.dataTable .right{
|
||||
text-align:right;
|
||||
}
|
||||
@@ -1,761 +0,0 @@
|
||||
/*OVERALL LAYOUT*/
|
||||
html, body{padding: 0px; margin: 0px; border: none; height: 100%;}
|
||||
body{font-size: 12px; background: #f5f5f5 url(img/body_bg.gif) repeat-y top center;
|
||||
font-family: Trebuchet MS,Arial,sans-serif; color: #2d2c2e; padding-bottom: 0px;}
|
||||
|
||||
body#tinymce{background-image: none !Important; text-align: left !Important; padding: 10px !Important;}
|
||||
|
||||
#main{text-align: center;
|
||||
min-height: 100%; height: auto !Important; height: 100%;
|
||||
}
|
||||
|
||||
.wrapper, #contentArea{margin: auto; text-align: center; width: 980px; position: relative}
|
||||
.divider{padding: 5px; border-bottom: 1px #999 dotted; clear: both; margin-bottom: 10px;}
|
||||
|
||||
#body, .subpage{text-align: left; }
|
||||
body a{color: #2244BB }
|
||||
|
||||
/*TOP + TOPNavi */
|
||||
#top{
|
||||
background: url(img/top_bg_green2.gif) repeat-x top #8ECA56;
|
||||
position:relative; margin-bottom: 0px; height: 83px;}
|
||||
|
||||
#top #memberInfo{background: #82b84f; height: 20px; padding: 5px;}
|
||||
|
||||
#top a#logo{display: block; top: 9px; left: 0px; padding: 36px 161px 0px 0px; width: 1px; height: 1px; overflow: hidden;
|
||||
background: url(img/top_logo.png) no-repeat left top; position: absolute;
|
||||
}
|
||||
|
||||
#top ul{float: right; list-style: none; margin: 12px 0 0 18px; padding: 0px; height: 29px; display: block;}
|
||||
#top ul li{display: block; float: left; padding: 0; padding-left: 5px; height: 29px;}
|
||||
|
||||
#top ul li a{
|
||||
color:#FFFFFF; display:block;
|
||||
font-size:1.2em; font-variant:normal; font-weight:bold;
|
||||
padding: 7px; text-decoration: none; height: 27px}
|
||||
|
||||
|
||||
#top ul li a:hover{text-decoration: underline;}
|
||||
#top ul li.current a{background: url(img/top_nav_a_bg.png) no-repeat bottom center;}
|
||||
|
||||
#top #memberHeaderProfile{position: absolute; top: 5px; right: 7px; font-size: 11px; color: #fff; text-align: right; width: 700px;}
|
||||
#top #memberHeaderProfile a{color: #fff; margin-left: 5px;}
|
||||
#top #memberHeaderProfile div{display: inline !Important;}
|
||||
|
||||
|
||||
#searchBar{background: #f4f4f2; border-bottom: 1px solid #dadad9; position: relative; padding: 0px; font-weight: bold; padding: 5px;}
|
||||
#searchBar input.field{clear: both; margin: 0px; font-size: 1.3em; border: 1px solid #ccc; background: #fff; width: 260px}
|
||||
#searchBar #bt_search{position: absolute; right: 0px; margin: 0px; font-size: 1.3em;}
|
||||
|
||||
#searchBar .ui{text-align: left; width: 350px; position: relative; margin: auto;}
|
||||
|
||||
#searchBarOptions{display: none; padding-top: 10px;}
|
||||
#searchBarOptions label{padding-right: 15px; padding-left 5px;}
|
||||
|
||||
/* Box Elemenet */
|
||||
.box {
|
||||
background:#F6F7F7;
|
||||
border:1px solid #F2F2F2;
|
||||
display:block;
|
||||
list-style-image:none;
|
||||
list-style-position:outside;
|
||||
list-style-type:none;
|
||||
margin:0 0 20px;
|
||||
padding:0 0 6px;}
|
||||
|
||||
.box h4{color:#444444; font-size:12px; font-weight:bold; line-height:12px; padding: 10px !Important; background: #F0F2F2;
|
||||
margin-top: 0px; margin-bottom: 0px; position: relative;
|
||||
}
|
||||
|
||||
.rounded{
|
||||
-webkit-border-radius: 10px; /* Safari prototype */
|
||||
-moz-border-radius: 10px; /* Gecko browsers */
|
||||
border-radius: 10px; /* Everything else - limited support at the moment */
|
||||
}
|
||||
|
||||
.infoBox{padding: 7px 7px 7px 50px; height: auto !Important; min-height: 35px; height: 35px; background: #DDF8CC no-repeat 10px 7px; font-size: 11px;}
|
||||
#forumTools{position: absolute; top: 5px; right: 0px; width: 270px; background-image: url(img/icons/info.png); }
|
||||
#projectsInfo{position: absolute; top: 5px; right: 0px; width: 270px; background-image: url(img/icons/add.png); }
|
||||
#newTopic{position: absolute; top: 5px; right: 0px; width: 270px; background-image: url(img/icons/add.png); }
|
||||
#solutionBox{position: absolute; top: 5px; right: 0px; width: 270px; background-image: url(img/icons/add.png); }
|
||||
|
||||
.infoBox ul{list-style: none; margin: 0px; padding: 0px;}
|
||||
.infoBox ul li{padding: 0px 0px 3px 0px;}
|
||||
.infoBox a{padding: 2px; font-size: 12px;}
|
||||
.infoBox small{color: #999; display: block; padding-top: 2px;}
|
||||
|
||||
div.buttons{padding: 20px; background: #F0F2F2; font-size: 18px;}
|
||||
|
||||
a.button{padding: 10px 0px 10px 0px; border: 1px solid #EFEFEF; text-decoration: none;}
|
||||
a.button em{border: 5px solid #fff; padding: 5px; color: #fff; background: #F5366D; }
|
||||
|
||||
/*Breadcrumb*/
|
||||
#breadcrumb{margin: 0px; margin-top: -10px !Important; padding: 4px; list-style: none; font-size: 10px; color: #999; display: block; margin-bottom: 10px;}
|
||||
#breadcrumb li{display: inline; padding-right: 5px; margin: 0px;}
|
||||
#breadcrumb li a{color: #999; padding-right: 3px;}
|
||||
|
||||
|
||||
/*Footer*/
|
||||
.push{height: 60px; clear: both;}
|
||||
#footer{font-size: 10px; background: #252525; color: #fff; padding: 20px; height: 19px; text-align: center;
|
||||
border-top: 1px dotted #999; margin-top: -60px; clear: both; position: relative;}
|
||||
|
||||
#footer a{color: #fff !Important}
|
||||
|
||||
/* FORM ELEMENTS */
|
||||
label.inputLabel {font-weight:bold; width: 10em; display: block; float: left; padding: 1.5em 1.5em 1em 0; text-align: right; }
|
||||
|
||||
fieldset {padding:0em;margin:1.5em 0 0 0;border:none; border-bottom:1px solid #ccc;}
|
||||
fieldset small{display: block;}
|
||||
legend {font-weight:bold;font-size:1.2em;}
|
||||
input.text, input.title, textarea, select {margin:0.5em 0;border:1px solid #bbb;}
|
||||
input.text:focus, input.title:focus, textarea:focus, select:focus {border:1px solid #666;}
|
||||
input.text, input.title, select.title {width:300px;padding:5px;}
|
||||
input.title, select.title {font-size:1.5em;}
|
||||
|
||||
.buttons input{font-size: 18px;}
|
||||
|
||||
textarea {width:300px;height:250px;padding:5px;}
|
||||
.error, .notice, .success, .focus {padding:.2em;margin-bottom:1em;border:2px solid #ddd;}
|
||||
.error {background:#FBE3E4 !Important;color:#8a1f11;border-color:#FBC2C4 !Important;}
|
||||
.notice {background:#FFF6BF;color:#514721;border-color:#FFD324;}
|
||||
.success {background:#E6EFC2;color:#264409;border-color:#C6D880;}
|
||||
|
||||
.error * {color:#8a1f11 !Important;}
|
||||
.notice * {color:#514721;}
|
||||
.success * {color:#264409;}
|
||||
|
||||
.focus{border: none; border-top: 1px solid; border-bottom: 1px solid; border-color: #999; background: #F0F0F0;}
|
||||
|
||||
.spotlight{padding: 0px; margin-bottom: 20px; border: none; background: none;}
|
||||
.spotlight h3, .spotlight h4, .spotlight h2{position: relative; font-size: 14px; margin-bottom: 0px; margin-top: 0px; color: #333; border-bottom: 3px solid #efefef; padding-bottom: 4px;}
|
||||
.spotlight h2{font-size: 18px;}
|
||||
|
||||
.spotlight ul{list-style: none; margin: 0px; padding-left: 10px;}
|
||||
.spotlight ul.pager{padding-left: 0px;}
|
||||
.spotlight li{padding: 3px;}
|
||||
.spotlight a{font-size: 12px;}
|
||||
|
||||
.spotlight ul.summary{padding: 5px 0px;}
|
||||
.spotlight ul.summary li{padding-bottom: 12px !Important; border: none !Important}
|
||||
.spotlight a.rss_small{top: 3px;}
|
||||
|
||||
dt{font-style: italic;}
|
||||
dd{padding-bottom: 5px;}
|
||||
label.error, label.notice, label.success {background: none; border: none; padding-left: 1em;}
|
||||
|
||||
input.wikiheadline{display: block; background: white; border: 1px solid #DEE4EF; color: #46484B; width: 100%;}
|
||||
|
||||
/* SEARCH RESULTS */
|
||||
#search .result{padding: 10px 10px 25px 80px; background: 20px 10px no-repeat url(search/forum.gif);}
|
||||
|
||||
#search .result h3{padding: 0px; font-weight: normal; margin: 0px;}
|
||||
#search .result h3 a{font-size: 14px; font-weight: bold; display: block; color: #333; text-decoration: none;}
|
||||
#search .result a:hover{text-decoration: underline;}
|
||||
|
||||
#search .result a *{color: inherit}
|
||||
#search .result p{color: #000; font-size: 12px; padding: 0px; margin: 0px;}
|
||||
#search .result cite{color: #666; font-size: 11px;}
|
||||
#search .result em{font-weight: bold !Important;}
|
||||
|
||||
#search .wiki{background-image: url(search/wiki.gif);}
|
||||
#search .project{background-image: url(search/project.gif);}
|
||||
#search .forum{background-image: url(search/forum.gif);}
|
||||
#search .solution{background-image: url(search/solved.gif);}
|
||||
|
||||
/* Member Badge */
|
||||
div.memberBadge{background: #f0f0f0; padding: 10px 0px 10px 0px; text-align: center;}
|
||||
div.memberBadge *{color: #333;}
|
||||
div.memberBadge img{display: block; margin: auto; border: 1px solid #999;}
|
||||
div.memberBadge span{padding-top: 8px; display: block; font-weight: bold; font-size: 12px}
|
||||
div.memberBadge small{display: block; font-weight: normal; margin-top: -6px; color: #999}
|
||||
|
||||
/* FRONTPAGE */
|
||||
#dashboard{width: 980px; position: relative}
|
||||
#sidebar{text-align: left; width: 300px; float: right; margin:20px 0px 20px 0px;}
|
||||
|
||||
.callToAction h1{font-size: 20px;}
|
||||
.callToAction p{font-size: 12px;}
|
||||
.callToAction h1 a{color: #066808; text-decoration: none;}
|
||||
|
||||
ul.summary{list-style: none; padding: 7px; margin: 0px; }
|
||||
ul.summary li{display: block; border-bottom: #e7e7e7 1px dotted; padding: 3px;}
|
||||
ul.summary li a{display: block; font-size: 11px;}
|
||||
ul.summary li small a{display: inline;}
|
||||
|
||||
ul.summary img{float: left; height: 32px; width: 32px; margin-right: 10px; overflow: hidden; font-size: 1px;}
|
||||
ul.forumTopics li{height: auto !Important; height: 37px; min-height: 37px;}
|
||||
|
||||
ul.wiki li{padding-left: 42px; background: url(img/doc.png) no-repeat left top;}
|
||||
ul.projects li{padding-left: 42px; background: url(img/package.png) no-repeat left top;}
|
||||
|
||||
a.rss_small{font-size: 9px; position: absolute; right: 10px; top: 8px; font-weight: normal; display: block;
|
||||
padding: 14px 14px 0px 0px; overflow: hidden; height: 0px; width: 0px; background: url(img/rss.png) no-repeat top left;
|
||||
}
|
||||
|
||||
a.more{display: block; font-size: 11px; color: #999; text-align: center}
|
||||
|
||||
/* PROJECTS */
|
||||
a.projectDownload{background: #ddf8cc url(img/down.png) no-repeat 5px 10px; padding: 10px 10px 10px 50px; display: block; margin-bottom: 10px; text-decoration: none;}
|
||||
a.projectDownload span{color: #999; text-decoration: none !Important; display: block; font-size: 80%;}
|
||||
|
||||
a.projectPurchase{background: #cce2f8 url(img/piggybank.png) no-repeat 5px 10px; padding: 10px 10px 10px 50px; display: block; margin-bottom: 10px; text-decoration: none;}
|
||||
a.projectPurchase span{color: #999; text-decoration: none !Important; display: block; font-size: 80%;}
|
||||
|
||||
.openForCollab{background: #cce2f8 url(img/group.png) no-repeat 5px 10px; padding: 10px 10px 10px 50px; display: block; margin-bottom: 10px; text-decoration: none;}
|
||||
.openForCollab span{color: #999; text-decoration: none !Important; display: block; font-size: 80%;}
|
||||
|
||||
|
||||
.projectGroups{margin: 0; padding: 0; list-style: none;}
|
||||
.projectGroups li{margin: 0; float: left;}
|
||||
.projectGroups li div{width: 380px; margin: 15px; margin-right: 30px; background: top left no-repeat; padding-left: 50px; height: 80px}
|
||||
|
||||
.projectGroups h3{padding: 0px; font-weight: normal; margin: 0px;}
|
||||
.projectGroups h3 a{font-size: 14px; font-weight: bold; display: block; color: #333; text-decoration: none;}
|
||||
.projectGroups a:hover{text-decoration: underline;}
|
||||
|
||||
.projectGroups a *{color: inherit}
|
||||
.projectGroups p{color: #000; font-size: 12px; padding: 0px; margin: 0px;}
|
||||
|
||||
|
||||
/* Options */
|
||||
#body .options{text-align: right; padding: 4px; font-size: 11px; margin-top:0px; margin-bottom: 10px;}
|
||||
/*#body .options ul{list-style: none; margin: 0px; padding: 0px; display: block; height: 25px;}
|
||||
#body .options ul li{float: left; padding-right: 15px;}
|
||||
#body .options ul li a{font-size: 11px;}*/
|
||||
|
||||
|
||||
#body .options ul li.create{float: right!important;}
|
||||
|
||||
|
||||
dl.summary{padding: 7px; font-size: 11px;}
|
||||
|
||||
|
||||
#divFileProgressContainer{width: 300px; margin-top: 10px;}
|
||||
#divFileProgressContainer .progressContainer{border: 1px solid #ccc; padding: 3px;}
|
||||
#divFileProgressContainer .progressBarStatus{font-size: 10px; color: #999; }
|
||||
#divFileProgressContainer .progressBarInProgress{background: green; height: 2px; overflow: hidden;}
|
||||
|
||||
|
||||
|
||||
/* Member Profile */
|
||||
#profileNavigation{background: #F0F0F0; padding: 10px; border-bottom: 1px solid #ccc}
|
||||
#profileNavigation #memberInfo{height: 70px; float: right; width: 300px; background: no-repeat right top; text-align: right; padding-right: 10px;}
|
||||
#profileNavigation #memberInfo h3{color: #999; font-size: 18px; margin-bottom: 0px; margin-top: 5px;}
|
||||
#profileNavigation #memberInfo h4{color: #999; font-size: 13px; margin: 0px;}
|
||||
#profileNavigation #memberAvatar {float: right;}
|
||||
#profileNavigation #memberAvatar img {height: 50px;}
|
||||
#profileNavigation ul{padding: 17px; display: block; list-style: none; margin: 0px; font-size: 13px; font-weight: bold; color: #999;}
|
||||
#profileNavigation ul li{display: inline;}
|
||||
#profileNavigation ul a{padding: 10px;}
|
||||
|
||||
#memberProfile #avatar{float: left; margin: 20px 25px 0px 0px; width: 55px}
|
||||
#memberProfile #details{float: left; width: 800px;}
|
||||
#memberProfile .badge{margin: auto; margin-top: 10px;}
|
||||
|
||||
.yourProjects
|
||||
{
|
||||
list-style-type:none;
|
||||
margin-left:0;
|
||||
}
|
||||
|
||||
.yourProjects .projectImage
|
||||
{
|
||||
float:left;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.yourProjects .projectActions
|
||||
{
|
||||
float:left;
|
||||
}
|
||||
.yourProjects h2
|
||||
{
|
||||
font-weight: normal;
|
||||
}
|
||||
.yourProjects p a
|
||||
{
|
||||
color: #999999;
|
||||
}
|
||||
|
||||
/* Buddy Icon Form */
|
||||
#buddyIconForm {padding: 10px; display: block;}
|
||||
#buddyIconForm .iconOption{width: 320px; display: block; text-align: center; float: left; font-size: 18px; font-weight: bold; color: #999;}
|
||||
#buddyIconForm .iconOption img{display: block; margin: auto; border: none;}
|
||||
|
||||
#webcamHolder{width: 320px; float: right; margin: 0px 0px 20px 20px;}
|
||||
|
||||
/* VOTING */
|
||||
.voting{text-align: center; background: #FFF6BF; border: 2px solid #FFD324; padding: 10px 0px 10px 0px;}
|
||||
.voting span{font-size: 25px; font-weight: bold;
|
||||
color: #514721; display: block; text-align: center; margin-bottom: 7px;}
|
||||
.voting span a{color: #514721; text-decoration: none; border-bottom: 1px dotted #999}
|
||||
|
||||
.voting a.vote, .voting a.noVote{border: 1px solid #eacf5c; background: #fff; color: #514721; padding: 2px; font-size: 9px; text-decoration: none;}
|
||||
.voting a.noVote{border: 1px solid #eacf5c; background: #FFF6BF; color: #eacf5c;}
|
||||
|
||||
|
||||
.voting span.good a{color: green;}
|
||||
.voting span.bad a{color: red;}
|
||||
|
||||
.voting a img{border: none;}
|
||||
.voting .like, .voting .dislike, .voting .kill{font-size: 11px; color: #066808;}
|
||||
|
||||
.voting .TopicSolver{border: 1px solid #066808; padding: 2px; display: block; margin-top: 3px }
|
||||
|
||||
#moveList{ z-index: 99999; text-align: right; display: none; margin: 7px 0px 0px 20px; padding: 7px; border: 1px solid #ccc; background: #fff; position: absolute; width: 250px;}
|
||||
#moveList li{text-align: left !Important; padding: 0px; list-style: none; display: block !Important; float: none !Important;}
|
||||
#moveList li a{padding: 3px; display: block !Important; float: none;}
|
||||
|
||||
.voting .kill, .voting #ToggleMoveList{background: #fff !Important; color: #680708; border: 1px solid #680708; padding: 3px; display: block; font-size: 11px; margin-top: 10px;}
|
||||
#ToggleMoveList{border-color: #ccc !Important; color: blue !Important;}
|
||||
|
||||
|
||||
|
||||
|
||||
/* Pager */
|
||||
.pager{margin: 0px; padding: 10px 0px 0px 0px; list-style: none;}
|
||||
.pager li{display: block; padding-right: 2px; margin: 0px; margin-bottom: 9px;float:left;}
|
||||
.pager li a{font-size: 11px; padding: 3px 6px; border: 1px solid #ccc; text-decoration: none;}
|
||||
.pager li.current a{border: none;}
|
||||
.pager li a:hover{color: white; background: #2244BB;}
|
||||
.pager li.current a{font-weight: bold;}
|
||||
|
||||
#memberLoader span, #memberLoader_weeks span, #memberLoader_year span{display: block; background: url(img/ajax-loadercircle.gif) no-repeat center left;
|
||||
font-size: 11px; color: #999; margin: 10px; padding: 5px 30px 10px 40px; width: 200px;}
|
||||
|
||||
/* Member Locator */
|
||||
|
||||
|
||||
#memlocresults{
|
||||
margin-top: 10px;
|
||||
}
|
||||
#memlocradius{
|
||||
width: 470px;
|
||||
|
||||
}
|
||||
#memlocslider{
|
||||
float:right;
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
/* SIMPLE MODAL */
|
||||
#simplemodal-container{background:#FFF6BF; color:#514721; width: 520px; border: 4px solid #FFD324; padding: 20px;}
|
||||
#simplemodal-container h3, #simplemodal-container p{color:#514721; margin: 0px; padding: 0px;}
|
||||
#simplemodal-container h3{font-size: 20px}
|
||||
#simplemodal-container textarea{display: block; padding: 5px; width: 510px; height: 50px;}
|
||||
#modalCloseButton{position: absolute; top: 10px; right: 10px; color: #514721; font-size: 11px;}
|
||||
|
||||
/* Voting history */
|
||||
ul.votingHistory{display: block; padding: 5px; margin: 0px; margin-bottom: 10px; list-style: none; overflow: auto; height: 400px;}
|
||||
ul.votingHistory li{display: block; padding: 10px 10px 10px 35px; margin: 0px; border-top: 1px dotted #ccc; font-size: 11px; background: 5px 12px no-repeat;}
|
||||
|
||||
ul.votingHistory li.up{background-image: url(img/icons/thumb_up.png); color: #118B00}
|
||||
ul.votingHistory li.down{background-image: url(img/icons/thumb_down.png); color: #8B0006}
|
||||
|
||||
|
||||
/* NOTIFICATION BANNER */
|
||||
#notification{text-align: center; background:#FFF6BF; color:#514721; font-size: 14px; font-weight: bold;
|
||||
border-bottom: 1px solid #FFD324; padding: 10px;
|
||||
|
||||
}
|
||||
|
||||
/*Project Tagger*/
|
||||
.tagger { float:left; }
|
||||
.tagAdd { margin:0 0 0 6px;}
|
||||
.tagList { list-style:none; padding:0; margin:0; clear:both; border-left:3px solid #ddd; padding-left:4px; float:left; margin:5px 10px;}
|
||||
.tagName { cursor:pointer; float:left; clear:both; padding:0.1em 1.5em 0.1em 0.4em;}
|
||||
.tagName:hover { background:#efefef url(img/bullet_toggle_minus.png) right 2px no-repeat; }
|
||||
|
||||
|
||||
|
||||
/* TAGGER AUTOCOMPLETE */
|
||||
.ac_results {
|
||||
padding: 0px;
|
||||
border: 1px solid black;
|
||||
background-color: white;
|
||||
overflow: hidden;
|
||||
z-index: 99999;
|
||||
}
|
||||
|
||||
.ac_results ul {
|
||||
width: 100%;
|
||||
list-style-position: outside;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.ac_results li {
|
||||
margin: 0px;
|
||||
padding: 2px 5px;
|
||||
cursor: default;
|
||||
display: block;
|
||||
/*
|
||||
if width will be 100% horizontal scrollbar will apear
|
||||
when scroll mode will be used
|
||||
*/
|
||||
/*width: 100%;*/
|
||||
font: menu;
|
||||
font-size: 12px;
|
||||
/*
|
||||
it is very important, if line-height not setted or setted
|
||||
in relative units scroll will be broken in firefox
|
||||
*/
|
||||
line-height: 16px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.ac_loading {
|
||||
background: white url('img/indicator.gif') right center no-repeat;
|
||||
}
|
||||
|
||||
.ac_odd {
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
.ac_over {
|
||||
background-color: #0A246A;
|
||||
color: white;
|
||||
}
|
||||
|
||||
/*TAGCLOUD*/
|
||||
#tagCloud
|
||||
{
|
||||
margin-top: 10px;
|
||||
padding:10px;
|
||||
margin-bottom:10px;
|
||||
text-align:justify;
|
||||
}
|
||||
|
||||
#tagCloud A
|
||||
{
|
||||
text-decoration:none;
|
||||
margin-left:5px;
|
||||
margin-right:5px;
|
||||
font-family:Verdana, Arial;
|
||||
text-transform:lowercase;
|
||||
color: #8a8a8a;
|
||||
}
|
||||
|
||||
#tagCloud A:hover, #tagCloud a.current
|
||||
{
|
||||
color:#000;
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
#tagCloud A.weight1
|
||||
{
|
||||
font-size: 2em;
|
||||
font-weight:bolder;
|
||||
}
|
||||
#tagCloud A.weight2
|
||||
{
|
||||
font-size:1.7em;
|
||||
font-weight:bolder;
|
||||
}
|
||||
#tagCloud A.weight3
|
||||
{
|
||||
font-size: 1.4em;
|
||||
font-weight:bolder;
|
||||
}
|
||||
#tagCloud A.weight4
|
||||
{
|
||||
|
||||
font-size: 1.1em;
|
||||
}
|
||||
#tagCloud A.weight5
|
||||
{
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
#tagCloud span
|
||||
{
|
||||
font-size: 10px !Important;
|
||||
color: #595a5a!Important;
|
||||
font-weight: normal !Important;
|
||||
}
|
||||
|
||||
.spotlight ul.projectsTagged li{border-bottom:1px solid #EFEFEF !important;}
|
||||
ul.projectsTagged li h5 a, .projectsTagged h5{text-decoration: none; font-weight: bold; font-size: 14px; margin-bottom: 0px; margin-top: 10px; color: #000;}
|
||||
ul.projectsTagged li h5 a:hover{text-decoration: underline;}
|
||||
|
||||
|
||||
.projectsTagged p{#search .result p{color: #000; font-size: 12px; padding: 0px; margin: 0px;}}
|
||||
|
||||
.hLabel{
|
||||
font-size: 10px;
|
||||
color: #adc251;
|
||||
}
|
||||
|
||||
/* Project Page */
|
||||
#project{position: relative;}
|
||||
#projectOwner{float: left; width: 55px; text-align: center; margin: 10px 20px 0px 0px;}
|
||||
#projectDescription{float: left;}
|
||||
|
||||
#projectvoting{position: absolute; top: 10px; right: 0px;}
|
||||
#project .options{border-top: #efefef 1px solid; font-size: 11px; padding: 2px 0px 25px 0px; margin-right: 80px }
|
||||
#project .badge{margin: auto; margin-top: 10px;}
|
||||
|
||||
/* Project Screenshots */
|
||||
.projectscreenshot{
|
||||
display:block;
|
||||
float:left;
|
||||
padding:10px;
|
||||
background-color: #F6F7F7;
|
||||
margin-right: 5px;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.projectscreenshot:hover{
|
||||
background-color: #F0F2F2;
|
||||
}
|
||||
|
||||
a.badge{display: block; background: no-repeat center center; width: 40px; height: 40px; text-decoration: none; border: none; overflow: hidden; text-indent: -9999px;}
|
||||
a.mvp{background-image: url(badges/mvp.png);}
|
||||
a.core{background-image: url(badges/core.png);}
|
||||
a.hq{background-image: url(badges/hq.png);}
|
||||
a.vendor{background-image: url(badges/vendor.png);}
|
||||
a.admin{background-image: url(badges/admin.png);}
|
||||
a.mvpcandidate {background-image: url(badges/mvp_nominee.png);}
|
||||
|
||||
/* Options */
|
||||
#options{display: block; height: 20px; padding: 5px; border-top: #efefef 1px solid; margin: 10px 0 0px 0;}
|
||||
#options ul{list-style: none; margin: 0px; padding: 0px; display: block; height: 20px;}
|
||||
#options ul li{float: left; padding-right: 15px; margin: 0px;}
|
||||
#options ul li a{font-size: 11px; margin: 0px;}
|
||||
#options ul li.right{float: right}
|
||||
|
||||
/* Alert */
|
||||
.alert{
|
||||
background:#FFF6BF;
|
||||
color:#514721;
|
||||
font-size: 14px;
|
||||
border: 1px solid #FFD324;
|
||||
padding: 5px;
|
||||
margin-bottom:5px;
|
||||
}
|
||||
|
||||
.confirm{
|
||||
background:#8ECA56;
|
||||
|
||||
font-size: 14px;
|
||||
border: 1px solid #6AAE30;
|
||||
padding: 5px;
|
||||
margin-bottom:5px;
|
||||
}
|
||||
/* Top Notifications */
|
||||
#topNotificationContainer
|
||||
{
|
||||
display:none;
|
||||
}
|
||||
.topNotification
|
||||
{
|
||||
background-color: #FFF6BF;
|
||||
padding: 7px 0px;
|
||||
border-bottom:1px solid #FFD324;
|
||||
color: #735005;
|
||||
font-weight:bold;
|
||||
}
|
||||
.notifyClose
|
||||
{
|
||||
display:block;
|
||||
float:right;
|
||||
cursor:pointer;
|
||||
border: 2px solid #FFD324;
|
||||
background-color: #FFF6BF;
|
||||
color: #735005;
|
||||
padding: 0px 4px;
|
||||
margin-right: 20px;
|
||||
font-family: Arial;
|
||||
text-align:center;
|
||||
font-weight: 700;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.notifyClose a
|
||||
{
|
||||
color: ##514721;
|
||||
}
|
||||
|
||||
/* General */
|
||||
|
||||
a.remove
|
||||
{
|
||||
color:#680708;
|
||||
}
|
||||
|
||||
|
||||
/* Project mark verified */
|
||||
.verifyWikiFile
|
||||
{
|
||||
cursor:pointer;
|
||||
color:green;
|
||||
margin-top: 5px;
|
||||
padding-left:18px;
|
||||
background: url('img/verify.png') no-repeat bottom left;
|
||||
font-size:100% !Important;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* EDITOR PROPERTIES - PLEASE DON'T DELETE THIS LINE TO AVOID DUPLICATE PROPERTIES */
|
||||
@@ -1,109 +0,0 @@
|
||||
/*FONTS */
|
||||
|
||||
body{font-family: Arial, Helvetica, sans-serif; font-size: 13px;}
|
||||
|
||||
h1, h2, h3, h4, h5, p{font-family: Arial, Helvetica, sans-serif; color: #333;}
|
||||
a{color: #1A6AB3;}
|
||||
|
||||
p{font-size: 13px; margin-top: 7px; margin-bottom: 15px; color: #333; line-height: 18px}
|
||||
small{font-size: 11px; color: #5b5b5b;}
|
||||
|
||||
em{color: #332e2e; font-style: normal; font-weight: bold;}
|
||||
h1{font-size: 28px; font-weight: bold; margin-bottom: 7px;}
|
||||
h2{font-size: 18px; font-weight: bold; margin-top: 0px; margin-bottom: 3px;}
|
||||
h3{font-size: 14px; font-weight: bold;}
|
||||
h4{font-size: 12px; font-weight: bold; }
|
||||
h5{font-size: 11px; font-weight: bold; }
|
||||
|
||||
code, pre {
|
||||
background-color:#F2F2F2;
|
||||
border:1px solid #E3E3E3;
|
||||
border-left: 4px solid #e3e3e3;
|
||||
display:block !Important;
|
||||
font-family:monospace;
|
||||
font-size:12px;
|
||||
line-height:1.4em;
|
||||
margin:0 6em 1em 1em;
|
||||
padding: 0.5em;
|
||||
max-width: 650px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
code pre{padding: 0px; border: none}
|
||||
|
||||
|
||||
a.act{padding: 2px; padding-left: 20px; color: #252525; background: no-repeat center left;}
|
||||
|
||||
|
||||
a.topics{background-image: url(img/ico/balloons.png);}
|
||||
a.yourtopics{background-image: url(img/ico/balloon-smiley.png);}
|
||||
|
||||
a.edit{background-image: url(img/ico/pencil-small.png);}
|
||||
a.delete{background-image: url(img/ico/cross-small.png);}
|
||||
a.move{background-image: url(img/ico/document-tree.png);}
|
||||
|
||||
a.subscribe{background-image: url(img/ico/mail--plus.png);}
|
||||
a.UnSubscribeTopic, a.UnSubscribeForum{background-image: url(img/ico/mail--delete.png);}
|
||||
a.upload{background-image: url(img/ico/document--plus.png);}
|
||||
#options a.history{background-image: url(img/ico/clock-history.png);}
|
||||
|
||||
|
||||
.options{padding: 3px !Important;}
|
||||
|
||||
a.add{background: #8ECA56 2px 2px url(img/ico/plus-button.png) no-repeat; padding: 3px 3px 3px 25px;
|
||||
border: 1px solid #618A3B; color: #fff; text-decoration: none; margin-top: 2px;
|
||||
-webkit-border-radius: 3px; /* Safari prototype */
|
||||
-moz-border-radius: 3px; /* Gecko browsers */
|
||||
border-radius: 3px; /* Everything else - limited support at the moment */
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* EDITOR PROPERTIES - PLEASE DON'T DELETE THIS LINE TO AVOID DUPLICATE PROPERTIES */
|
||||
@@ -1,181 +0,0 @@
|
||||
/* GENERAL STYLES */
|
||||
body,html{padding: 10px !Important; margin: 0px !Important; padding: 10px; background: white; background-image: none !Important;}
|
||||
#closeHandle{display: none !Important;}
|
||||
|
||||
#header{font-size: 14px; font-weight: bold; color: rgb(153, 153, 153); margin-bottom: 7px;}
|
||||
|
||||
#header img{display: none !Important;}
|
||||
img.gradient{display: none !Important;}
|
||||
#theForm{margin-top: -15px; width: 100%; position: relative;}
|
||||
#Table1{width: auto !Important; width: 100%; display: block; margin: 0px;}
|
||||
|
||||
#profileInfo{font-size: 10px; position: absolute; right: 10px; top: 10px; color: #999;}
|
||||
.propertyPane{padding: 10px; background-repeat: repeat-x}
|
||||
|
||||
a{color: black;}
|
||||
|
||||
body {
|
||||
margin: 2px
|
||||
}
|
||||
|
||||
#body{margin-top: 50px;}
|
||||
|
||||
.repoBox{display: block; clear: both; padding: 10px; border-bottom: 1px solid #ccc; margin-bottom: 15px;}
|
||||
.noborder{border: none !Important;}
|
||||
h4{margin-top: 0px; margin-bottom: 15px; font-size: 15px;}
|
||||
.gradient{background-repeat: no-repeat;}
|
||||
|
||||
#header{position: absolute; top: 10px; right: 15px;}
|
||||
#profile{text-align: right; font-size: 10px;}
|
||||
#profile input{width: 200px; margin-left: 15px;}
|
||||
|
||||
|
||||
.deliLeft{
|
||||
|
||||
width: 200px; /*Width of left column*/
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.deliRight
|
||||
{
|
||||
float: none !Important;
|
||||
margin-left: 230px !Important;
|
||||
width: auto !Important;
|
||||
}
|
||||
a.viewAll{top: 14px !Important;}
|
||||
|
||||
|
||||
|
||||
.deliNav{background: none !Important; padding-left: 0;}
|
||||
.deliNav a:hover{text-decoration: underline !Important;}
|
||||
|
||||
|
||||
/* Project page */
|
||||
|
||||
|
||||
|
||||
/*MOVE STUFF */
|
||||
#breadcrumb{position: absolute; top: 20px; left: 10px; margin: 0px; margin-top: -10px !Important; padding: 4px; list-style: none; font-size: 11px; color: #333; display: block; margin-bottom: 10px;}
|
||||
#breadcrumb li{display: inline; padding-right: 5px; margin: 0px;}
|
||||
#breadcrumb li a{color: #999; padding-right: 3px;}
|
||||
|
||||
/*HIDE STUFF*/
|
||||
h1{display: none !Important;}
|
||||
.options{display: none !Important;}
|
||||
.deliFeatureBox{display: none !Important;}
|
||||
#projectOwner{display: none !Important;}
|
||||
|
||||
|
||||
/*TAGCLOUD*/
|
||||
#tagCloud
|
||||
{
|
||||
margin-top: 10px;
|
||||
padding:10px;
|
||||
margin-bottom:10px;
|
||||
text-align:justify;
|
||||
}
|
||||
|
||||
#tagCloud A
|
||||
{
|
||||
text-decoration:none;
|
||||
margin-left:5px;
|
||||
margin-right:5px;
|
||||
font-family:Verdana, Arial;
|
||||
text-transform:lowercase;
|
||||
color: #8a8a8a;
|
||||
}
|
||||
|
||||
#tagCloud A:hover, #tagCloud a.current
|
||||
{
|
||||
color:#000;
|
||||
text-decoration:underline;
|
||||
}
|
||||
|
||||
#tagCloud A.weight1
|
||||
{
|
||||
font-size: 2em;
|
||||
font-weight:bolder;
|
||||
}
|
||||
#tagCloud A.weight2
|
||||
{
|
||||
font-size:1.7em;
|
||||
font-weight:bolder;
|
||||
}
|
||||
#tagCloud A.weight3
|
||||
{
|
||||
font-size: 1.4em;
|
||||
font-weight:bolder;
|
||||
}
|
||||
#tagCloud A.weight4
|
||||
{
|
||||
|
||||
font-size: 1.1em;
|
||||
}
|
||||
#tagCloud A.weight5
|
||||
{
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
#tagCloud span
|
||||
{
|
||||
font-size: 10px !Important;
|
||||
color: #595a5a!Important;
|
||||
font-weight: normal !Important;
|
||||
}
|
||||
|
||||
|
||||
/* CLEAR FIX */
|
||||
clearfix:after {
|
||||
content: ".";
|
||||
display: block;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
line-height: 0;
|
||||
height: 0;
|
||||
}
|
||||
.clearfix {
|
||||
display: inline-block;
|
||||
}
|
||||
html[xmlns] .clearfix {
|
||||
display: block;
|
||||
}
|
||||
* html .clearfix {
|
||||
height: 1%;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/* EDITOR PROPERTIES - PLEASE DON'T DELETE THIS LINE TO AVOID DUPLICATE PROPERTIES */
|
||||
File diff suppressed because it is too large
Load Diff
@@ -3,7 +3,7 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
|
||||
namespace Marketplace
|
||||
namespace uProject
|
||||
{
|
||||
public static class Extensions
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Web;
|
||||
using Marketplace.Interfaces;
|
||||
|
||||
namespace Marketplace.Helpers
|
||||
namespace uProject.Helpers
|
||||
{
|
||||
public static class ExtensionMethods
|
||||
{
|
||||
|
||||
@@ -3,9 +3,9 @@ using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Web.UI;
|
||||
using Marketplace.usercontrols.Deli.Package;
|
||||
using uProject.usercontrols.Deli.Package;
|
||||
|
||||
namespace Marketplace.Helpers
|
||||
namespace uProject.Helpers
|
||||
{
|
||||
public static class ProjectCreatorHelper
|
||||
{
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
<%@ Master Language="C#" MasterPageFile="~/masterpages/Master.master" AutoEventWireup="true" %>
|
||||
|
||||
<asp:Content ContentPlaceHolderId="Head" runat="server">
|
||||
|
||||
</asp:Content>
|
||||
|
||||
<asp:content ContentPlaceHolderId="Main" runat="server">
|
||||
|
||||
<div id="body" class="subpage wrapper">
|
||||
<umbraco:Macro Alias="Deli-ProjectLicenseConfiguration" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
|
||||
</asp:content>
|
||||
@@ -1,40 +0,0 @@
|
||||
<%@ Master Language="C#" MasterPageFile="~/masterpages/Master.master" AutoEventWireup="true" %>
|
||||
|
||||
<asp:Content ContentPlaceHolderId="Main" runat="server">
|
||||
|
||||
<div id="body" class="subpage">
|
||||
|
||||
|
||||
<asp:ContentPlaceHolder Id="TitleArea" runat="server">
|
||||
|
||||
<div style="margin-top: 25px">
|
||||
<umbraco:Macro linkToCurrent="0" Alias="Breadcrumb" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
<umbraco:Item field="pageName" runat="server"></umbraco:Item>
|
||||
</asp:ContentPlaceHolder>
|
||||
|
||||
<div class="options">
|
||||
<%if(umbraco.library.IsLoggedOn()){ %>
|
||||
<a class="act add" href="/member/profile/projects">Create a new project</a>
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
<div class="deliLeft">
|
||||
<div class="deliNav">
|
||||
<umbraco:Macro ID="Macro1" Alias="Deli-ProjectCategories" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
<div class="deliNav paid">
|
||||
<h3>Top Paid Packages</h3>
|
||||
<umbraco:Macro Alias="Deli-TopPaid" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
<div class="deliNav hqPicks">
|
||||
<h3>HQ Picks</h3>
|
||||
<umbraco:Macro PickedProjects="[$hQPicks]" Alias="Deli-HQPickedProjects" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
</div>
|
||||
<div class="deliRight">
|
||||
<asp:ContentPlaceHolder Id="DeliRight" runat="server" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</asp:Content>
|
||||
@@ -1,20 +0,0 @@
|
||||
<%@ Master Language="C#" MasterPageFile="~/masterpages/Master.master" AutoEventWireup="true" %>
|
||||
|
||||
<asp:content ContentPlaceHolderId="Head" runat="server">
|
||||
|
||||
</asp:content>
|
||||
|
||||
<asp:content ContentPlaceHolderId="Main" runat="server">
|
||||
<div id="body" class="subpage">
|
||||
|
||||
<div style="margin-top: 25px;">
|
||||
<umbraco:Macro linkToCurrent="0" Alias="Breadcrumb" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
|
||||
<h1><umbraco:Item field="pageName" runat="server"></umbraco:Item></h1>
|
||||
<umbraco:Macro CurrentStepIndex="[#stepIndex]" Alias="Deli-CartProgress" runat="server"></umbraco:Macro>
|
||||
<umbraco:Item field="bodyText" runat="server"></umbraco:Item>
|
||||
|
||||
</div>
|
||||
|
||||
</asp:content>
|
||||
@@ -1,19 +0,0 @@
|
||||
<%@ Master Language="C#" MasterPageFile="~/masterpages/Master.master" AutoEventWireup="true" %>
|
||||
|
||||
<asp:content ContentPlaceHolderId="Head" runat="server">
|
||||
|
||||
</asp:content>
|
||||
|
||||
<asp:content ContentPlaceHolderId="Main" runat="server">
|
||||
<div id="body" class="subpage">
|
||||
|
||||
<div style="margin-top: 25px;">
|
||||
<umbraco:Macro linkToCurrent="0" Alias="Breadcrumb" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
|
||||
<umbraco:Item field="bodyText" runat="server"></umbraco:Item>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</asp:content>
|
||||
@@ -1,25 +0,0 @@
|
||||
<%@ Master Language="C#" MasterPageFile="~/masterpages/Master.master" AutoEventWireup="true" %>
|
||||
|
||||
<asp:Content ContentPlaceHolderId="Head" runat="server">
|
||||
<script type="text/javascript" src="/scripts/projects/jquery.tagger.js"></script>
|
||||
<script type="text/javascript" src="/scripts/projects/jquery.autocomplete.js"></script>
|
||||
</asp:Content>
|
||||
|
||||
|
||||
|
||||
<asp:content ContentPlaceHolderId="Main" runat="server">
|
||||
<div id="body" class="subpage wrapper">
|
||||
<div style="margin-top: 25px;">
|
||||
<umbraco:Macro Alias="Breadcrumb" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
|
||||
<h1><umbraco:Item field="pageName" runat="server"></umbraco:Item></h1>
|
||||
<div class="options">
|
||||
<umbraco:Macro source="1057" Alias="Member-ProfileNavigation" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
<umbraco:Macro Alias="Deli-CreateProject" runat="server"></umbraco:Macro>
|
||||
|
||||
<umbraco:Item field="bodyText" runat="server"></umbraco:Item>
|
||||
|
||||
</div>
|
||||
</asp:content>
|
||||
@@ -1,146 +0,0 @@
|
||||
<%@ Master Language="C#" MasterPageFile="~/umbraco/masterpages/default.master" AutoEventWireup="true" %>
|
||||
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
|
||||
<asp:Content ContentPlaceHolderID="ContentPlaceHolderDefault" runat="server">
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head runat="server">
|
||||
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
|
||||
|
||||
<link rel="alternate" type="application/rss+xml" title="Latest packages" href="http://our.umbraco.org/rss/projects" />
|
||||
<link rel="alternate" type="application/rss+xml" title="Package updates" href="http://our.umbraco.org/rss/projectsupdate" />
|
||||
<link rel="alternate" type="application/rss+xml" title="Latest documentation" href="http://our.umbraco.org/rss/wiki" />
|
||||
<link rel="alternate" type="application/rss+xml" title="Documentation updates" href="http://our.umbraco.org/rss/wikiupdate" />
|
||||
<link rel="alternate" type="application/rss+xml" title="Active forum topics" href="http://our.umbraco.org/rss/activetopics" />
|
||||
<link rel="alternate" type="application/rss+xml" title="Community blogs" href="http://pipes.yahoo.com/pipes/pipe.run?_id=8llM7pvk3RGFfPy4pgt1Yg&_render=rss" />
|
||||
|
||||
|
||||
<link rel="search" type="application/opensearchdescription+xml" title="our.umbraco.org" href="/scripts/OpenSearch.xml">
|
||||
<link rel="shortcut icon" type="image/x-icon" href="/css/img/our.favicon.png"/>
|
||||
|
||||
<title><umbraco:Macro Alias="Title" runat="server"></umbraco:Macro></title>
|
||||
<link rel="stylesheet" type="text/css" href="/css/community.css?v=4&update=yes" />
|
||||
<link rel="stylesheet" type="text/css" href="/css/forum.css?v=2" />
|
||||
<link rel="stylesheet" type="text/css" href="/css/wiki.css?v=4" />
|
||||
<link rel="stylesheet" type="text/css" href="/css/deli.css?v=2" />
|
||||
<link rel="stylesheet" type="text/css" href="/css/fonts.css?v=2" />
|
||||
<link rel="stylesheet" type="text/css" href="/css/jquery.tabs.css?v=2" />
|
||||
<link rel="stylesheet" type="text/css" href="/css/events.css?v=2" />
|
||||
<link rel="stylesheet" type="text/css" href="/css/notifications.css?u=yes" />
|
||||
|
||||
<script type="text/javascript" src="/scripts/libs/jquery-1.3.2.min.js"></script>
|
||||
<script type="text/javascript" src="/scripts/community.js?v=2"></script>
|
||||
<script type="text/javascript" src="/scripts/powers/uPowers.js?v=2.5"></script>
|
||||
<script type="text/javascript" src="/scripts/jquery.validation.js"></script>
|
||||
|
||||
<script type="text/javascript" src="/scripts/notifications/notifications.js?ay=y"></script>
|
||||
|
||||
<script src="/scripts/libs/jquery-ui-1.7.1.custom.min.js" type="text/javascript"></script>
|
||||
<script type="text/javascript" src="/scripts/libs/SimpleModal.js"></script>
|
||||
|
||||
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
|
||||
<script type="text/javascript">
|
||||
google.load('visualization', '1', {packages: ['corechart']});
|
||||
</script>
|
||||
|
||||
<umbraco:Macro Alias="Member-JsValues" runat="server"></umbraco:Macro>
|
||||
|
||||
<asp:ContentPlaceHolder Id="Head" runat="server"></asp:ContentPlaceHolder>
|
||||
</head>
|
||||
<body>
|
||||
<div id="main">
|
||||
<form runat="server">
|
||||
|
||||
<cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></cc1:ToolkitScriptManager>
|
||||
|
||||
|
||||
<div id="topNotificationContainer">
|
||||
<div class="topNotification">
|
||||
<span class="notifyClose">
|
||||
x
|
||||
</span>
|
||||
First time here? Check out the <a href="#">FAQ</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<asp:ContentPlaceHolder Id="Top" runat="server">
|
||||
<div id="top">
|
||||
|
||||
<div id="memberInfo">
|
||||
<div class="wrapper">
|
||||
<div id="memberHeaderProfile">
|
||||
<umbraco:Macro ProfilePage="1057" LoginPage="1056" CreatePage="1071" BlockedPage="5571" Alias="MemberTopProfile" runat="server"></umbraco:Macro>
|
||||
<umbraco:Macro Alias="Deli-MicroCart" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="wrapper">
|
||||
<a href="/" id="logo" title="Our umbraco dot org">our.umbraco.org</a>
|
||||
<umbraco:Macro Alias="TopNavigation" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<umbraco:Macro Alias="SearchField" runat="server"></umbraco:Macro>
|
||||
</asp:ContentPlaceHolder>
|
||||
|
||||
|
||||
<umbraco:Item field="mainNotification" insertTextBefore="<div id="notification">" insertTextAfter="</div>" recursive="true" runat="server"></umbraco:Item>
|
||||
|
||||
|
||||
<div id="contentArea">
|
||||
<asp:ContentPlaceHolder Id="SpecialContent" runat="server"/>
|
||||
|
||||
<asp:ContentPlaceHolder Id="Main" runat="server">
|
||||
<div id="body" class="subpage wrapper">
|
||||
<div style="margin-top: 25px;">
|
||||
<umbraco:Macro Alias="Breadcrumb" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
<h1><umbraco:Item field="alternativeHeadline" useIfEmpty="pageName" runat="server"></umbraco:Item></h1>
|
||||
|
||||
|
||||
<umbraco:Item field="bodyText" runat="server"></umbraco:Item>
|
||||
|
||||
</div>
|
||||
</asp:ContentPlaceHolder>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="push"></div>
|
||||
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div id="footer">
|
||||
Our.umbraco.org is the community mothership for <a href="http://umbraco.org" title="Go to umbraco.org">Umbraco, the open source asp.net cms</a>.
|
||||
With a <a href="/forum">friendly forum</a> for all your questions, a comprehensive <a href="/wiki">documentation wiki</a> and the a ton of <a href="/projects">packages, extensions and extras</a> from the community.
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div id="votingModal" style="display: none;">
|
||||
<h3></h3><p></p>
|
||||
<textarea rows="4" cols="10"></textarea>
|
||||
<small>Please enter atleast 50 characters (<em class="counter">50</em> remaining)
|
||||
<input type="button" value="submit" /> <em> or </em> <a href="#" class="simplemodal-close">cancel</a>
|
||||
</small>
|
||||
</div>
|
||||
|
||||
<script type="text/javascript">
|
||||
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
|
||||
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
try {
|
||||
var pageTracker = _gat._getTracker("UA-120590-4");
|
||||
pageTracker._trackPageview();
|
||||
} catch(err) {}</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
</asp:Content>
|
||||
@@ -1,38 +0,0 @@
|
||||
<%@ Master Language="C#" MasterPageFile="~/umbraco/masterpages/default.master" AutoEventWireup="true" %>
|
||||
|
||||
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolderDefault" runat="server">
|
||||
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
|
||||
<head id="Head1" runat="server">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<title><umbraco:Item ID="Item1" field="pageName" runat="server"></umbraco:Item> - Umbraco.org - the friendly CMS</title>
|
||||
<link media="screen" type="text/css" rel="stylesheet" href="/css/screen.css" />
|
||||
<link media="screen" type="text/css" rel="stylesheet" href="/css/custom.css" />
|
||||
|
||||
<script type="text/javascript" src="/scripts/libs/jquery-1.3.2.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body class='redirecting'>
|
||||
|
||||
|
||||
<div>
|
||||
<h1>Please wait...</h1>
|
||||
<p>
|
||||
We are redirecting you to paypal.com, where you can pay your order securely. Please do not hit the "back" or "forward"
|
||||
navigation buttons on your browser.
|
||||
</p>
|
||||
<p>
|
||||
Thank you for your patience
|
||||
</p>
|
||||
|
||||
<img src="/images/custom/loadanim.gif" />
|
||||
|
||||
</div>
|
||||
|
||||
<umbraco:Macro ID="Macro1" Alias="Deli-CartPayment" runat="server"></umbraco:Macro>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</asp:Content>
|
||||
@@ -1,44 +0,0 @@
|
||||
<%@ Master Language="C#" MasterPageFile="~/masterpages/Master.master" AutoEventWireup="true" %>
|
||||
|
||||
<asp:Content ContentPlaceHolderId="Head" runat="server">
|
||||
<script type="text/javascript" src="/scripts/projects/projects.js?v=2"></script>
|
||||
<script type="text/javascript" src="/scripts/projects/jquery.tagger.js"></script>
|
||||
<script type="text/javascript" src="/scripts/projects/jquery.autocomplete.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/css/shadowbox.css" />
|
||||
|
||||
<script type="text/javascript" src="/scripts/shadowbox/shadowbox.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
Shadowbox.init({overlayColor:'#ffffff',overlayOpacity: '0.01',onFinish:addClickClose});
|
||||
|
||||
function addClickClose(){
|
||||
$('#sb-content').unbind('click').click(function(){ Shadowbox.close(); });
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
</asp:Content>
|
||||
|
||||
<asp:Content ContentPlaceHolderId="Main" runat="server">
|
||||
<div id="body" class="subpage">
|
||||
|
||||
<div style="margin-top: 25px;">
|
||||
<umbraco:Macro linkToCurrent="0" Alias="Breadcrumb" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
|
||||
<umbraco:Macro Alias="Deli-ProjectView" runat="server"></umbraco:Macro>
|
||||
|
||||
|
||||
<div id="forum" style="width:620px; margin-left: 75px">
|
||||
|
||||
<% if( umbraco.presentation.nodeFactory.Node.GetCurrent().Children.Count > 0 ){ %>
|
||||
<h3>Package discussions</h3>
|
||||
<umbraco:Macro Alias="Forum-overview" runat="server"></umbraco:Macro>
|
||||
<%
|
||||
}
|
||||
%>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</asp:Content>
|
||||
@@ -1,38 +0,0 @@
|
||||
<%@ Master Language="C#" MasterPageFile="~/masterpages/Master.master" AutoEventWireup="true" %>
|
||||
|
||||
<asp:Content ContentPlaceHolderId="Main" runat="server">
|
||||
|
||||
<div id="body" class="subpage">
|
||||
|
||||
<div style="margin-top: 25px">
|
||||
<umbraco:Macro linkToCurrent="0" Alias="Breadcrumb" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
|
||||
<h1><umbraco:Item field="pageName" runat="server"></umbraco:Item></h1>
|
||||
<div class="options">
|
||||
<%if(umbraco.library.IsLoggedOn()){ %>
|
||||
<a class="act add" href="/member/profile/projects">Create a new project</a>
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
<div class="deliLeft">
|
||||
<div class="deliNav">
|
||||
<umbraco:Macro ID="Macro1" Alias="Deli-ProjectCategories" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
<div class="deliNav paid">
|
||||
<h3>Top Paid Packages</h3>
|
||||
<umbraco:Macro Alias="Deli-TopPaid" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
<div class="deliNav hqPicks">
|
||||
<h3>HQ Picks</h3>
|
||||
<umbraco:Macro PickedProjects="[$hQPicks]" Alias="Deli-HQPickedProjects" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
</div>
|
||||
<div class="deliRight">
|
||||
<div class="deliPromoBox popular clearfix">
|
||||
<umbraco:Macro PageNumber="[@page]" IsCategoryListing="1" MaxPageSize="20" viewAll="[@ViewAll]" Alias="Deli-ProjectListing" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</asp:Content>
|
||||
@@ -1,68 +0,0 @@
|
||||
<%@ Master Language="C#" MasterPageFile="~/masterpages/Master.master" AutoEventWireup="true" %>
|
||||
|
||||
<asp:Content ContentPlaceHolderId="Main" runat="server">
|
||||
<div id="body" class="subpage">
|
||||
|
||||
<%-- div style="margin-top: 25px">
|
||||
<umbraco:Macro linkToCurrent="0" Alias="Breadcrumb" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
|
||||
<h1><umbraco:Item field="pageName" runat="server"></umbraco:Item></h1 --%>
|
||||
<div class="options">
|
||||
<%if(umbraco.library.IsLoggedOn()){ %>
|
||||
<a class="act add" href="/member/profile/projects">Create a new project</a>
|
||||
<% } %>
|
||||
</div>
|
||||
|
||||
<div class="deliLeft">
|
||||
<div class="deliNav">
|
||||
<umbraco:Macro Alias="Deli-ProjectCategories" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
<div class="deliNav paid">
|
||||
<h3>Top Paid Packages</h3>
|
||||
<umbraco:Macro Alias="Deli-TopPaid" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
<div class="deliNav hqPicks">
|
||||
<h3>HQ Picks</h3>
|
||||
<umbraco:Macro PickedProjects="[#hQPicks]" Alias="Deli-HQPickedProjects" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
<div class="deliNav deliHelp">
|
||||
<h3>About Deli</h3>
|
||||
<ul>
|
||||
<li><a href="/wiki/deli/deli-getting-started/">List your package</a><br /><small>Both free and commercial</small></li>
|
||||
<li><a href="/wiki/deli/deli-member-faq/">FAQ</a><br /><small>For purchasers</small></li>
|
||||
<li><a href="/wiki/deli/umbraco-deli-package-license-agreement-standard/">Standard Commercial License</a><br /><small>For packages</small></li>
|
||||
<li><a href="http://umbraco.com/contact/send-us-an-email">More Questions?</a><br /><small>Need more? Contact us here</small></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="deliRightWrapper">
|
||||
|
||||
<div class="deliRight">
|
||||
<div class="deliFeatureBox clearfix">
|
||||
<umbraco:Macro projectId="[#featuredProject]" FeatureImage="[#featuredProjectImage]" Alias="Deli-FeatureProject" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
<div class="deliPromoBox popular clearfix">
|
||||
<h2>Popular Packages</h2>
|
||||
<a href="<%= Request.Url + "popular/" %>" class="viewAll">All popular</a>
|
||||
<umbraco:Macro MaxPageSize="8" paged="0" Alias="Deli-PopularProjects" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
<div class="deliPromoBox new clearfix">
|
||||
<h2>New Packages</h2>
|
||||
<a href="<%= Request.Url + "newest/" %>" class="viewAll">All new</a>
|
||||
<umbraco:Macro MaxPageSize="4" paged="0" Alias="Deli-NewestProjects" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
<div style="margin-top:10px; text-align:center; border:0; background:#eee;" class="deliNotification">List your package here! Whether it's free or a commercial, it's easy to list in the Deli. <a href="/wiki/deli/deli-getting-started/">Get started today</a></div>
|
||||
<div class="deliPromoBox deliTags">
|
||||
<h2>Browse by Tag</h2>
|
||||
<umbraco:Macro ID="Macro1" Alias="Deli-TagCloud" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</asp:Content>
|
||||
@@ -1,22 +0,0 @@
|
||||
<%@ Master Language="C#" MasterPageFile="~/masterpages/Deli.master" AutoEventWireup="true" %>
|
||||
|
||||
|
||||
<asp:Content ContentPlaceHolderId="TitleArea" runat="server">
|
||||
<div style="margin-top: 25px">
|
||||
<umbraco:Macro linkToCurrent="1" Alias="Breadcrumb" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
<h1>Browse projects by tag</h1>
|
||||
</asp:Content>
|
||||
|
||||
<asp:content ContentPlaceHolderId="DeliRight" runat="server">
|
||||
<div id="projectList" class="deliPromoBox clearfix">
|
||||
<h2>Browse by tag</h2>
|
||||
<umbraco:Macro Alias="Deli-TagCloud" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
<div class="deliPromoBox clearfix">
|
||||
<h2>Projects tagged with: <%= Request["tag"] %> </h2>
|
||||
<umbraco:Macro PageNumber="[@page]" IsCategoryListing="0" MaxPageSize="20" viewAll="[@ViewAll]" Alias="Deli-ProjectListing" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
|
||||
|
||||
</asp:Content>
|
||||
@@ -1,98 +0,0 @@
|
||||
<%@ Master Language="C#" MasterPageFile="Master.master" AutoEventWireup="true" %>
|
||||
|
||||
<asp:Content ContentPlaceHolderId="Main" runat="server">
|
||||
|
||||
<div id="dashboard" class="subpage">
|
||||
|
||||
<div style="text-align: center">
|
||||
<h1>The friendliest CMS community on the planet</h1>
|
||||
|
||||
<div style="margin-bottom: 40px;">
|
||||
<p>
|
||||
our.umbraco.org is the central hub for the friendly umbraco community. Search for documentation, get
|
||||
help and guidance from seasoned experts, download and collaborate on plugins and extensions.
|
||||
</p>
|
||||
|
||||
<%if(!umbraco.library.IsLoggedOn()){ %>
|
||||
<p><a href="/member/signup">Register an account</a> <em> or </em> <a href="/member/login">Login</a></p>
|
||||
<%}%>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div style="width: 315px; float: left; overflow: hidden; clear: none; ">
|
||||
<div class="spotlight" id="latestForumTopics">
|
||||
<h4><span class="entry-title">Forum talk</span> <a class="rss_small" href="/rss/activetopics">rss</a></h4>
|
||||
<div id="data_forum"><small>Loading forum list...</small></div>
|
||||
<a class="more" href="/forum">More..</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="width: 315px; overflow: hidden; clear: none; float: left; margin-left: 17px">
|
||||
|
||||
<div class="spotlight">
|
||||
<h4>New projects <a class="rss_small" href="/rss/projects">rss</a></h4>
|
||||
<div id="data_projects"><small>Loading the newest projects...</small></div>
|
||||
<a class="more" href="/projects">More..</a>
|
||||
</div>
|
||||
|
||||
<div class="spotlight">
|
||||
<h4>New documentation <a class="rss_small" href="/rss/wiki">rss</a></h4>
|
||||
<div id="data_wiki"><small>Loading the latest documentation...</small></div>
|
||||
<a class="more" href="/wiki">More..</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="width: 315px; float: right; clear: none; overflow: hidden;">
|
||||
|
||||
<div class="spotlight">
|
||||
<h4>Community blogs <a class="rss_small" href="http://pipes.yahoo.com/pipes/pipe.run?_id=8llM7pvk3RGFfPy4pgt1Yg&_render=rss">rss</a></h4>
|
||||
<div id="data_blogs"><small>Loading blog list...</small></div>
|
||||
</div>
|
||||
|
||||
<div class="spotlight">
|
||||
<h4>Twitter <a class="rss_small" href="http://search.twitter.com/search.atom?q=%23umbraco">rss</a></h4>
|
||||
<div id="data_twitter"><small>Loading tweets...</small></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
jQuery(document).ready(function(){
|
||||
|
||||
$.post("/html/forum",
|
||||
function(data){
|
||||
jQuery("#data_forum").html(data);
|
||||
});
|
||||
|
||||
$.post("/html/projects",
|
||||
function(data){
|
||||
jQuery("#data_projects").html(data);
|
||||
});
|
||||
|
||||
$.post("/html/wiki",
|
||||
function(data){
|
||||
jQuery("#data_wiki").html(data);
|
||||
});
|
||||
|
||||
$.post("/html/blogs",
|
||||
function(data){
|
||||
jQuery("#data_blogs").html(data);
|
||||
});
|
||||
|
||||
$.post("/html/twitter",
|
||||
function(data){
|
||||
jQuery("#data_twitter").html(data);
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
</asp:Content>
|
||||
@@ -1,99 +0,0 @@
|
||||
<%@ Master Language="C#" MasterPageFile="~/umbraco/masterpages/default.master" AutoEventWireup="true" %>
|
||||
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
|
||||
|
||||
<asp:Content ContentPlaceHolderID="ContentPlaceHolderDefault" runat="server">
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
|
||||
<html>
|
||||
<head>
|
||||
<title>Umbraco Package Repository</title>
|
||||
<link href="/umbraco_client/ui/default.css" type="text/css" rel="stylesheet"/>
|
||||
<link href="/umbraco_client/panel/style.css" type="text/css" rel="stylesheet"/>
|
||||
<link rel="stylesheet" type="text/css" href="/css/community.css?v=4&update=yes" />
|
||||
<link href="/css/repository.css" type="text/css" rel="stylesheet"/>
|
||||
<link href="/css/deli.css" type="text/css" rel="stylesheet"/>
|
||||
<link rel="stylesheet" type="text/css" href="/css/shadowbox.css" />
|
||||
|
||||
<script type="text/javascript" src="/scripts/libs/jquery-1.3.2.min.js"></script>
|
||||
<script type="text/javascript" src="/scripts/community.js?v=2"></script>
|
||||
<script type="text/javascript" src="/scripts/powers/uPowers.js?v=2.5"></script>
|
||||
<script type="text/javascript" src="/scripts/jquery.validation.js"></script>
|
||||
<script type="text/javascript" src="/scripts/notifications/notifications.js?ay=y"></script>
|
||||
<script type="text/javascript" src="/scripts/libs/jquery-ui-1.7.1.custom.min.js"></script>
|
||||
<script type="text/javascript" src="/scripts/libs/SimpleModal.js"></script>
|
||||
<script type="text/javascript" src="/scripts/shadowbox/shadowbox.js"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
jQuery(document).ready(function(){
|
||||
|
||||
jQuery("a").click(function(ev){
|
||||
|
||||
ev.preventDefault();
|
||||
var href = jQuery(this).attr("href");
|
||||
|
||||
document.location = getRepoUrl(href);
|
||||
});
|
||||
});
|
||||
|
||||
function goSearch(tbId, url){
|
||||
var term = jQuery(tbId).val();
|
||||
var surl = getRepoUrl(url) + "&q=" + term;
|
||||
|
||||
alert(surl);
|
||||
|
||||
document.location = surl;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
function getRepoUrl(href){
|
||||
|
||||
var id = '<%= Request.QueryString["id"] %>';
|
||||
var version = '<%= Request.QueryString["version"] %>';
|
||||
var useLegacySchema= '<%= Request.QueryString["useLegacySchema"] %>';
|
||||
var callback = '<%= Request.QueryString["callback"] %>';
|
||||
|
||||
var sep = "?";
|
||||
var qs = "id=" + id + "&version=" + version + "&useLegacySchema=" + useLegacySchema + "&callback=" + callback + "&repo=true";
|
||||
if(href.indexOf("?") > 0){
|
||||
sep = "&";
|
||||
}
|
||||
return href + sep + qs;
|
||||
}
|
||||
|
||||
Shadowbox.init({ overlayColor: '#ffffff', overlayOpacity: '0.01', onFinish: addClickClose });
|
||||
|
||||
function addClickClose() {
|
||||
$('#sb-content').unbind('click').click(function () { Shadowbox.close(); });
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<asp:ContentPlaceHolder Id="Head" runat="server"></asp:ContentPlaceHolder>
|
||||
</head>
|
||||
<body>
|
||||
<form runat="server">
|
||||
|
||||
<div id="TheForm">
|
||||
<div id="table1" class="propertyPane guiDialogNormal" >
|
||||
<div class="propertyContent">
|
||||
|
||||
<div id="header">
|
||||
<umbraco:Macro licenses="17783" search="17770" favs="17784" Alias="Repository/Header_Login" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
|
||||
|
||||
<h1><umbraco:Item field="pageName" runat="server"></umbraco:Item></h1>
|
||||
<umbraco:Macro linkToCurrent="0" Alias="Breadcrumb" runat="server"></umbraco:Macro>
|
||||
|
||||
<asp:ContentPlaceHolder Id="Main" runat="server"/>
|
||||
|
||||
<br style="clear: both;" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
</asp:Content>
|
||||
@@ -1,34 +0,0 @@
|
||||
<%@ Master Language="C#" MasterPageFile="/umbraco/masterpages/default.master" AutoEventWireup="true" %>
|
||||
|
||||
<asp:Content ContentPlaceHolderID="ContentPlaceHolderDefault" runat="server">
|
||||
|
||||
|
||||
<html>
|
||||
|
||||
<body>
|
||||
|
||||
<form runat="server">
|
||||
|
||||
<h1>our.umbraco.org is getting a massage</h1>
|
||||
<p>We are truly sorry for the inconvenience, but our.umbraco.org is getting an upgrade to fix a couple of issues
|
||||
reported by our lovely community.
|
||||
</p>
|
||||
|
||||
<p><strong>Update:</strong> Bug is found, patch has been applied, testing as we speak</p>
|
||||
|
||||
|
||||
<p>
|
||||
We will be back ASAP<br/>
|
||||
<strong>/Per Ploug Hansen</strong>
|
||||
</p>
|
||||
|
||||
<br><br><br><br><br><br><br>
|
||||
|
||||
<umbraco:Macro NextPage="1052" ErrorMessage="bug" Alias="MemberLogin" runat="server"></umbraco:Macro>
|
||||
|
||||
</form>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
</asp:Content>
|
||||
@@ -1,11 +0,0 @@
|
||||
<%@ Master Language="C#" MasterPageFile="Master.master" AutoEventWireup="true" %>
|
||||
|
||||
|
||||
<asp:Content ID="Content2" ContentPlaceHolderId="Main" runat="server">
|
||||
<div id="body" class="subpage">
|
||||
|
||||
<umbraco:Macro ID="Macro1" Alias="DeliRepoProjectView" runat="server"></umbraco:Macro>
|
||||
|
||||
|
||||
</div>
|
||||
</asp:Content>
|
||||
@@ -1,32 +0,0 @@
|
||||
<%@ Master Language="C#" MasterPageFile="Master.master" AutoEventWireup="true" %>
|
||||
|
||||
<asp:Content ContentPlaceHolderId="Main" runat="server">
|
||||
|
||||
<div id="body" class="subpage">
|
||||
|
||||
<umbraco:Item field="bodyText" runat="server"></umbraco:Item>
|
||||
|
||||
<div class="deliLeft">
|
||||
<div class="deliNav">
|
||||
<umbraco:Macro Alias="Deli-ProjectCategories" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
<div class="deliNav paid">
|
||||
<h3>Top Paid Packages</h3>
|
||||
<umbraco:Macro Alias="Deli-TopPaid" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
<div class="deliNav hqPicks">
|
||||
<h3>HQ Picks</h3>
|
||||
<umbraco:Macro PickedProjects="[$hQPicks]" Alias="Deli-HQPickedProjects" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="deliRight">
|
||||
<div class="deliPromoBox popular clearfix">
|
||||
<h2><umbraco:Item field="alternativeHeadline" useIfEmpty="pageName" runat="server"></umbraco:Item></h2>
|
||||
<umbraco:Macro PageNumber="" IsCategoryListing="1" Alias="Deli-ProjectListing" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</asp:Content>
|
||||
@@ -1,47 +0,0 @@
|
||||
<%@ Master Language="C#" MasterPageFile="Master.master" AutoEventWireup="true" %>
|
||||
|
||||
<asp:Content ContentPlaceHolderId="Main" runat="server">
|
||||
<div id="body" class="subpage">
|
||||
|
||||
<div class="deliLeft">
|
||||
<div class="deliNav">
|
||||
<umbraco:Macro Alias="Deli-ProjectCategories" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
<div class="deliNav paid">
|
||||
<h3>Top Paid Packages</h3>
|
||||
<umbraco:Macro Alias="Deli-TopPaid" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
<div class="deliNav hqPicks">
|
||||
<h3>HQ Picks</h3>
|
||||
<umbraco:Macro PickedProjects="[#hQPicks]" Alias="Deli-HQPickedProjects" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="deliRightWrapper">
|
||||
|
||||
<div class="deliRight">
|
||||
<div class="deliFeatureBox clearfix">
|
||||
<umbraco:Macro ID="Macro1" projectId="[#featuredProject]" FeatureImage="[#featuredProjectImage]" Alias="Deli-FeatureProject" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
<div class="deliPromoBox popular clearfix">
|
||||
<h2>Popular Packages</h2>
|
||||
<a href="<%= Request.Url + "popular/" %>" class="viewAll">All popular</a>
|
||||
<umbraco:Macro ID="Macro2" MaxPageSize="8" paged="0" Alias="Deli-PopularProjects" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
<div class="deliPromoBox new clearfix">
|
||||
<h2>New Packages</h2>
|
||||
<a href="<%= Request.Url + "newest/" %>" class="viewAll">All new</a>
|
||||
<umbraco:Macro ID="Macro3" MaxPageSize="4" paged="0" Alias="Deli-NewestProjects" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
<div style="margin-top:10px; text-align:center; border:0; background:#eee;" class="deliNotification">List your package here! Whether it's free or a commercial, it's easy to list in the Deli. <a href="/linksomewhere">Get started today</a></div>
|
||||
<div class="deliPromoBox deliTags">
|
||||
<h2>Browse by Tag</h2>
|
||||
<umbraco:Macro ID="Macro4" Alias="Deli-TagCloud" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</asp:Content>
|
||||
@@ -1,21 +0,0 @@
|
||||
<%@ Master Language="C#" MasterPageFile="Master.master" AutoEventWireup="true" %>
|
||||
|
||||
<asp:Content ContentPlaceHolderId="Main" runat="server">
|
||||
<div id="body" class="subpage">
|
||||
|
||||
<div style="margin-top: 25px">
|
||||
<umbraco:Macro linkToCurrent="1" Alias="Breadcrumb" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
|
||||
<h1>Browse projects by tag</h1>
|
||||
<div class="options">
|
||||
<a href="/member/profile/projects" class="act add">Create a new project</a>
|
||||
</div>
|
||||
|
||||
<%-- umbraco:Macro Alias="Project-tagcloud" runat="server"></umbraco:Macro --%>
|
||||
<umbraco:Macro Alias="Deli-TagCloud" runat="server"></umbraco:Macro>
|
||||
<umbraco:Macro Alias="Deli-ProjectListing" runat="server"></umbraco:Macro>
|
||||
|
||||
</div>
|
||||
|
||||
</asp:Content>
|
||||
@@ -1,10 +0,0 @@
|
||||
<%@ Master Language="C#" MasterPageFile="Master.master" AutoEventWireup="true" %>
|
||||
|
||||
<asp:Content ContentPlaceHolderId="Main" runat="server">
|
||||
<div id="body" class="subpage">
|
||||
<div class="deliPromoBox popular clearfix">
|
||||
<h2><umbraco:Item field="alternativeHeadline" useIfEmpty="pageName" runat="server"></umbraco:Item></h2>
|
||||
<umbraco:Item field="bodyText" runat="server"></umbraco:Item>
|
||||
</div>
|
||||
</div>
|
||||
</asp:Content>
|
||||
@@ -1,14 +0,0 @@
|
||||
<%@ Master Language="C#" MasterPageFile="~/masterpages/Deli.master" AutoEventWireup="true" %>
|
||||
|
||||
<asp:Content ContentPlaceHolderId="TitleArea" runat="server">
|
||||
<div style="margin-top: 25px">
|
||||
<umbraco:Macro linkToCurrent="1" Alias="Breadcrumb" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
<h1>Newest packages</h1>
|
||||
</asp:Content>
|
||||
|
||||
<asp:content ContentPlaceHolderId="DeliRight" runat="server">
|
||||
<div class="deliPromoBox clearfix">
|
||||
<umbraco:Macro MaxPageSize="20" paged="1" PageNumber="[@page]" viewAll="[@ViewAll]" Alias="Deli-NewestProjects" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
</asp:content>
|
||||
@@ -1,14 +0,0 @@
|
||||
<%@ Master Language="C#" MasterPageFile="~/masterpages/Deli.master" AutoEventWireup="true" %>
|
||||
|
||||
<asp:Content ContentPlaceHolderId="TitleArea" runat="server">
|
||||
<div style="margin-top: 25px">
|
||||
<umbraco:Macro linkToCurrent="1" Alias="Breadcrumb" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
<h1>Popular packages</h1>
|
||||
</asp:Content>
|
||||
|
||||
<asp:content ContentPlaceHolderId="DeliRight" runat="server">
|
||||
<div class="deliPromoBox clearfix">
|
||||
<umbraco:Macro MaxPageSize="20" paged="1" PageNumber="[@page]" viewAll="[@ViewAll]" Alias="Deli-PopularProjects" runat="server"></umbraco:Macro>
|
||||
</div>
|
||||
</asp:content>
|
||||
@@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Web;
|
||||
using Umbraco.Core.Persistence;
|
||||
|
||||
namespace Marketplace.Models
|
||||
namespace uProject.Models
|
||||
{
|
||||
[TableName("projectContributors")]
|
||||
public class ProjectContributor
|
||||
|
||||
@@ -5,7 +5,7 @@ using System.Linq;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Web;
|
||||
|
||||
namespace Marketplace.Models
|
||||
namespace uProject.Models
|
||||
{
|
||||
[DataContract(Name = "projectForum", Namespace = "")]
|
||||
public class ProjectForum
|
||||
|
||||
@@ -11,7 +11,8 @@ using our;
|
||||
using Marketplace.Providers.MediaFile;
|
||||
using Marketplace.Umbraco.BusinessLogic;
|
||||
|
||||
namespace Marketplace {
|
||||
namespace uProject
|
||||
{
|
||||
public class ProjectFileUploadHandler : IHttpHandler {
|
||||
|
||||
#region IHttpHandler Members
|
||||
|
||||
+1
-1
@@ -8,7 +8,7 @@
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Marketplace.Properties {
|
||||
namespace uProject.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
|
||||
@@ -1,95 +0,0 @@
|
||||
@using Marketplace.Interfaces
|
||||
@using Marketplace.Providers
|
||||
|
||||
@{
|
||||
IMemberProvider memberProvider = (IMemberProvider)MarketplaceProviderManager.Providers["MemberProvider"];
|
||||
IMember member = memberProvider.GetCurrentMember();
|
||||
IListingProvider provider = (IListingProvider)MarketplaceProviderManager.Providers["ListingProvider"];
|
||||
IEnumerable<IListingItem> projects = provider.GetListingsByVendor(member.Id,true,true);
|
||||
|
||||
string editUrl = umbraco.library.NiceUrl(Int32.Parse(Parameter.Edit));
|
||||
string forumUrl = umbraco.library.NiceUrl(Int32.Parse(Parameter.Forum));
|
||||
string licenseUrl = umbraco.library.NiceUrl(Int32.Parse(Parameter.Licenses));
|
||||
string teamUrl = umbraco.library.NiceUrl(Int32.Parse(Parameter.Team));
|
||||
}
|
||||
|
||||
<h3>Your existing projects</h3>
|
||||
|
||||
<ul class="profileProjects">
|
||||
@foreach (var project in projects)
|
||||
{
|
||||
<li>
|
||||
<h3><a href="@project.NiceUrl">
|
||||
@project.Name
|
||||
</a></h3>
|
||||
@if (!string.IsNullOrEmpty(project.DefaultScreenshot))
|
||||
{
|
||||
<img src="/umbraco/imagegen.ashx?image=@project.DefaultScreenshot&pad=true&width=50&height=50" alt="@project.Name" class="projectIcon" style="border:1px solid #ddd"/>
|
||||
}
|
||||
else
|
||||
{
|
||||
<img src="/css/img/package2.png" alt="@project.Name" class="projectIcon" />
|
||||
}
|
||||
<small>
|
||||
@project.CreateDate.ToString("D")
|
||||
</small>
|
||||
<ul class="projectNav">
|
||||
<li><a href="@editUrl?id=@project.Id">Edit</a></li>
|
||||
<li><a href="@forumUrl?id=@project.Id">Forums</a></li>
|
||||
@if (project.ListingType == ListingType.commercial)
|
||||
{
|
||||
<li><a href="@licenseUrl?id=@project.Id">Licenses</a></li>
|
||||
}
|
||||
|
||||
@if (project.OpenForCollab)
|
||||
{
|
||||
<li><a href="@teamUrl?id=@project.Id">Team</a></li>
|
||||
}
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
}
|
||||
<li class="add"><h3>
|
||||
<a href="@editUrl">Add new project</a>
|
||||
</h3>
|
||||
<img src="/css/img/add.png" alt="Add new project" />
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@{
|
||||
var contribProjects = provider.GetListingsForContributor(member.Id);
|
||||
}
|
||||
|
||||
@if (contribProjects.Count() > 0)
|
||||
{
|
||||
<h3>Project where you are contributor</h3>
|
||||
<ul class="profileProjects">
|
||||
@foreach (var project in contribProjects)
|
||||
{
|
||||
<li>
|
||||
<h3><a href="@project.NiceUrl">
|
||||
@project.Name
|
||||
</a></h3>
|
||||
<img src="/css/img/package2.png" alt="@project.Name" class="projectIcon" />
|
||||
<small>
|
||||
@project.CreateDate.ToString("D")<br />
|
||||
Owner: <a href="mailto:@project.Vendor.Member.Email">@project.Vendor.Member.Name</a>
|
||||
</small>
|
||||
<ul class="projectNav">
|
||||
<li><a href="@editUrl?id=@project.Id">Edit</a></li>
|
||||
<li><a href="@forumUrl?id=@project.Id">Forums</a></li>
|
||||
@if (project.ListingType == ListingType.commercial)
|
||||
{
|
||||
<li><a href="@licenseUrl?id=@project.Id">Licenses</a></li>
|
||||
}
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
}
|
||||
</ul>
|
||||
}
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
@using Marketplace.Interfaces
|
||||
@using Marketplace.Providers
|
||||
|
||||
@{
|
||||
ICategoryProvider categoryProvider = (ICategoryProvider)MarketplaceProviderManager.Providers["CategoryProvider"];
|
||||
IEnumerable<ICategory> cats = categoryProvider.GetAllCategories();
|
||||
var selected = "";
|
||||
}
|
||||
<h3>Project Categories</h3>
|
||||
<ul>
|
||||
@foreach (var cat in cats)
|
||||
{
|
||||
|
||||
<li>
|
||||
<a href="@cat.Url">
|
||||
|
||||
@cat.Name
|
||||
</a>
|
||||
@* <small>(@cat.ProjectCount)</small>*@
|
||||
</li>
|
||||
}
|
||||
</ul>
|
||||
@@ -1,33 +0,0 @@
|
||||
@using Marketplace.Interfaces
|
||||
@using Marketplace.Providers
|
||||
|
||||
@{
|
||||
var tagsProvider = (IProjectTagProvider)MarketplaceProviderManager.Providers["TagProvider"];
|
||||
var tags = tagsProvider.GetAllTags(false).OrderBy(x => x.Count).Take(50).OrderBy(x => x.Text);
|
||||
max = tags.Max(x => x.LiveCount);
|
||||
}
|
||||
|
||||
@functions{
|
||||
|
||||
public int max { get; set; }
|
||||
public string weight(int liveCount)
|
||||
{
|
||||
double perc = ((double)liveCount / (double)max) * 100;
|
||||
|
||||
if(perc >= 99)return "weight1";
|
||||
if(perc >= 70)return "weight2";
|
||||
if(perc >= 40)return "weight3";
|
||||
if(perc >= 20)return "weight4";
|
||||
return "weight5";
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
<div id="tagCloud">
|
||||
@foreach (var t in tags) {
|
||||
<a href="/projects/tag/@t.Text#projectList" class="@weight(t.LiveCount)">@t.Text</a>
|
||||
}
|
||||
</div>
|
||||
@@ -1,92 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using Marketplace.uVersion;
|
||||
using Marketplace.Interfaces;
|
||||
using Marketplace.Providers;
|
||||
|
||||
namespace Marketplace.Razor
|
||||
{
|
||||
public class VersionCompatibilityReport
|
||||
{
|
||||
private List<UVersion> uVersions;
|
||||
private int fileId { get; set; }
|
||||
private int packageId { get; set; }
|
||||
private IListingProvider projectProvider;
|
||||
private IListingItem project;
|
||||
private IMediaFile file;
|
||||
|
||||
|
||||
public VersionCompatibilityReport(int fid, int pid)
|
||||
{
|
||||
uVersions = Marketplace.uVersion.UVersion.GetAllVersions();
|
||||
fileId = fid;
|
||||
packageId = packageId;
|
||||
projectProvider = (IListingProvider)MarketplaceProviderManager.Providers["ListingProvider"];
|
||||
project = projectProvider.GetListing(pid, false);
|
||||
file = project.PackageFile.FirstOrDefault(x => x.Id == Int32.Parse(project.CurrentReleaseFile));
|
||||
}
|
||||
|
||||
public List<verCompat> GetCompatibilityReport()
|
||||
{
|
||||
var compatList = new List<verCompat>();
|
||||
using (Marketplace.Data.MarketplaceDataContext ctx = new Marketplace.Data.MarketplaceDataContext())
|
||||
{
|
||||
|
||||
foreach (var ver in uVersions)
|
||||
{
|
||||
var reports = ctx.DeliVersionCompatibilities.Where(x => x.version == ver.Name && x.projectId == project.Id);
|
||||
|
||||
if (reports.Any())
|
||||
{
|
||||
float compats = reports.Count(x => x.isCompatible);
|
||||
float numReps = reports.Count();
|
||||
var perc = Convert.ToInt32(((compats / numReps) * 100));
|
||||
|
||||
var smiley = "unhappy";
|
||||
|
||||
if (perc >= 95)
|
||||
{
|
||||
smiley = "joyous";
|
||||
}
|
||||
else if (perc < 95 && perc >= 80)
|
||||
{
|
||||
smiley = "happy";
|
||||
}
|
||||
else if (perc < 80 && perc >= 65)
|
||||
{
|
||||
smiley = "neutral";
|
||||
}
|
||||
else if (perc < 65 && perc >= 50)
|
||||
{
|
||||
smiley = "unhappy";
|
||||
}
|
||||
else
|
||||
{
|
||||
smiley = "superUnhappy";
|
||||
}
|
||||
|
||||
|
||||
|
||||
compatList.Add(new verCompat() { perc = perc, smiley = smiley, version = ver.Name });
|
||||
}
|
||||
else
|
||||
{
|
||||
compatList.Add(new verCompat() { perc = 0, smiley = "untested", version = ver.Name });
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
return compatList;
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
public class verCompat
|
||||
{
|
||||
public int perc { get; set; }
|
||||
public string smiley { get; set; }
|
||||
public string version { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -1,46 +0,0 @@
|
||||
@using Marketplace.uVersion;
|
||||
@{
|
||||
var versions = UVersion.GetAllVersions();
|
||||
var fileId = @Parameter.fileId;
|
||||
var packageId = @Parameter.packageId;
|
||||
|
||||
var memberProvider = (Marketplace.Interfaces.IMemberProvider)Marketplace.Providers.MarketplaceProviderManager.Providers["MemberProvider"];
|
||||
var mem = memberProvider.GetCurrentMember();
|
||||
|
||||
var projectProvider = (Marketplace.Interfaces.IListingProvider)Marketplace.Providers.MarketplaceProviderManager.Providers["ListingProvider"];
|
||||
var Project = projectProvider.GetListing(Int32.Parse(packageId));
|
||||
|
||||
}
|
||||
|
||||
@if(umbraco.library.IsLoggedOn())
|
||||
{
|
||||
|
||||
if(Marketplace.library.HasDownloaded(mem.Id, Project.Id))
|
||||
{
|
||||
<input type="hidden" value="@fileId" id="packageFileId" />
|
||||
<input type="hidden" value="@packageId" id="packageId" />
|
||||
<table class="projectCompatList">
|
||||
@foreach (var v in versions)
|
||||
{
|
||||
var alias = v.Name.Replace(".", "");
|
||||
<tr>
|
||||
<td><span>@v.Name</span></td>
|
||||
<td><input type="radio" value="1" name="@Library.Concatenate("v",alias)" id="@Library.Concatenate("v",alias, "works")"/><label for="@Library.Concatenate("v",alias,"works")">Works</label></td>
|
||||
<td><input type="radio" value="0" name="@Library.Concatenate("v",alias)" id="@Library.Concatenate("v",alias, "doesntwork")"/><label for="@Library.Concatenate("v", alias, "doesntwork")">Doesn't work</label></td>
|
||||
<td><input type="radio" checked value="-1" name="@Library.Concatenate("v",alias)" id="@Library.Concatenate("v",alias, "nottried")"/><label for="@Library.Concatenate("v", alias, "nottried")">haven't tried</label></td>
|
||||
</tr>
|
||||
}
|
||||
</table>
|
||||
|
||||
<input type="button" value="Report Compatibility" id="reportCompatibility" /> @:or <a href="#" class="simplemodal-close">Cancel</a>
|
||||
}
|
||||
else
|
||||
{
|
||||
<br /><p><strong>You need to download this package before you can report on it's compatibility</strong></p>
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
<br /><p><strong>You must login before you can report on package compatibility.</strong></p>
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
@using Marketplace.Razor;
|
||||
@{
|
||||
int fileId = Int32.Parse(Parameter.fileId);
|
||||
int packageId = Int32.Parse(Parameter.packageId);
|
||||
|
||||
var verReport = new VersionCompatibilityReport(fileId, packageId);
|
||||
}
|
||||
|
||||
This project is compatible with the following versions as reported by community members who have downloaded this package:<br/><br/>
|
||||
|
||||
@{
|
||||
|
||||
foreach (var ver in verReport.GetCompatibilityReport())
|
||||
{
|
||||
if(ver.smiley != "untested"){
|
||||
<span class="smiley @ver.smiley"> @ver.version (@ver.perc%)</span>
|
||||
}
|
||||
else
|
||||
{
|
||||
<span class="smiley @ver.smiley"> @ver.version (untested)</span>
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
<br/>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
using Marketplace.Models;
|
||||
using uProject.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
@@ -6,7 +6,7 @@ using System.Web;
|
||||
using Umbraco.Core;
|
||||
using Umbraco.Core.Persistence;
|
||||
|
||||
namespace Marketplace.Services
|
||||
namespace uProject.Services
|
||||
{
|
||||
public class ContributionService: IDisposable
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Marketplace
|
||||
namespace uProject
|
||||
{
|
||||
public class Singleton<T> where T : class, new()
|
||||
{
|
||||
|
||||
@@ -11,7 +11,7 @@ using umbraco.NodeFactory;
|
||||
using System.Globalization;
|
||||
using Marketplace.Data;
|
||||
|
||||
namespace Marketplace
|
||||
namespace uProject
|
||||
{
|
||||
[XsltExtension("deli.library")]
|
||||
public class library
|
||||
|
||||
@@ -295,7 +295,6 @@
|
||||
<ItemGroup>
|
||||
<Compile Include="Api\ProjectContributionController.cs" />
|
||||
<Compile Include="Api\ProjectForumController.cs" />
|
||||
<Compile Include="Controls\CountryDropDown.cs" />
|
||||
<Compile Include="Extensions.cs" />
|
||||
<Compile Include="Helpers\ExtensionMethods.cs" />
|
||||
<Compile Include="Helpers\Helper.cs" />
|
||||
@@ -309,7 +308,6 @@
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Razor\VersionCompatibilityReport.cs" />
|
||||
<Compile Include="Services\ContributionService.cs" />
|
||||
<Compile Include="Singleton.cs" />
|
||||
<Compile Include="usercontrols\Deli\Package\Steps\Complete.ascx.cs">
|
||||
@@ -361,29 +359,11 @@
|
||||
<Compile Include="usercontrols\Deli\Profile\MyProjects.ascx.designer.cs">
|
||||
<DependentUpon>MyProjects.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="usercontrols\Deli\Profile\Signup.ascx.cs">
|
||||
<DependentUpon>Signup.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="usercontrols\Deli\Profile\Signup.ascx.designer.cs">
|
||||
<DependentUpon>Signup.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="usercontrols\our.umbraco.org\Login_novalidationscript.ascx.cs">
|
||||
<DependentUpon>Login_novalidationscript.ascx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="usercontrols\our.umbraco.org\Login_novalidationscript.ascx.designer.cs">
|
||||
<DependentUpon>Login_novalidationscript.ascx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="uVersion\config.cs" />
|
||||
<Compile Include="uVersion\uVersion.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Css\Deli.css" />
|
||||
<Content Include="Css\DeliAdmin.css" />
|
||||
<Content Include="Razor\versionCompatibilityReport.cshtml" />
|
||||
<Content Include="packages.config" />
|
||||
<None Include="Razor\versionCompatibility.cshtml" />
|
||||
<Content Include="usercontrols\Deli\Package\Steps\Complete.ascx" />
|
||||
<Content Include="usercontrols\Deli\Package\Steps\Licenses.ascx" />
|
||||
<Content Include="usercontrols\Deli\Package\Steps\Screenshots.ascx" />
|
||||
@@ -391,23 +371,8 @@
|
||||
<Content Include="usercontrols\Deli\Package\Editor.ascx" />
|
||||
<Content Include="usercontrols\Deli\Package\Steps\Files.ascx" />
|
||||
<Content Include="usercontrols\Deli\Profile\MyProjects.ascx" />
|
||||
<Content Include="usercontrols\Deli\Profile\Signup.ascx" />
|
||||
<Content Include="usercontrols\our.umbraco.org\Login_novalidationscript.ascx" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="usercontrols\our.umbraco.org\HeaderLogin.ascx" />
|
||||
<Content Include="usercontrols\umbracoMemberControls\umbLogin.ascx" />
|
||||
<Content Include="MasterPages\newest.master" />
|
||||
<Content Include="MasterPages\popular.master" />
|
||||
<Content Include="MasterPages\Deli.master" />
|
||||
<Content Include="MasterPages\Repository\Community.master" />
|
||||
<Content Include="MasterPages\Repository\Master.master" />
|
||||
<Content Include="MasterPages\Repository\Nothing.master" />
|
||||
<Content Include="MasterPages\Repository\Project.master" />
|
||||
<Content Include="MasterPages\Repository\ProjectGroup.master" />
|
||||
<Content Include="MasterPages\Repository\Projects.master" />
|
||||
<Content Include="MasterPages\Repository\ProjectsTags.master" />
|
||||
<Content Include="MasterPages\Repository\Textpage.master" />
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
@@ -416,27 +381,6 @@
|
||||
<SubType>Designer</SubType>
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Razor\Deli-TagCloud.cshtml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Razor\Deli-ProjectCategories.cshtml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="MasterPages\ConfigureProjectLicenses.master" />
|
||||
<Content Include="MasterPages\DeliCart.master" />
|
||||
<Content Include="MasterPages\DeliCartDetails.master" />
|
||||
<Content Include="MasterPages\EditProject.master" />
|
||||
<Content Include="MasterPages\Master.master" />
|
||||
<Content Include="MasterPages\PayPalRedirect.master" />
|
||||
<Content Include="MasterPages\Project.master" />
|
||||
<Content Include="MasterPages\ProjectGroup.master" />
|
||||
<Content Include="MasterPages\Projects.master" />
|
||||
<Content Include="MasterPages\ProjectsTags.master" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Razor\Deli-MyProjects.cshtml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<WebReferences Include="Web References\" />
|
||||
</ItemGroup>
|
||||
@@ -7,7 +7,7 @@ using System.IO;
|
||||
using System.Web.Caching;
|
||||
using umbraco.BusinessLogic;
|
||||
|
||||
namespace Marketplace.uVersion
|
||||
namespace uProject.uVersion
|
||||
{
|
||||
public class config
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ using System.Linq;
|
||||
using System.Web;
|
||||
using System.Xml;
|
||||
|
||||
namespace Marketplace.uVersion
|
||||
namespace uProject.uVersion
|
||||
{
|
||||
public class UVersion
|
||||
{
|
||||
|
||||
@@ -12,7 +12,7 @@ using Marketplace.Interfaces;
|
||||
using umbraco.cms.businesslogic.member;
|
||||
using our;
|
||||
|
||||
namespace Marketplace.usercontrols.Deli.Package
|
||||
namespace uProject.usercontrols.Deli.Package
|
||||
{
|
||||
public partial class Editor : System.Web.UI.UserControl
|
||||
{
|
||||
@@ -47,7 +47,7 @@ namespace Marketplace.usercontrols.Deli.Package
|
||||
var controlToLoad = new System.Web.UI.UserControl().LoadControl(IOHelper.ResolveUrl(currentStep.UserControl));
|
||||
|
||||
if (currentStep.Alias == "details")
|
||||
((Marketplace.usercontrols.Deli.Package.Steps.Details)controlToLoad).IsDeliVendor = _vendor.Member.IsDeliVendor;
|
||||
((uProject.usercontrols.Deli.Package.Steps.Details)controlToLoad).IsDeliVendor = _vendor.Member.IsDeliVendor;
|
||||
|
||||
StepPlaceHolder.Controls.Add(controlToLoad);
|
||||
Step.Value = currentStep.Alias;
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Marketplace.usercontrols.Deli.Package {
|
||||
namespace uProject.usercontrols.Deli.Package {
|
||||
|
||||
|
||||
public partial class Editor {
|
||||
|
||||
@@ -7,9 +7,9 @@ using System.Web.UI.WebControls;
|
||||
using Marketplace.Interfaces;
|
||||
using Marketplace.Providers;
|
||||
using Marketplace.BusinessLogic;
|
||||
using Marketplace.Helpers;
|
||||
using uProject.Helpers;
|
||||
|
||||
namespace Marketplace.usercontrols.Deli.Package.Steps
|
||||
namespace uProject.usercontrols.Deli.Package.Steps
|
||||
{
|
||||
public partial class Complete : System.Web.UI.UserControl
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Marketplace.usercontrols.Deli.Package.Steps {
|
||||
namespace uProject.usercontrols.Deli.Package.Steps {
|
||||
|
||||
|
||||
public partial class Complete {
|
||||
|
||||
@@ -11,11 +11,11 @@ using Marketplace.Providers.ListingItem;
|
||||
using Marketplace.BusinessLogic.ListingCreator;
|
||||
using umbraco.cms.businesslogic.member;
|
||||
using Marketplace.BusinessLogic;
|
||||
using Marketplace.Helpers;
|
||||
using uProject.Helpers;
|
||||
using umbraco.NodeFactory;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace Marketplace.usercontrols.Deli.Package.Steps
|
||||
namespace uProject.usercontrols.Deli.Package.Steps
|
||||
{
|
||||
public partial class Details : System.Web.UI.UserControl
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Marketplace.usercontrols.Deli.Package.Steps {
|
||||
namespace uProject.usercontrols.Deli.Package.Steps {
|
||||
|
||||
|
||||
public partial class Details {
|
||||
|
||||
@@ -11,10 +11,10 @@ using our;
|
||||
using Marketplace.BusinessLogic;
|
||||
using Marketplace.Umbraco.BusinessLogic;
|
||||
using Marketplace.Providers.Helpers;
|
||||
using Marketplace.Helpers;
|
||||
using uProject.Helpers;
|
||||
using Marketplace.Providers.MediaFile;
|
||||
|
||||
namespace Marketplace.usercontrols.Deli.Package.Steps
|
||||
namespace uProject.usercontrols.Deli.Package.Steps
|
||||
{
|
||||
public partial class Files : System.Web.UI.UserControl
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Marketplace.usercontrols.Deli.Package.Steps {
|
||||
namespace uProject.usercontrols.Deli.Package.Steps {
|
||||
|
||||
|
||||
public partial class Files {
|
||||
|
||||
@@ -10,11 +10,11 @@ using umbraco.cms.businesslogic.member;
|
||||
using our;
|
||||
using Marketplace.Providers.License;
|
||||
using Marketplace.Providers.Helpers;
|
||||
using Marketplace.Helpers;
|
||||
using uProject.Helpers;
|
||||
using Marketplace.Providers.Accounting;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace Marketplace.usercontrols.Deli.Package.Steps
|
||||
namespace uProject.usercontrols.Deli.Package.Steps
|
||||
{
|
||||
public partial class Licenses : System.Web.UI.UserControl
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Marketplace.usercontrols.Deli.Package.Steps {
|
||||
namespace uProject.usercontrols.Deli.Package.Steps {
|
||||
|
||||
|
||||
public partial class Licenses {
|
||||
|
||||
@@ -10,9 +10,9 @@ using umbraco.cms.businesslogic.member;
|
||||
using our;
|
||||
using Marketplace.Umbraco.BusinessLogic;
|
||||
using Marketplace.Providers.Helpers;
|
||||
using Marketplace.Helpers;
|
||||
using uProject.Helpers;
|
||||
|
||||
namespace Marketplace.usercontrols.Deli.Package.Steps
|
||||
namespace uProject.usercontrols.Deli.Package.Steps
|
||||
{
|
||||
public partial class Screenshots : System.Web.UI.UserControl
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Marketplace.usercontrols.Deli.Package.Steps {
|
||||
namespace uProject.usercontrols.Deli.Package.Steps {
|
||||
|
||||
|
||||
public partial class Screenshots {
|
||||
|
||||
@@ -8,7 +8,7 @@ using System.Web.UI.WebControls;
|
||||
using Marketplace.Interfaces;
|
||||
using Marketplace.Providers;
|
||||
|
||||
namespace Marketplace.usercontrols.Deli.Profile
|
||||
namespace uProject.usercontrols.Deli.Profile
|
||||
{
|
||||
public partial class MyProjects : System.Web.UI.UserControl
|
||||
{
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace Marketplace.usercontrols.Deli.Profile {
|
||||
namespace uProject.usercontrols.Deli.Profile {
|
||||
|
||||
|
||||
public partial class MyProjects {
|
||||
|
||||
@@ -1,312 +0,0 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Signup.ascx.cs" Inherits="Marketplace.usercontrols.Deli.Profile.Signup" %>
|
||||
<%@ Register Assembly="Marketplace" TagPrefix="Deli" Namespace="Marketplace.Controls" %>
|
||||
|
||||
<asp:PlaceHolder runat="server" ID="ProfileNavigation">
|
||||
<ul class="stepNavigation">
|
||||
<li runat="server"><asp:linkbutton ID="profileNav" runat="server" OnClick="ChangeProfile" CommandArgument="Basic">Basic Profile</asp:linkbutton></li>
|
||||
<li runat="server"><asp:linkbutton ID="vendorNav" runat="server" OnClick="ChangeProfile" CommandArgument="Vendor">Vendor Profile</asp:linkbutton></li>
|
||||
</ul>
|
||||
</asp:PlaceHolder>
|
||||
|
||||
<asp:PlaceHolder runat="server" ID="SignupBasicProfile">
|
||||
<asp:panel runat="server" defaultbutton="bt_submit">
|
||||
<div class="form simpleForm" id="registrationForm">
|
||||
<fieldset>
|
||||
<legend>Basic Information</legend>
|
||||
<p>
|
||||
We just need the most basic information from you.
|
||||
</p>
|
||||
<p>
|
||||
<asp:label ID="Label1" AssociatedControlID="tb_name" CssClass="inputLabel" runat="server">Name</asp:label>
|
||||
<asp:TextBox ID="tb_name" runat="server" ToolTip="Please enter your name" CssClass="required title"/>
|
||||
</p>
|
||||
<p>
|
||||
<asp:label ID="Label2" AssociatedControlID="tb_company" CssClass="inputLabel" runat="server">Company</asp:label>
|
||||
<asp:TextBox ID="tb_company" runat="server" ToolTip="Please enter your company name" CssClass="title"/>
|
||||
</p>
|
||||
<p>
|
||||
<asp:label ID="Label3" AssociatedControlID="tb_email" CssClass="inputLabel" runat="server">Email</asp:label>
|
||||
<asp:TextBox ID="tb_email" runat="server" onBlur="lookupEmail(this);" ToolTip="Please enter your email address" CssClass="required email title"/>
|
||||
</p>
|
||||
<p>
|
||||
<asp:label ID="Label4" AssociatedControlID="tb_password" CssClass="inputLabel" runat="server">Password</asp:label>
|
||||
<asp:TextBox ID="tb_password" runat="server" ToolTip="Please enter a password, minimum 5 characters" TextMode="Password" CssClass="password title"/>
|
||||
</p>
|
||||
<p>
|
||||
<asp:label ID="Label10" AssociatedControlID="tb_bio" CssClass="inputLabel" runat="server">Bio<br /><small>No html allowed</small></asp:label>
|
||||
<asp:TextBox ID="tb_bio" runat="server" TextMode="MultiLine" CssClass="title noHtml"/>
|
||||
</p>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>Billing Information</legend>
|
||||
<p>
|
||||
If you are planning on buying products from the Deli, to speed up the checkout process fill in as much of the following as possible
|
||||
</p>
|
||||
<p>
|
||||
<asp:label AssociatedControlID="tb_companyVatNumber" CssClass="inputLabel" runat="server">VAT Number</asp:label>
|
||||
<asp:TextBox ID="tb_companyVatNumber" runat="server" CssClass="title"/>
|
||||
</p>
|
||||
<p>
|
||||
<asp:label AssociatedControlID="tb_companyAddress" CssClass="inputLabel" runat="server">Address</asp:label>
|
||||
<asp:TextBox ID="tb_companyAddress" TextMode="MultiLine" runat="server" CssClass="title"/>
|
||||
</p>
|
||||
<p>
|
||||
<asp:label AssociatedControlID="dd_companyCountry" CssClass="inputLabel" runat="server">Country</asp:label>
|
||||
<Deli:CountryDropDownList ID="dd_companyCountry" runat="server" CssClass="title" />
|
||||
</p>
|
||||
<p>
|
||||
<asp:label AssociatedControlID="tb_companyBillingEmail" CssClass="inputLabel" runat="server">Billing Email</asp:label>
|
||||
<asp:TextBox ID="tb_companyBillingEmail" runat="server" CssClass="email title"/>
|
||||
</p>
|
||||
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>Services</legend>
|
||||
<p>
|
||||
<em>Share your ideas, topics and photos related to umbraco.</em>
|
||||
</p>
|
||||
<p>
|
||||
<asp:label ID="Label5" AssociatedControlID="tb_twitter" CssClass="inputLabel" runat="server">Twitter Alias</asp:label>
|
||||
<asp:TextBox ID="tb_twitter" runat="server" onBlur="lookupTwitter(this);" CssClass="title"/>
|
||||
</p>
|
||||
<p>
|
||||
<asp:label ID="Label6" AssociatedControlID="tb_flickr" CssClass="inputLabel" runat="server">Flickr Alias</asp:label>
|
||||
<asp:TextBox ID="tb_flickr" runat="server" onBlur="lookupFlickr(this);" CssClass="title"/>
|
||||
</p>
|
||||
<p style="display: none !Important;">
|
||||
<asp:TextBox ID="tb_emailConfirm" runat="server" />
|
||||
</p>
|
||||
</fieldset>
|
||||
|
||||
<fieldset>
|
||||
<legend>Newsletters and treshold</legend>
|
||||
<p>
|
||||
<em>Treshold is a way to control what items are displayed to you. Any item with a score <u>lower</u> then your set treshold, will not be displayed in the forum. </em>
|
||||
</p>
|
||||
<p>
|
||||
<asp:label ID="Label7" AssociatedControlID="tb_treshold" CssClass="inputLabel" runat="server">Treshold</asp:label>
|
||||
<asp:TextBox ID="tb_treshold" runat="server" Text="-10" ToolTip="Please enter a minimum score" TextMode="SingleLine" CssClass="number title"/>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<asp:label ID="Label9" AssociatedControlID="cb_bugMeNot" CssClass="inputLabel" runat="server">Email</asp:label>
|
||||
<asp:CheckBox ID="cb_bugMeNot" runat="server" /> <asp:Label ID="Label8" AssociatedControlID="cb_bugMeNot" runat="server">Do not send me any notifications or newsletters from our.umbraco.org</asp:Label>
|
||||
</p>
|
||||
|
||||
</fieldset>
|
||||
|
||||
|
||||
<fieldset>
|
||||
<legend>Where do you live?</legend>
|
||||
<p>
|
||||
<em>Tell us where you live, you can leave out streetnames, but city, zip-code and country is mandatory. When your location is displayed correctly on the map below,
|
||||
enough information has been provided.</em>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<asp:TextBox ID="tb_location" runat="server" ToolTip="Please enter an address google maps can find" CssClass="title required" style="clear: both; width: 470px;"/>
|
||||
<input type="button" class="submitButton" value="look up" onclick="lookupAddress(jQuery('#<%= tb_location.ClientID %>').val());" />
|
||||
|
||||
<asp:HiddenField ID="tb_lat" runat="server" />
|
||||
<asp:HiddenField ID="tb_lng" runat="server" />
|
||||
</p>
|
||||
|
||||
<div id="googleMap" style="width: 500px; height: 460px;"></div>
|
||||
|
||||
<br />
|
||||
</fieldset>
|
||||
|
||||
|
||||
|
||||
<div class="buttons">
|
||||
<asp:Button ID="bt_submit" Text="Sign up" CssClass="submitButton" OnClick="createMember" runat="server" />
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</asp:panel>
|
||||
|
||||
|
||||
</asp:PlaceHolder>
|
||||
<asp:PlaceHolder runat="server" ID="VendorProfile" Visible="false">
|
||||
<div class="form simpleForm" id="vendorRegistrationForm">
|
||||
<fieldset>
|
||||
<legend>Vendor Information</legend>
|
||||
<p>
|
||||
This is the information for your Vendor profile that will be displayed to users.
|
||||
</p>
|
||||
<p>
|
||||
<asp:label AssociatedControlID="tb_vendorCompany" CssClass="inputLabel" runat="server">Vendor Name</asp:label>
|
||||
<asp:TextBox ID="tb_vendorCompany" runat="server" ToolTip="Please enter your company name" CssClass="required title"/>
|
||||
</p>
|
||||
<p>
|
||||
<asp:label AssociatedControlID="tb_vendorDescription" CssClass="inputLabel" runat="server">Company Bio</asp:label>
|
||||
<asp:TextBox ID="tb_vendorDescription" runat="server" ToolTip="Enter a short bio for your company" TextMode="MultiLine" CssClass="title"/>
|
||||
</p>
|
||||
<p>
|
||||
<asp:label AssociatedControlID="tb_vendorUrl" CssClass="inputLabel" runat="server">Company Url</asp:label>
|
||||
<asp:TextBox ID="tb_vendorUrl" runat="server" ToolTip="Please enter your company url" CssClass="required title"/>
|
||||
</p>
|
||||
<p>
|
||||
<asp:label AssociatedControlID="tb_vendorSupportUrl" CssClass="inputLabel" runat="server">Support Url</asp:label>
|
||||
<asp:TextBox ID="tb_vendorSupportUrl" runat="server" ToolTip="Please enter your support url" CssClass="required title"/>
|
||||
</p>
|
||||
<p>
|
||||
<asp:label AssociatedControlID="tb_vendorBillingEmail" CssClass="inputLabel" runat="server">Billing email address</asp:label>
|
||||
<asp:TextBox ID="tb_vendorBillingEmail" runat="server" ToolTip="Please enter your billing email address" CssClass="required title email"/>
|
||||
</p>
|
||||
<p>
|
||||
<asp:label AssociatedControlID="tb_vendorSupportEmail" CssClass="inputLabel" runat="server">Support email address</asp:label>
|
||||
<asp:TextBox ID="tb_vendorSupportEmail" runat="server" ToolTip="Please enter your billing email address" CssClass="required title email"/>
|
||||
</p>
|
||||
<p>
|
||||
<asp:label AssociatedControlID="dd_vendorCountry" CssClass="inputLabel" runat="server">Country</asp:label>
|
||||
<Deli:CountryDropDownList runat="server" ID="dd_vendorCountry" CssClass="required title" ToolTip="Please select your country" />
|
||||
</p>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>Banking & Tax Details</legend>
|
||||
<p>Please fill in as much of these details as possible to make it easier for us to pay you</p>
|
||||
<p>
|
||||
<asp:label AssociatedControlID="tb_vendorBaseCurrency" CssClass="inputLabel" runat="server">Your Currency</asp:label>
|
||||
<asp:TextBox ID="tb_vendorBaseCurrency" runat="server" ToolTip="Please enter your currency" CssClass="title"/>
|
||||
</p>
|
||||
<p>
|
||||
<asp:label AssociatedControlID="tb_vendorIban" CssClass="inputLabel" runat="server">IBAN</asp:label>
|
||||
<asp:TextBox ID="tb_vendorIban" runat="server" CssClass="title"/>
|
||||
</p>
|
||||
<p>
|
||||
<asp:label AssociatedControlID="tb_vendorSwift" CssClass="inputLabel" runat="server">SWIFT</asp:label>
|
||||
<asp:TextBox ID="tb_vendorSwift" runat="server" CssClass="title"/>
|
||||
</p>
|
||||
<p>
|
||||
<asp:label AssociatedControlID="tb_vendorBsb" CssClass="inputLabel" runat="server">BSB</asp:label>
|
||||
<asp:TextBox ID="tb_vendorBsb" runat="server" CssClass="title"/>
|
||||
</p>
|
||||
<p>
|
||||
<asp:label AssociatedControlID="tb_vendorAccount" CssClass="inputLabel" runat="server">Bank Account No.</asp:label>
|
||||
<asp:TextBox ID="tb_vendorAccount" runat="server" CssClass="title"/>
|
||||
</p>
|
||||
<p>
|
||||
<asp:label AssociatedControlID="tb_vendorPayPal" CssClass="inputLabel" runat="server">PayPal Account</asp:label>
|
||||
<asp:TextBox ID="tb_vendorPayPal" runat="server" CssClass="title"/>
|
||||
</p>
|
||||
<p>
|
||||
<asp:label AssociatedControlID="tb_vendorTaxId" CssClass="inputLabel" runat="server">Tax Id</asp:label>
|
||||
<asp:TextBox ID="tb_vendorTaxId" runat="server" CssClass="title"/>
|
||||
</p>
|
||||
<p>
|
||||
<asp:label AssociatedControlID="tb_vendorVatNumber" CssClass="inputLabel" runat="server">VAT Number</asp:label>
|
||||
<asp:TextBox ID="tb_vendorVatNumber" runat="server" CssClass="title"/>
|
||||
</p>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
<legend>Deli Vendor Terms & Conditions</legend>
|
||||
<p>By ticking the following box you are stating that you agree to the terms and conditions set out by Umbraco in the <a href="/wiki/deli/deli-vendor-terms">Deli Vendor Terms & Conditions document</a></p>
|
||||
<p>
|
||||
<asp:CheckBox ID="cb_vendorTerms" runat="server" class="required title"/> <asp:Label AssociatedControlID="cb_vendorTerms" runat="server">Do you Accept the Deli Vendor Terms & Conditions?</asp:Label>
|
||||
</p>
|
||||
</fieldset>
|
||||
|
||||
<div class="buttons">
|
||||
<asp:Button ID="bt_vendorSubmit" Text="Save" CssClass="submitButton" OnClick="updateVendor" runat="server" />
|
||||
</div>
|
||||
</div>
|
||||
</asp:PlaceHolder>
|
||||
|
||||
<script type="text/javascript">
|
||||
var map = null;
|
||||
var t_lat = null;
|
||||
var t_lng = null;
|
||||
var bio = null;
|
||||
|
||||
$(document).ready(function () {
|
||||
t_lat = jQuery('#<%= tb_lat.ClientID %> ');
|
||||
t_lng = jQuery('#<%= tb_lng.ClientID %> ');
|
||||
bio = jQuery('#<%= tb_bio.ClientID %> ');
|
||||
|
||||
jQuery.validator.addClassRules({
|
||||
password: {
|
||||
required: true,
|
||||
minlength: 5
|
||||
}
|
||||
});
|
||||
|
||||
$.validator.addMethod("onlyValidLatLng",
|
||||
function (value, element) {
|
||||
return (t_lat.val() != "" && t_lng.val() != "");
|
||||
"Please enter an address google maps can find"
|
||||
});
|
||||
|
||||
$.validator.addMethod("noHtml",
|
||||
function (value, element) {
|
||||
return (!bio.val().match(/<(\w+)((?:\s+\w+(?:\s*=\s*(?:(?:"[^"]*")|(?:'[^']*')|[^>\s]+))?)*)\s*(\/?)>/));
|
||||
},
|
||||
"No HTML allowed in this field"
|
||||
);
|
||||
|
||||
// connect it to a css class
|
||||
jQuery.validator.addClassRules({
|
||||
noHtml: { noHtml: true }
|
||||
});
|
||||
|
||||
$("form").validate({
|
||||
invalidHandler: function (f, v) {
|
||||
var errors = v.numberOfInvalids();
|
||||
if (errors.length > 0) {
|
||||
validator.focusInvalid();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
if (GBrowserIsCompatible()) {
|
||||
map = new GMap2(document.getElementById("googleMap"));
|
||||
|
||||
if (t_lat.val() != "" && t_lng.val() != "") {
|
||||
var point = new GLatLng(t_lat.val(), t_lng.val());
|
||||
var marker = new GMarker(point);
|
||||
|
||||
map.setCenter(point, 13);
|
||||
map.addOverlay(marker);
|
||||
} else {
|
||||
map.setCenter(new GLatLng(37.4419, -122.1419), 13);
|
||||
}
|
||||
|
||||
map.setUIToDefault();
|
||||
}
|
||||
});
|
||||
|
||||
function lookupAddress(address) {
|
||||
var geocoder = new GClientGeocoder();
|
||||
|
||||
if (geocoder) {
|
||||
geocoder.getLatLng(
|
||||
address,
|
||||
function (point) {
|
||||
if (!point) {
|
||||
|
||||
alert(address + " not found");
|
||||
|
||||
t_lat.val('');
|
||||
t_lng.val('');
|
||||
|
||||
} else {
|
||||
|
||||
map.setCenter(point, 13);
|
||||
t_lat.val(point.lat());
|
||||
t_lng.val(point.lng());
|
||||
|
||||
var marker = new GMarker(point);
|
||||
map.addOverlay(marker);
|
||||
marker.openInfoWindowHtml(address);
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<script src="http://maps.google.com/maps?file=api&v=2&sensor=false&key=ABQIAAAA0NU1XDEzOML2eyLWhmJ9LBSxfxjTTu64lrS209cfOxNPw1orBxShNTRVj48sdN3ldWVic17nG0GLeA" type="text/javascript"></script>
|
||||
@@ -1,297 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
using umbraco.cms.businesslogic.member;
|
||||
using Marketplace.Interfaces;
|
||||
using Marketplace.Providers;
|
||||
using Marketplace.Providers.Members;
|
||||
using System.Web.UI.HtmlControls;
|
||||
|
||||
namespace Marketplace.usercontrols.Deli.Profile
|
||||
{
|
||||
public partial class Signup : System.Web.UI.UserControl {
|
||||
|
||||
public string Group { get; set; }
|
||||
public string memberType { get; set; }
|
||||
public int NextPage { get; set; }
|
||||
|
||||
private IMemberProvider mp;
|
||||
private IMember m;
|
||||
|
||||
protected void Page_Init(object sender,EventArgs e){
|
||||
mp = (IMemberProvider)MarketplaceProviderManager.Providers["MemberProvider"];
|
||||
m = mp.GetCurrentMember();
|
||||
|
||||
if (m == null || !m.IsDeliVendor)
|
||||
{
|
||||
ProfileNavigation.Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e) {
|
||||
//lazyloading the needed javascript for validation. (addded it to the master template as our ahah forms need it aswel)
|
||||
//umbraco.library.RegisterJavaScriptFile("jquery.validation", "/scripts/jquery.validation.js");
|
||||
|
||||
if(!Page.IsPostBack){
|
||||
((HtmlGenericControl)profileNav.Parent).Attributes.Add("class","current");
|
||||
}
|
||||
|
||||
|
||||
if (!Page.IsPostBack && m != null) {
|
||||
tb_name.Text = m.Name;
|
||||
tb_email.Text = m.Email;
|
||||
|
||||
//make sure that it is not required to enter the password..
|
||||
tb_password.CssClass = "title";
|
||||
|
||||
//hack on the save button...
|
||||
bt_submit.Text = "Save";
|
||||
|
||||
//treshold and newsletter
|
||||
|
||||
cb_bugMeNot.Checked = m.BugMeNot;
|
||||
|
||||
|
||||
tb_treshold.Text = m.Threshold.ToString();
|
||||
|
||||
//optional..
|
||||
tb_twitter.Text = m.Twitter;
|
||||
tb_flickr.Text = m.Flickr;
|
||||
tb_company.Text = m.Company;
|
||||
tb_bio.Text = m.Profile;
|
||||
|
||||
//Location
|
||||
tb_lat.Value = m.Latitude;
|
||||
tb_lng.Value = m.Longitude;
|
||||
tb_location.Text = m.Location;
|
||||
|
||||
//billing details
|
||||
tb_companyAddress.Text = m.CompanyAddress;
|
||||
dd_companyCountry.SelectedValue = m.CompanyCountry;
|
||||
tb_companyBillingEmail.Text = m.CompanyInvoiceEmail;
|
||||
tb_companyVatNumber.Text = m.CompanyVATNumber;
|
||||
|
||||
if (m.IsDeliVendor)
|
||||
{
|
||||
var vendorProvider = (IVendorProvider)MarketplaceProviderManager.Providers["VendorProvider"];
|
||||
var vendor = vendorProvider.GetVendorById(m.Id);
|
||||
|
||||
|
||||
tb_vendorCompany.Text = vendor.VendorCompanyName;
|
||||
dd_vendorCountry.SelectedValue = vendor.VendorCountry;
|
||||
tb_vendorDescription.Text = vendor.VendorDescription;
|
||||
|
||||
tb_vendorUrl.Text = vendor.VendorUrl;
|
||||
tb_vendorSupportUrl.Text = vendor.SupportUrl;
|
||||
tb_vendorBillingEmail.Text = vendor.BillingContactEmail;
|
||||
tb_vendorSupportEmail.Text = vendor.SupportContactEmail;
|
||||
tb_vendorIban.Text = vendor.IBAN;
|
||||
tb_vendorSwift.Text = vendor.SWIFT;
|
||||
tb_vendorBsb.Text = vendor.BSB;
|
||||
tb_vendorAccount.Text = vendor.AccountNumber;
|
||||
tb_vendorPayPal.Text = vendor.PayPalAccount;
|
||||
tb_vendorBaseCurrency.Text = vendor.BaseCurrency;
|
||||
tb_vendorTaxId.Text = vendor.TaxId;
|
||||
tb_vendorVatNumber.Text = vendor.VATNumber;
|
||||
|
||||
//check to see if the box is checked. If it is dont allow it to be rechecked
|
||||
if (vendor.DeliTermsAgreementDate != DateTime.MinValue && vendor.DeliTermsAgreementDate != null)
|
||||
{
|
||||
cb_vendorTerms.Checked = true;
|
||||
cb_vendorTerms.Enabled = false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
protected void createMember(object sender, EventArgs e) {
|
||||
|
||||
//Member is already logged in, and we just need to save his new data...
|
||||
if (m != null) {
|
||||
m.Name = tb_name.Text;
|
||||
m.Email = tb_email.Text;
|
||||
|
||||
if (tb_password.Text != "")
|
||||
m.Password = tb_password.Text;
|
||||
|
||||
//optional..
|
||||
m.Twitter = tb_twitter.Text;
|
||||
m.Flickr = tb_flickr.Text;
|
||||
m.Company = tb_company.Text;
|
||||
m.Profile = tb_bio.Text;
|
||||
|
||||
//location
|
||||
m.Location = tb_location.Text;
|
||||
m.Latitude = tb_lat.Value;
|
||||
m.Longitude = tb_lng.Value;
|
||||
|
||||
//billing info
|
||||
m.CompanyAddress = tb_companyAddress.Text;
|
||||
m.CompanyCountry = dd_companyCountry.SelectedValue;
|
||||
m.CompanyInvoiceEmail = tb_companyBillingEmail.Text;
|
||||
m.CompanyVATNumber = tb_companyVatNumber.Text;
|
||||
|
||||
var cartProvider = (ICartProvider)MarketplaceProviderManager.Providers["CartProvider"];
|
||||
if (m.CompanyCountry.ToLower() != null)
|
||||
{
|
||||
switch (m.CompanyCountry)
|
||||
{
|
||||
case "dk":
|
||||
cartProvider.SetCurrency(Currency.DKK);
|
||||
break;
|
||||
|
||||
case "us":
|
||||
case "ca":
|
||||
cartProvider.SetCurrency(Currency.USD);
|
||||
break;
|
||||
|
||||
default:
|
||||
cartProvider.SetCurrency(Currency.EUR);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
//treshold + newsletter
|
||||
m.Threshold = Int32.Parse(tb_treshold.Text);
|
||||
m.BugMeNot = cb_bugMeNot.Checked;
|
||||
|
||||
mp.SaveOrUpdate(m);
|
||||
|
||||
Response.Redirect(umbraco.library.NiceUrl(NextPage));
|
||||
|
||||
} else {
|
||||
if (tb_email.Text != "") {
|
||||
m = mp.GetMemberByEmail(tb_email.Text);
|
||||
if (m == null) {
|
||||
|
||||
m = new DeliMember();
|
||||
|
||||
m.Name = tb_name.Text;
|
||||
m.Email = tb_email.Text;
|
||||
m.Password = tb_password.Text;
|
||||
|
||||
|
||||
//Location
|
||||
m.Location = tb_location.Text;
|
||||
m.Latitude = tb_lat.Value;
|
||||
m.Longitude = tb_lng.Value;
|
||||
|
||||
//billing info
|
||||
m.CompanyAddress = tb_companyAddress.Text;
|
||||
m.CompanyCountry = dd_companyCountry.SelectedValue;
|
||||
m.CompanyInvoiceEmail = tb_companyBillingEmail.Text;
|
||||
m.CompanyVATNumber = tb_companyVatNumber.Text;
|
||||
|
||||
|
||||
var cartProvider = (ICartProvider)MarketplaceProviderManager.Providers["CartProvider"];
|
||||
if (m.CompanyCountry.ToLower() != null)
|
||||
{
|
||||
switch (m.CompanyCountry)
|
||||
{
|
||||
case "dk":
|
||||
cartProvider.SetCurrency(Currency.DKK);
|
||||
break;
|
||||
|
||||
case "us":
|
||||
case "ca":
|
||||
cartProvider.SetCurrency(Currency.USD);
|
||||
break;
|
||||
|
||||
default:
|
||||
cartProvider.SetCurrency(Currency.EUR);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
//optional..
|
||||
m.Twitter = tb_twitter.Text;
|
||||
m.Flickr = tb_flickr.Text;
|
||||
m.Company = tb_company.Text;
|
||||
m.Profile = tb_bio.Text;
|
||||
|
||||
//treshold + newsletter
|
||||
m.Threshold = Int32.Parse(tb_treshold.Text);
|
||||
m.BugMeNot = cb_bugMeNot.Checked;
|
||||
|
||||
//Standard values
|
||||
m.ReputationTotal = 20;
|
||||
m.ReputationCurrent = 20;
|
||||
m.ForumPosts = 0;
|
||||
|
||||
//add the group
|
||||
m.Groups = new string[] { Group };
|
||||
|
||||
mp.SaveOrUpdate(m);
|
||||
|
||||
Response.Redirect(umbraco.library.NiceUrl(NextPage));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected void updateVendor(object sender, EventArgs e)
|
||||
{
|
||||
var vendorProvider = (IVendorProvider)MarketplaceProviderManager.Providers["VendorProvider"];
|
||||
var vendor = vendorProvider.GetVendorById(m.Id);
|
||||
|
||||
vendor.VendorCompanyName = tb_vendorCompany.Text;
|
||||
vendor.VendorCountry = dd_vendorCountry.SelectedValue;
|
||||
vendor.VendorDescription = tb_vendorDescription.Text;
|
||||
|
||||
vendor.VendorUrl = tb_vendorUrl.Text;
|
||||
vendor.SupportUrl = tb_vendorSupportUrl.Text;
|
||||
vendor.BillingContactEmail = tb_vendorBillingEmail.Text;
|
||||
vendor.SupportContactEmail = tb_vendorSupportEmail.Text;
|
||||
vendor.IBAN = tb_vendorIban.Text;
|
||||
vendor.SWIFT = tb_vendorSwift.Text;
|
||||
vendor.BSB = tb_vendorBsb.Text;
|
||||
vendor.AccountNumber = tb_vendorAccount.Text;
|
||||
vendor.PayPalAccount = tb_vendorPayPal.Text;
|
||||
vendor.BaseCurrency = tb_vendorBaseCurrency.Text;
|
||||
vendor.TaxId = tb_vendorTaxId.Text;
|
||||
vendor.VATNumber = tb_vendorVatNumber.Text;
|
||||
|
||||
if (cb_vendorTerms.Enabled && cb_vendorTerms.Checked)
|
||||
{
|
||||
vendor.DeliTermsAgreementDate = DateTime.Now.ToUniversalTime();
|
||||
}
|
||||
|
||||
vendorProvider.SaveOrUpdate(vendor);
|
||||
|
||||
Response.Redirect(umbraco.library.NiceUrl(NextPage));
|
||||
}
|
||||
|
||||
protected void ChangeProfile(object sender, EventArgs e)
|
||||
{
|
||||
var b = sender as LinkButton;
|
||||
var parentControl = b.Parent as HtmlGenericControl;
|
||||
|
||||
switch (b.CommandArgument)
|
||||
{
|
||||
case "Basic":
|
||||
|
||||
SignupBasicProfile.Visible = true;
|
||||
VendorProfile.Visible = false;
|
||||
parentControl.Attributes.Add("class", "current");
|
||||
((HtmlGenericControl)vendorNav.Parent).Attributes.Add("class", "");
|
||||
break;
|
||||
case "Vendor":
|
||||
SignupBasicProfile.Visible = false;
|
||||
VendorProfile.Visible = true;
|
||||
parentControl.Attributes.Add("class", "current");
|
||||
((HtmlGenericControl)profileNav.Parent).Attributes.Add("class", "");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
@@ -1,465 +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 Marketplace.usercontrols.Deli.Profile {
|
||||
|
||||
|
||||
public partial class Signup {
|
||||
|
||||
/// <summary>
|
||||
/// ProfileNavigation 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.PlaceHolder ProfileNavigation;
|
||||
|
||||
/// <summary>
|
||||
/// profileNav 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.LinkButton profileNav;
|
||||
|
||||
/// <summary>
|
||||
/// vendorNav 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.LinkButton vendorNav;
|
||||
|
||||
/// <summary>
|
||||
/// SignupBasicProfile 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.PlaceHolder SignupBasicProfile;
|
||||
|
||||
/// <summary>
|
||||
/// Label1 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.Label Label1;
|
||||
|
||||
/// <summary>
|
||||
/// tb_name 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.TextBox tb_name;
|
||||
|
||||
/// <summary>
|
||||
/// Label2 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.Label Label2;
|
||||
|
||||
/// <summary>
|
||||
/// tb_company 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.TextBox tb_company;
|
||||
|
||||
/// <summary>
|
||||
/// Label3 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.Label Label3;
|
||||
|
||||
/// <summary>
|
||||
/// tb_email 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.TextBox tb_email;
|
||||
|
||||
/// <summary>
|
||||
/// Label4 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.Label Label4;
|
||||
|
||||
/// <summary>
|
||||
/// tb_password 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.TextBox tb_password;
|
||||
|
||||
/// <summary>
|
||||
/// Label10 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.Label Label10;
|
||||
|
||||
/// <summary>
|
||||
/// tb_bio 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.TextBox tb_bio;
|
||||
|
||||
/// <summary>
|
||||
/// tb_companyVatNumber 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.TextBox tb_companyVatNumber;
|
||||
|
||||
/// <summary>
|
||||
/// tb_companyAddress 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.TextBox tb_companyAddress;
|
||||
|
||||
/// <summary>
|
||||
/// dd_companyCountry control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Marketplace.Controls.CountryDropDownList dd_companyCountry;
|
||||
|
||||
/// <summary>
|
||||
/// tb_companyBillingEmail 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.TextBox tb_companyBillingEmail;
|
||||
|
||||
/// <summary>
|
||||
/// Label5 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.Label Label5;
|
||||
|
||||
/// <summary>
|
||||
/// tb_twitter 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.TextBox tb_twitter;
|
||||
|
||||
/// <summary>
|
||||
/// Label6 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.Label Label6;
|
||||
|
||||
/// <summary>
|
||||
/// tb_flickr 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.TextBox tb_flickr;
|
||||
|
||||
/// <summary>
|
||||
/// tb_emailConfirm 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.TextBox tb_emailConfirm;
|
||||
|
||||
/// <summary>
|
||||
/// Label7 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.Label Label7;
|
||||
|
||||
/// <summary>
|
||||
/// tb_treshold 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.TextBox tb_treshold;
|
||||
|
||||
/// <summary>
|
||||
/// Label9 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.Label Label9;
|
||||
|
||||
/// <summary>
|
||||
/// cb_bugMeNot 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 cb_bugMeNot;
|
||||
|
||||
/// <summary>
|
||||
/// Label8 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.Label Label8;
|
||||
|
||||
/// <summary>
|
||||
/// tb_location 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.TextBox tb_location;
|
||||
|
||||
/// <summary>
|
||||
/// tb_lat 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.HiddenField tb_lat;
|
||||
|
||||
/// <summary>
|
||||
/// tb_lng 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.HiddenField tb_lng;
|
||||
|
||||
/// <summary>
|
||||
/// bt_submit 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.Button bt_submit;
|
||||
|
||||
/// <summary>
|
||||
/// VendorProfile 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.PlaceHolder VendorProfile;
|
||||
|
||||
/// <summary>
|
||||
/// tb_vendorCompany 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.TextBox tb_vendorCompany;
|
||||
|
||||
/// <summary>
|
||||
/// tb_vendorDescription 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.TextBox tb_vendorDescription;
|
||||
|
||||
/// <summary>
|
||||
/// tb_vendorUrl 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.TextBox tb_vendorUrl;
|
||||
|
||||
/// <summary>
|
||||
/// tb_vendorSupportUrl 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.TextBox tb_vendorSupportUrl;
|
||||
|
||||
/// <summary>
|
||||
/// tb_vendorBillingEmail 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.TextBox tb_vendorBillingEmail;
|
||||
|
||||
/// <summary>
|
||||
/// tb_vendorSupportEmail 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.TextBox tb_vendorSupportEmail;
|
||||
|
||||
/// <summary>
|
||||
/// dd_vendorCountry control.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Auto-generated field.
|
||||
/// To modify move field declaration from designer file to code-behind file.
|
||||
/// </remarks>
|
||||
protected global::Marketplace.Controls.CountryDropDownList dd_vendorCountry;
|
||||
|
||||
/// <summary>
|
||||
/// tb_vendorBaseCurrency 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.TextBox tb_vendorBaseCurrency;
|
||||
|
||||
/// <summary>
|
||||
/// tb_vendorIban 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.TextBox tb_vendorIban;
|
||||
|
||||
/// <summary>
|
||||
/// tb_vendorSwift 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.TextBox tb_vendorSwift;
|
||||
|
||||
/// <summary>
|
||||
/// tb_vendorBsb 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.TextBox tb_vendorBsb;
|
||||
|
||||
/// <summary>
|
||||
/// tb_vendorAccount 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.TextBox tb_vendorAccount;
|
||||
|
||||
/// <summary>
|
||||
/// tb_vendorPayPal 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.TextBox tb_vendorPayPal;
|
||||
|
||||
/// <summary>
|
||||
/// tb_vendorTaxId 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.TextBox tb_vendorTaxId;
|
||||
|
||||
/// <summary>
|
||||
/// tb_vendorVatNumber 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.TextBox tb_vendorVatNumber;
|
||||
|
||||
/// <summary>
|
||||
/// cb_vendorTerms 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 cb_vendorTerms;
|
||||
|
||||
/// <summary>
|
||||
/// bt_vendorSubmit 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.Button bt_vendorSubmit;
|
||||
}
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="HeaderLogin.ascx.cs" Inherits="our.usercontrols.HeaderLogin" %>
|
||||
<asp:PlaceHolder ID="ph_main" runat="server">
|
||||
<span class="memberProfileInfo">
|
||||
<asp:Literal ID="lt_LoggedInmsg" runat="server">You are logged in as <strong>%name%</strong></asp:Literal>
|
||||
<asp:Literal ID="lt_notLoggedInmsg" runat="server">You are not logged in</asp:Literal>
|
||||
</span>
|
||||
|
||||
<asp:HyperLink ID="hl_profile" CssClass="memberLoginLink" runat="server">Your profile</asp:HyperLink>
|
||||
<asp:LinkButton ID="lb_logout" OnClick="logout_click" CssClass="memberLoginLink" runat="server">Log out</asp:LinkButton>
|
||||
<asp:HyperLink ID="hl_login" CssClass="memberLoginLink" runat="server">Log in</asp:HyperLink>
|
||||
<asp:HyperLink ID="hl_create" CssClass="memberCreateLink" runat="server">Create a profile</asp:HyperLink>
|
||||
</asp:PlaceHolder>
|
||||
@@ -1,20 +0,0 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="True" CodeBehind="Login_novalidationscript.ascx.cs" Inherits="Marketplace.usercontrols.ourUmbraco.Login_novalidationscript" %>
|
||||
<asp:panel ID="Panel1" runat="server" defaultbutton="bt_login">
|
||||
<div class="form simpleForm" id="registrationForm">
|
||||
<fieldset>
|
||||
<asp:Literal ID="lt_err" runat="server" Visible="false" />
|
||||
<div>
|
||||
<asp:label ID="Label2" AssociatedControlID="tb_email" CssClass="inputLabel" runat="server">Email</asp:label>
|
||||
<asp:TextBox ID="tb_email" runat="server" ToolTip="Please enter your email address" CssClass="email title"/>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<asp:label ID="Label3" AssociatedControlID="tb_password" CssClass="inputLabel" runat="server">Password</asp:label>
|
||||
<asp:TextBox ID="tb_password" runat="server" ToolTip="Please enter your password" TextMode="Password" CssClass="password title"/>
|
||||
</div>
|
||||
<div class="buttons">
|
||||
<asp:Button ID="bt_login" onclick="login" CssClass="cancel" runat="server" Text="Login" />
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
</asp:panel>
|
||||
@@ -1,46 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Web;
|
||||
using System.Web.UI;
|
||||
using System.Web.UI.WebControls;
|
||||
|
||||
namespace Marketplace.usercontrols.ourUmbraco
|
||||
{
|
||||
public partial class Login_novalidationscript : System.Web.UI.UserControl
|
||||
{
|
||||
public int NextPage { get; set; }
|
||||
public string ErrorMessage { get; set; }
|
||||
|
||||
protected void Page_Load(object sender, EventArgs e)
|
||||
{
|
||||
umbraco.library.RegisterJavaScriptFile("jquery.validation", "/scripts/jquery.validation.js");
|
||||
}
|
||||
|
||||
protected void login(object sender, EventArgs e)
|
||||
{
|
||||
string email = tb_email.Text;
|
||||
string password = tb_password.Text;
|
||||
string redirectUrl = Request.QueryString["redirectUrl"];
|
||||
|
||||
umbraco.cms.businesslogic.member.Member m = umbraco.cms.businesslogic.member.Member.GetMemberFromLoginNameAndPassword(email, password);
|
||||
|
||||
if (m != null)
|
||||
{
|
||||
umbraco.cms.businesslogic.member.Member.AddMemberToCache(m);
|
||||
|
||||
if (!string.IsNullOrEmpty(redirectUrl))
|
||||
Response.Redirect(redirectUrl);
|
||||
|
||||
if (NextPage > 0)
|
||||
Response.Redirect(umbraco.library.NiceUrl(NextPage) + "?loggedin=true");
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
lt_err.Text = "<div class='error'><p>" + ErrorMessage + "</p></div>";
|
||||
lt_err.Visible = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
-78
@@ -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 Marketplace.usercontrols.ourUmbraco {
|
||||
|
||||
|
||||
public partial class Login_novalidationscript {
|
||||
|
||||
/// <summary>
|
||||
/// Panel1 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 Panel1;
|
||||
|
||||
/// <summary>
|
||||
/// lt_err 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.Literal lt_err;
|
||||
|
||||
/// <summary>
|
||||
/// Label2 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.Label Label2;
|
||||
|
||||
/// <summary>
|
||||
/// tb_email 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.TextBox tb_email;
|
||||
|
||||
/// <summary>
|
||||
/// Label3 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.Label Label3;
|
||||
|
||||
/// <summary>
|
||||
/// tb_password 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.TextBox tb_password;
|
||||
|
||||
/// <summary>
|
||||
/// bt_login 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.Button bt_login;
|
||||
}
|
||||
}
|
||||
@@ -1,27 +0,0 @@
|
||||
<%@ Control Language="c#" AutoEventWireup="false" Codebehind="umbLogin.ascx.cs" Inherits="umbracoMemberControls.umbGroupSignInOut" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
|
||||
<asp:Panel id="PanelSignIn" runat="server">
|
||||
<TABLE id="Table1" cellSpacing="1" cellPadding="1" width="300" border="0">
|
||||
<TR>
|
||||
<TD>
|
||||
<asp:Literal id="LiteralTitle" runat="server" Text="Username"></asp:Literal></TD>
|
||||
<TD>
|
||||
<asp:TextBox id="TextBoxUserName" runat="server" Width="104px"></asp:TextBox></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD>Password</TD>
|
||||
<TD>
|
||||
<asp:TextBox id="TextBoxPassword" runat="server" Width="104px" TextMode="Password"></asp:TextBox></TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD></TD>
|
||||
<TD>
|
||||
<asp:Button id="ButtonForumCreate" runat="server" Text="Login" CssClass="umbGroupButton"></asp:Button></TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</asp:Panel>
|
||||
<asp:Panel id="PanelSignOut" runat="server">
|
||||
<asp:Literal id="LiteralLogout" runat="server"></asp:Literal>
|
||||
<asp:LinkButton id="LinkButtonLogout" runat="server">
|
||||
<asp:Literal ID="signoutText" Runat="server">Sign Out</asp:Literal>
|
||||
</asp:LinkButton>
|
||||
</asp:Panel>
|
||||
@@ -262,4 +262,56 @@
|
||||
<loadcontrol>
|
||||
</loadcontrol>
|
||||
</package>
|
||||
<package id="11" version="stub" url="stub" name="RegistrationMacro" folder="638b6655-725a-4494-9a48-1ff5b2865495" packagepath="~/media/created-packages/RegistrationMacro_stub.zip" repositoryGuid="" packageGuid="756aa1d5-cc65-4df7-bb0b-353dfecf5b02" hasUpdate="False" enableSkins="False" skinRepoGuid="00000000-0000-0000-0000-000000000000">
|
||||
<license url="http://opensource.org/licenses/MIT">MIT License</license>
|
||||
<author url="stub">stub</author>
|
||||
<readme><![CDATA[stub]]></readme>
|
||||
<actions>
|
||||
</actions>
|
||||
<datatypes>
|
||||
</datatypes>
|
||||
<content nodeId="" loadChildNodes="False">
|
||||
</content>
|
||||
<templates>
|
||||
</templates>
|
||||
<stylesheets>
|
||||
</stylesheets>
|
||||
<documenttypes>
|
||||
</documenttypes>
|
||||
<macros>1154</macros>
|
||||
<files>
|
||||
</files>
|
||||
<languages>
|
||||
</languages>
|
||||
<dictionaryitems>
|
||||
</dictionaryitems>
|
||||
<loadcontrol>
|
||||
</loadcontrol>
|
||||
</package>
|
||||
<package id="12" version="stub" url="stub" name="LatestForumActivityMacro" folder="67c164c5-5e2b-43bb-bccf-196970d143ec" packagepath="~/media/created-packages/LatestForumActivityMacro_stub.zip" repositoryGuid="" packageGuid="02545cbf-6ac9-478d-9e40-7976b8b698a5" hasUpdate="False" enableSkins="False" skinRepoGuid="00000000-0000-0000-0000-000000000000">
|
||||
<license url="http://opensource.org/licenses/MIT">MIT License</license>
|
||||
<author url="stub">stub</author>
|
||||
<readme><![CDATA[stub]]></readme>
|
||||
<actions>
|
||||
</actions>
|
||||
<datatypes>
|
||||
</datatypes>
|
||||
<content nodeId="" loadChildNodes="False">
|
||||
</content>
|
||||
<templates>
|
||||
</templates>
|
||||
<stylesheets>
|
||||
</stylesheets>
|
||||
<documenttypes>
|
||||
</documenttypes>
|
||||
<macros>1155</macros>
|
||||
<files>
|
||||
</files>
|
||||
<languages>
|
||||
</languages>
|
||||
<dictionaryitems>
|
||||
</dictionaryitems>
|
||||
<loadcontrol>
|
||||
</loadcontrol>
|
||||
</package>
|
||||
</packages>
|
||||
@@ -4650,9 +4650,9 @@
|
||||
<Content Include="xslt\Web.config" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\Marketplace\Marketplace.csproj">
|
||||
<ProjectReference Include="..\Marketplace\uProject.csproj">
|
||||
<Project>{6a2b659e-8bae-4cd5-8764-851dfbe95fbf}</Project>
|
||||
<Name>Marketplace</Name>
|
||||
<Name>uProject</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\NotificationsWeb\NotificationsWeb.csproj">
|
||||
<Project>{6cf53d68-bd81-47bb-8f56-350a1b04f114}</Project>
|
||||
|
||||
@@ -12,9 +12,9 @@
|
||||
|
||||
var openForCollab = project.GetPropertyValue<bool>("openForCollab");
|
||||
|
||||
var contris = new List<Marketplace.Models.ProjectContributor>();
|
||||
var contris = new List<uProject.Models.ProjectContributor>();
|
||||
|
||||
using (var cs = new Marketplace.Services.ContributionService())
|
||||
using (var cs = new uProject.Services.ContributionService())
|
||||
{
|
||||
contris = cs.GetContributions(id).ToList();
|
||||
}
|
||||
|
||||
+1
-1
@@ -38,7 +38,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{F3A30E
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "uRelease", "uRelease\uRelease.csproj", "{C5B74E6A-ABCE-4A9A-896D-89C33FDAFCD8}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Marketplace", "Marketplace\Marketplace.csproj", "{6A2B659E-8BAE-4CD5-8764-851DFBE95FBF}"
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "uProject", "Marketplace\uProject.csproj", "{6A2B659E-8BAE-4CD5-8764-851DFBE95FBF}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "uWiki", "uWiki\uWiki.csproj", "{996601FA-5C0E-46A6-B39D-2863BADC80D8}"
|
||||
EndProject
|
||||
|
||||
Reference in New Issue
Block a user