This file contains hidden or 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
| <form method="post" action="/social/comments/add" id="commentForm"> | |
| <input type="hidden" name="pageId" value="@Model.CurrentPage.ContentGuid"/> | |
| <input type="text" name="author" placeholder="Your name..."/> | |
| <textarea name="body" id="commentBody" placeholder="Your comment..."></textarea> | |
| <br/> | |
| <input type="submit" id="commentSubmitButton" disabled="disabled" style="opacity: 0.5;" value="Submit" /> | |
| </form> | |
| <div id="commentList"> | |
| Loading comments... |
This file contains hidden or 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 is very alpha. It's just an idea I was screwing around with in LINQPad. | |
| Airtable might have a full-blown .NET API, for all I know. | |
| Deane | |
| July 19, 2017 | |
| */ |
This file contains hidden or 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
| using System; | |
| using System.Configuration; | |
| using System.Diagnostics; | |
| using System.Web; | |
| using Wyam.Core.Execution; | |
| using Wyam.Core.Modules.Contents; | |
| using Wyam.Core.Modules.Control; | |
| using Wyam.Core.Modules.IO; | |
| using Wyam.Core.Modules.Metadata; | |
| using Wyam.Markdown; |
This file contains hidden or 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
| using Newtonsoft.Json.Linq; | |
| using System; | |
| using System.Collections.Generic; | |
| using System.Configuration; | |
| using System.Data.SqlClient; | |
| using System.Linq; | |
| using System.Net; | |
| using System.Web.Http; | |
| // Note: for this to work, you need to insert this line in the Application_Start event of your global.asax |
NewerOlder