Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add event calendar - ported from webforms edition
add pascal spaced extension to grid for better headings
- Loading branch information
1 parent
cb816cb
commit 0795b7b
Showing
104 changed files
with
8,179 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
using Carrotware.CMS.Interface; | ||
using System; | ||
using System.ComponentModel; | ||
|
||
/* | ||
* CarrotCake CMS (MVC Core) | ||
* http://www.carrotware.com/ | ||
* | ||
* Copyright 2015, 2023, Samantha Copeland | ||
* Dual licensed under the MIT or GPL Version 3 licenses. | ||
* | ||
* Date: June 2023 | ||
*/ | ||
|
||
namespace CarrotCake.CMS.Plugins.EventCalendarModule { | ||
|
||
public class CalendarDisplaySettings : WidgetActionSettingModel { | ||
|
||
public CalendarDisplaySettings() | ||
: base() { | ||
this.GenerateCss = true; | ||
} | ||
|
||
public override bool EnableEdit { | ||
get { | ||
return true; | ||
} | ||
} | ||
|
||
[Widget(WidgetAttribute.FieldMode.TextBox)] | ||
[Description("Specify CSS file to load")] | ||
public string SpecifiedCssFile { get; set; } | ||
|
||
[Widget(WidgetAttribute.FieldMode.CheckBox)] | ||
[Description("Auto generate CSS for calendar")] | ||
public bool GenerateCss { get; set; } | ||
|
||
public override void LoadData() { | ||
base.LoadData(); | ||
|
||
this.GenerateCss = Convert.ToBoolean(this.GetParmValue("GenerateCss", "true")); | ||
this.SpecifiedCssFile = this.GetParmValue("SpecifiedCssFile", String.Empty); | ||
} | ||
} | ||
} |
Oops, something went wrong.