public GoogleMapsModule()
        {
            ContentSamples.Add(@"
<table>
<tr><td>{SideBar}
{Name} | {Title} <br/>
{/SideBar}</td><td valign=""top"">{Map}</td></tr>
<tr><td></td><td>{SearchTextBoxAddress} {SearchDropDownDistance} {SearchButton}Zoek{/SearchButton}</td></tr>
</table>
{Marker}
    {Name}<br/>
    {Title}<br/>
    {PostCode} {Adres}<br/>    
    {Plaats}<br/>    
    {DrillDownLink}Details{/DrillDownLink}<br/>
{/Marker}
            ");
            IncludeScripts.Add("/_js/BitGoogleMapsModule.js");

            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "General"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Navigation"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Data"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Googlemaps instellingen", IsExternal = true, Url = "/_bitplate/EditPage/Modules/DataModules/GooglemapsModuleTab.aspx"
            });
        }
Beispiel #2
0
        public LoginModule() : base()
        {
            ContentSamples.Add(@"
<fieldset>
    <legend>Login</legend>
    <table>
        <tr>
            <td>Gebruikersnaam:</td>
            <td>{UsernameTextbox}</td>
        
        </tr>
        <tr>
            <td>Wachtwoord:</td>
            <td>{PasswordTextbox}</td>
        </tr>
        <tr>
            <td></td>
            <td>{LoginButton}Login{/LoginButton}</td>
        </tr>
    </table>
    {ErrorTemplate}{ErrorMessage}{/ErrorTemplate}
    
</fieldset>");
            ConfigPageUrl = ""; //geen extrene configpage url
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "General"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Navigation"
            });
        }
Beispiel #3
0
        public MyProfileModule()
            : base()
        {
            ContentSamples.Add(@"{MyProfileForm}
<h2>Eigen gegevens wijzigen</h2>

<div>Emailadres: {TextboxEmail}</div>
<div>Voornaam: {TextboxForeName}</div>
<div>Tussenvoegsel: {TextboxNamePrefix}</div>
<div>Achternaam: {TextboxName}</div>
<div>Geslacht: {RadioSexeMale}Man {RadioSexeFemale}Vrouw</div>
<div>Geboortedatum: {TextboxBirthDate}</div>
<div>&nbsp;</div>
<div>Huidige wachtwoord: {TextboxBirthDate}</div>
<div>Nieuwe wachtwoord: {TextboxBirthDate}</div>
<div>Herhaal nieuwe wachtwoord: {TextboxBirthDate}</div>
<div>&nbsp;</div>
<div>{SubmitButton}Wijzigen{/SubmitButton}</div>
{/MyProfileForm} 
{ErrorTemplate}Kan gegevens niet opslaan: <br />{ErrorMessage}{/ErrorTemplate}
{SaveSuccessTemplate}De gegevens zijn opgeslagen.{/SaveSuccessTemplate}
</div>");

            ConfigPageUrl = ""; //geen extrene configpage url
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "General"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Navigation"
            });
        }
Beispiel #4
0
        public SearchModule()
            : base()
        {
            ContentSamples.Add(@"{SearchTextbox} {SearchButton}Zoek{/SearchButton}");
            this.IncludeScripts.Add("/_js/BitFormValidation.js");

            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "General"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Navigation"
            });
        }
Beispiel #5
0
        public ItemDetailsModule()
            : base()
        {
            ContentSamples.Add(@"
<div><label>Naam: </label>{Naam}</div>
<div><label>Title: </label>{Titel}</div>");

            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "General"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Data"
            });
        }
Beispiel #6
0
 public DataBreadCrumbModule()
 {
     ContentSamples.Add(@"U bevindt zich hier:{RootLink}Home{/RootLink} :: {List}{DrillDownLink}{Title}{/DrillDownLink} :: {/List}
     ");
     ConfigPageTabPages.Add(new ModuleConfigTabPage {
         Name = "General"
     });
     ConfigPageTabPages.Add(new ModuleConfigTabPage {
         Name = "Navigation"
     });
     ConfigPageTabPages.Add(new ModuleConfigTabPage {
         Name = "Data"
     });
 }
Beispiel #7
0
        public LoginStatusModule()
            : base()
        {
            ContentSamples.Add(@"{UserTemplate}U bent ingelogd als {CompleteName} {LogoutButton}Uitloggen{/LogoutButton}{/UserTemplate}<br/>
{NoUserTemplate}U bent niet ingelogd{/NoUserTemplate}<br/>
{ErrorTemplate}Er is een fout opgetreden: {ErrorMessage}{/ErrorTemplate}
");

            ConfigPageUrl = ""; //geen extrene configpage url
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "General"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Navigation"
            });
        }
Beispiel #8
0
        public TreeViewModule()
        {
            this.IncludeScripts.Add("/_js/BitTreeView.js");
            this.IncludeScripts.Add("/_js/jstree/jquery.jstree.js");
            this.IncludeScripts.Add("/_js/jstree/_lib/jquery.cookie.js");
            this.IncludeScripts.Add("/_js/jstree/_lib/jquery.hotkeys.js");


            ContentSamples.Add(@"
            <!--{TreeView}-->
            <ul>
                <!--{TreeNode}-->
                <li id=""{TreeNode.ID}"">
                    <span>{TreeNode.DrillDownLink}{TreeNode.Title}{/TreeNode.DrillDownLink}</span>
                    {TreeNode.ChildNodes}
                </li>
                <!--{/TreeNode}-->    
            </ul>
            <!--{/TreeView}-->");

            //<ul>
            //    {rootNodes}
            //        <li>
            //            <span>{rootNode.Name}</span>
            //            <ul>
            //                {subNodes}
            //                    <li>{subNode.DrillDownLink}{subNode.Name}{/subNode.DrillDownLink}</li>
            //                {/subNodes}
            //            </ul>
            //        </li>
            //    {/rootNodes}
            //</ul>

            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "General"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Navigation"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Data"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Tree", IsExternal = true, Url = "/_bitplate/EditPage/Modules/DataModules/TreeviewModuleTab.aspx"
            });
        }
Beispiel #9
0
        public OptInModule()
        {
            ContentSamples.Add(@"<div>
                                    {SuccessTemplate}Uw emailadres is geverifieerd. U staat nu ingeschreven bij onze nieuwsbrief mailing.{/SuccessTemplate} 
                                    {ErrorTemplate}Dit verificatienummer kon niet worden geverifieerd.{/ErrorTemplate}
                                </div>
                                    ");

            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "General"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Navigation"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Optin instellingen", IsExternal = true, Url = "/_bitplate/EditPage/Modules/NewsletterModules/OptInModuleTab.aspx"
            });
        }
Beispiel #10
0
        public ItemInputModule()
            : base()
        {
            ContentSamples.Add(@"
<div><label>Naam: </label>{Naam}</div>
<div><label>Title: </label>{Titel}</div>");

            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "General"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Navigation"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Data"
            });
            //ConfigPageTabPages.Add(new ModuleConfigTabPage { Name = "DataInputConfig", IsExternal = true, Url = "/_bitplate/EditPage/Modules/DataModules/InputModuleTab.aspx" });
        }
Beispiel #11
0
        public MenuModule()
        {
            ContentSamples.Add(@"
<!--{Menu}-->
<ul>
	<!--{MenuItems}-->
	<li><a href=""{MenuItem.Url}"" target=""{MenuItem.Target}"" class=""{MenuItem.CssClass}"">{MenuItem.Name}</a>
    {MenuItem.ChildItems}
    </li>
	<!--{/MenuItems}-->
</ul>
<!--{/Menu}-->");
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "General"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Menu", IsExternal = true, Url = "/_bitplate/EditPage/Modules/Menu/MenuModuleTab.aspx"
            });
            this.CrossPagesMode = CrossPagesModeEnum.VisibleOnAllPagesInTemplate;
        }
        public ContactFormModule()
        {
            ContentSamples.Add(@"
<table>
	<tbody>
		<tr>
			<td>Naam:</td>
			<td><input data-validation=""required"" name=""Naam"" type=""text"" /></td>
		</tr>
		<tr>
			<td>Emailadres:</td>
			<td>{CustomerEmailAddress}</td>
		</tr>
		<tr>
			<td>Onderwerp</td>
			<td><input data-validation=""required"" name=""Onderwerp"" type=""text"" /></td>
		</tr>
		<tr>
			<td>Beschrijving</td>
			<td><textarea data-validation=""required"" name=""Beschrijving"" ></textarea></td>
		</tr>
	</tbody>
</table>

<p>{SubmitButton}Verstuur{/SubmitButton}</p>

<p>{ErrorTemplate}{ErrorMessage}{/ErrorTemplate}</p>");

            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "General"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Navigation"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Email instellingen", IsExternal = true, Url = "/_bitplate/EditPage/Modules/ContactFormModule/EmailConfigTab.aspx"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Email template", IsExternal = true, Url = "/_bitplate/EditPage/Modules/ContactFormModule/EmailTemplateTab.aspx"
            });
        }
Beispiel #13
0
        public MenuModuleV2()
        {
            ContentSamples.Add(@"
<ul class=""bitMenu"">
	<!--{MainMenuItems}-->
	<li class=""bitMainMenuItem""><a href=""{RootItem.Url}"" target=""{RootItem.Target}"" >{RootItem.Name}</a></li>
	<!--{SubMenu}-->
    <ul>
		<!--{SubMenuItems}-->
		<li class=""bitSubMenuItem""><a href=""{SubItem.Url}"" target=""{SubItem.Target}""  >{SubItem.Name}</a></li>
		<!--{/SubMenuItems}-->
	</ul>
    <!--{/SubMenu}-->
	<!--{/MainMenuItems}-->
</ul>");
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "General"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Menu", IsExternal = true, Url = "/_bitplate/EditPage/Modules/Menu/MenuModuleTab.aspx"
            });
            this.CrossPagesMode = CrossPagesModeEnum.VisibleOnAllPagesInTemplate;
            string css = @"
.bitMainMenuItem {

}
.bitSubMenuItem {
    
}
";

            this.Settings.Add("MenuCss", css);

            string js = @"
$(function() {
    $( '.bitMenu' ).menu();
  });
";

            this.Settings.Add("MenuJs", js);
        }
Beispiel #14
0
        public SearchResultsModule()
            : base()
        {
            ContentSamples.Add(@"{ResultsTemplate}<table id='divSearchResultsModule' >
        <thead>
          <tr>
            <td>
              Naam
            </td>
            <td>
              Titel
            </td>
            
          </tr>
        </thead>
        <tbody>
          <!--{List}-->
          <tr>
            <td>
              <a href=""{Url}"">{Name}</a>
            </td>
            <td>
              {Title}
            </td>
          </tr>
          <!--{/List}-->
        </tbody>
      </table>
{/ResultsTemplate}<br/>
Gevonden: {NumberOfResults}<br/>
{Pager}<br/>
{NoResultsTemplate}De zoekopdracht heeft geen resultaten opgeleverd.{/NoResultsTemplate}
");

            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "General"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Resultaten", IsExternal = true, Url = "/_bitplate/EditPage/Modules/SearchModules/SearchResultsModuleTab.aspx"
            });
        }
Beispiel #15
0
        //private List<Tag> _dataFieldTags = null;

        public FilterModule()
        {
            IncludeScripts.Add("/_js/BitFilterModule.js");
            ContentSamples.Add(@"
Zoek: {SearchAllTextBox}<br/>
Plaats hier ook de andere filtertags...<br/>
{FilterButton}Zoek{/FilterButton} {ClearFilterButton}Begin waarden{/ClearFilterButton}<br/>
");

            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "General"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Navigation"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Data"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Filter", IsExternal = true, Url = "/_bitplate/EditPage/Modules/DataModules/FilterModuleTab.aspx"
            });
        }
Beispiel #16
0
        public ItemListModule()
        {
            ContentSamples.Add(@"
            <table>
                <thead>
                  <tr>
                    <td>
                      Naam
                    </td>
                    <td>
                      Title
                    </td>
                  </tr>
                </thead>
                <tbody>
       <!--{List}-->
                <tr>
                    <td>
                      {DrillDownLink}{Naam}{/DrillDownLink}
                    </td>
                    <td>
                      {Titel}
                    </td>
                </tr>
        <!--{/List}-->
                </tbody>
            </table>");

            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "General"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Navigation"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Data"
            });
        }
        public UnsubscribeModule()
            : base()
        {
            //IncludeScripts.Add("/_js/BitNewsletterFormModule.js"); //wordt al in base gedaan
            ContentSamples.Clear();
            ContentSamples.Add(@"<div>{SubscriberForm}
    <h1>Afmelden voor de nieuwsbrief/Wijzigen gegevens</h1>
    <div>Emailadres: {LabelEmail}</div>
    <div>Voornaam: {TextboxForeName}</div>
    <div>Tussenvoegsel: {TextboxNamePrefix}</div>
    <div>Achternaam: {TextboxName}</div>
    <div>Bedrijf: {TextboxCompany}</div>
    <div>Geslacht: {RadioSexeMale}Man {RadioSexeFemale}Vrouw</div>
    <div>{NewsGroupCheckboxList}</div>
    <div>{SaveButton}Wijzigingen opslaan{/SaveButton} {UnsubscribeButton}Definitief beëindigen{/UnsubscribeButton}</div>
{/SubscriberForm}
 
{ErrorTemplate}Wijzigen zijn niet doorgevoerd: <br />{ErrorMessage}{/ErrorTemplate}

{SaveSuccessTemplate}U wijzigingen zijn opgeslagen.{/SaveSuccessTemplate}

{UnsubscribeSuccessTemplate}U wijzigingen zijn opgeslagen.{/UnsubscribeSuccessTemplate}

{UnsubscribeConfirmationTemplate}Weet u zeker dat u onze nieuwsbrief niet meer wil ontvangen?<br />
    {AcceptButton}Ja{/AcceptButton} {CancelButton}Nee{/CancelButton} 
{/UnsubscribeConfirmationTemplate}
");
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "General"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Navigation"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Afmeld instellingen", IsExternal = true, Url = "/_bitplate/EditPage/Modules/NewsletterModules/OptOutModuleTab.aspx"
            });
        }
Beispiel #18
0
        public SubscribeModule()
        {
            //IncludeScripts.Add("/_js/BitFormValidation.js");

            ContentSamples.Add(@"<div>{SubscriberForm}
                                    <div>
                                    <h1>Aanmelden voor de nieuwsbrief</h1>
                                    </div>

                                    <div>Emailadres: {TextboxEmailAddress}</div>
                                    <div>Voornaam: {TextboxForeName}</div>
                                    <div>Tussenvoegsel: {TextboxNamePrefix}</div>
                                    <div>Achternaam: {TextboxName}</div>
                                    <div>Bedrijf: {TextboxCompany}</div>

                                    <div>Geslacht: {RadioSexeMale}Man {RadioSexeFemale}Vrouw</div>

                                    <div>{NewsGroupCheckboxList}</div>

                                    <div>{SubmitButton}Aanmelden{/SubmitButton}</div>

                                    {/SubscriberForm} 
                                    {ErrorTemplate}Kan uw abonnement niet opslaan: <br />{ErrorMessage}{/ErrorTemplate}
                                    {SuccessTemplate}Hartelijk dank voor uw aanmelding. U ontvangt binnenkort onze nieuwsbrief.{/SuccessTemplate}
                                    
                                </div>");

            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "General"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Navigation"
            });
            ConfigPageTabPages.Add(new ModuleConfigTabPage {
                Name = "Aanmelding", IsExternal = true, Url = "/_bitplate/EditPage/Modules/NewsletterModules/SubscribeModuleTab.aspx"
            });
        }