-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
220 changed files
with
26,094 additions
and
106 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
@{ | ||
Layout = "/_Master.cshtml"; | ||
|
||
ViewData[Keys.Title] = "Addins - " + Model.String(Keys.GroupKey); | ||
} | ||
|
||
@section Infobar { | ||
} | ||
|
||
@section Sidebar { | ||
@Html.Partial("_AddinsSidebar") | ||
} | ||
|
||
<section class="content-header"> | ||
<h1>@Model.String(Keys.GroupKey)</h1> | ||
</section> | ||
<section class="content"> | ||
@Html.Partial("_AddinsList", Model.DocumentList(Keys.GroupDocuments)) | ||
@RenderBody() | ||
</section> |
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,57 @@ | ||
@model IEnumerable<IDocument> | ||
|
||
<p> | ||
This page contains core and third party addins for Cake Issues. | ||
If you want to file an issue for any addin listed here, contact the author of the addin. | ||
</p> | ||
<p> | ||
See <a href="../dsl">Reference</a> for a list of aliases provided by these addins. | ||
</p> | ||
<p> | ||
If you're an addin author and want your addin listed here, follow the instructions <a href="https://github.com/cake-contrib/Cake.Issues.Website/blob/develop/README.md#addins">here</a>. | ||
</p> | ||
|
||
@foreach(IDocument addin in Model) | ||
{ | ||
string description = @addin.String("Description"); | ||
string author = @addin.String("Author"); | ||
string nuget = @addin.String("NuGet"); | ||
string repositoryOwner = @addin.String("repositoryOwner"); | ||
string repositoryName = @addin.String("repositoryName"); | ||
string documentationLink = @addin.String("documentationLink"); | ||
|
||
<a id="@(nuget)"></a> | ||
<div class="panel panel-default"> | ||
<div class="panel-heading"> | ||
<h3 class="panel-title"><i class="fa fa-puzzle-piece"></i> @addin.String("Name")</h3> | ||
</div> | ||
<div class="panel-body"> | ||
@if(!string.IsNullOrEmpty(description)) | ||
{ | ||
<p>@description</p> | ||
} | ||
<dl class="dl-horizontal"> | ||
@if(!string.IsNullOrEmpty(author)) | ||
{ | ||
<dt>Author</dt> | ||
<dd>@author</dd> | ||
} | ||
@if(!string.IsNullOrEmpty(nuget)) | ||
{ | ||
<dt>NuGet</dt> | ||
<dd><a href="https://www.nuget.org/packages/@(nuget)">@nuget</a></dd> | ||
} | ||
@if(!string.IsNullOrEmpty(repositoryOwner) && !string.IsNullOrEmpty(repositoryName)) | ||
{ | ||
<dt>Repository</dt> | ||
<dd><a href="https://github.com/@(repositoryOwner)/@(repositoryName)">@(repositoryOwner)/@(repositoryName)</a></dd> | ||
} | ||
@if(!string.IsNullOrEmpty(documentationLink)) | ||
{ | ||
<dt>Documentation</dt> | ||
<dd><a href="@Context.GetLink(documentationLink)">Documentation</a></dd> | ||
} | ||
</dl> | ||
</div> | ||
</div> | ||
} |
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,6 @@ | ||
<li class="header">Categories</li> | ||
@foreach(IDocument group in Documents.FromPipeline("AddinCategories")) | ||
{ | ||
string selectedClass = group.String(Keys.GroupKey) == Model.String(Keys.GroupKey) ? "selected" : null; | ||
<li class="@selectedClass"><a href="@Context.GetLink(group)">@group.String(Keys.GroupKey)</a></li> | ||
} |
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,21 @@ | ||
@{ | ||
Layout = "/_BlogLayout.cshtml"; | ||
} | ||
|
||
@Html.Partial("_BlogPostDetails") | ||
|
||
@RenderBody() | ||
|
||
<hr /> | ||
|
||
@{ | ||
string sharingLink = Uri.EscapeDataString(Context.GetLink(Model)); | ||
string sharingTitle = Uri.EscapeDataString(Model.String(Keys.Title)); | ||
} | ||
<ul class="share-buttons"> | ||
<li><a href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fcakeissues.net@(sharingLink)&t=@(sharingTitle)" title="Share on Facebook" target="_blank"><img alt="Share on Facebook" src="/assets/images/facebook.svg"></a></li> | ||
<li><a href="https://twitter.com/intent/tweet?source=https%3A%2F%2Fcakeissues.net@(sharingLink)&text=@(sharingTitle):%20https%3A%2F%2Fcakeissues.net@(sharingLink)&via=cakeissuesnet" target="_blank" title="Tweet"><img alt="Tweet" src="/assets/images/twitter.svg"></a></li> | ||
<li><a href="http://www.reddit.com/submit?url=https%3A%2F%2Fcakeissues.net@(sharingLink)&title=@(sharingTitle)" target="_blank" title="Submit to Reddit"><img alt="Submit to Reddit" src="/assets/images/reddit.svg"></a></li> | ||
<li><a href="http://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fcakeissues.net@(sharingLink)&title=@(sharingTitle)&summary=&source=https%3A%2F%2Fcakeissues.net@(sharingLink)" target="_blank" title="Share on LinkedIn"><img alt="Share on LinkedIn" src="/assets/images/linkedin.svg"></a></li> | ||
<li><a href="mailto:?subject=@(sharingTitle)&body=:%20https%3A%2F%2Fcakeissues.net@(sharingLink)" target="_blank" title="Send email"><img alt="Send email" src="/assets/images/envelope.svg"></a></li> | ||
</ul> |
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,66 @@ | ||
<div class="github-button"> | ||
<a href="https://github.com/search?q=topic%3Acake-issues&type=Repositories" target="_blank"><i class="fa fa-github"></i> GitHub</a> | ||
</div> | ||
<script> | ||
((window.gitter = {}).chat = {}).options = { | ||
room: 'cake-contrib/Lobby' | ||
}; | ||
</script> | ||
<script src="https://sidecar.gitter.im/dist/sidecar.v1.js" async defer></script> | ||
|
||
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.js"></script> | ||
<script type="text/javascript"> | ||
docsearch({ | ||
apiKey: '24e9e5844c59a6c2b72084ed6effc891', | ||
indexName: 'cakeissues', | ||
inputSelector: '#search-query', | ||
debug: false | ||
}); | ||
</script> | ||
|
||
<script type="text/javascript" src="@Context.GetLink("/assets/js/anchor.min.js")"></script> | ||
<script type="text/javascript" src="@Context.GetLink("/assets/js/clipboard.min.js")"></script> | ||
<script type="text/javascript"> | ||
anchors.options.placement = 'left'; | ||
anchors.add('#content h1:not(.no-anchor), #content h2:not(.no-anchor), #content h3:not(.no-anchor), #content h4:not(.no-anchor)'); | ||
var snippets = document.querySelectorAll("pre > code"); | ||
[].forEach.call(snippets, function(snippet) { | ||
snippet.insertAdjacentHTML("beforebegin", "<button class='btn-copy' data-clipboard-snippet><img class='clippy' width=13 src='@Context.GetLink("/assets/images/clippy.svg")' alt='Copy to clipboard'></button>"); | ||
}); | ||
var clipboardSnippets = new Clipboard('[data-clipboard-snippet]', { | ||
target: function(trigger) { | ||
return trigger.nextElementSibling; | ||
} | ||
}); | ||
clipboardSnippets.on('success', function(e) { | ||
e.clearSelection(); | ||
showTooltip(e.trigger, "Copied!"); | ||
}); | ||
clipboardSnippets.on('error', function(e) { | ||
showTooltip(e.trigger, fallbackMessage(e.action)); | ||
}); | ||
var btns = document.querySelectorAll('.btn-copy'); | ||
for (var i = 0; i < btns.length; i++) { | ||
btns[i].addEventListener('mouseleave', function(e) { | ||
e.currentTarget.setAttribute('class', 'btn-copy'); | ||
e.currentTarget.removeAttribute('aria-label'); | ||
}); | ||
} | ||
function showTooltip(elem, msg) { | ||
elem.setAttribute('class', 'btn-copy tooltipped tooltipped-s'); | ||
elem.setAttribute('aria-label', msg); | ||
} | ||
function fallbackMessage(action) { | ||
var actionMsg = ''; | ||
var actionKey = (action === 'cut' ? 'X' : 'C'); | ||
if (/iPhone|iPad/i.test(navigator.userAgent)) { | ||
actionMsg = 'No support :('; | ||
} else if (/Mac/i.test(navigator.userAgent)) { | ||
actionMsg = 'Press ⌘-' + actionKey + ' to ' + action; | ||
} else { | ||
actionMsg = 'Press Ctrl-' + actionKey + ' to ' + action; | ||
} | ||
return actionMsg; | ||
} | ||
</script> |
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,5 @@ | ||
<p class="text-muted"> | ||
Copyright © <a href="http://bbtsoftware.ch" target="_blank">BBT Software AG</a> and <a href="https://github.com/cake-contrib/Cake.Issues/graphs/contributors" target="_blank">contributors</a>. | ||
<br/> | ||
Website generated by <a href="http://wyam.io" target="_blank">Wyam</a> | ||
</p> |
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 @@ | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsearch.js@2/dist/cdn/docsearch.min.css" /> |
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,19 @@ | ||
<div class="navbar-right navbar-form"> | ||
<input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off" autofocus> | ||
</div> | ||
|
||
@{ | ||
List<Tuple<string, string>> pages = new List<Tuple<string, string>> | ||
{ | ||
Tuple.Create("News", Context.GetLink("news")), | ||
Tuple.Create("Documentation", Context.GetLink("docs")), | ||
Tuple.Create("Reference", Context.GetLink("dsl")), | ||
Tuple.Create("Addins", Context.GetLink("addins")), | ||
Tuple.Create("API", Context.GetLink("api/Cake.Issues")) | ||
}; | ||
foreach(Tuple<string, string> p in pages) | ||
{ | ||
string active = Context.GetLink(Document).StartsWith(p.Item2) ? "active" : null; | ||
<li class="@active"><a href="@p.Item2">@Html.Raw(p.Item1)</a></li> | ||
} | ||
} |
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,12 @@ | ||
--- | ||
Title: Addins | ||
NoSidebar: false | ||
--- | ||
@section Infobar { | ||
} | ||
|
||
@section Sidebar { | ||
@Html.Partial("_AddinsSidebar") | ||
} | ||
|
||
@Html.Partial("_AddinsList", Documents["Addins"]) |
Binary file not shown.
Oops, something went wrong.