Skip to content

Commit 4842162

Browse files
committed
Added more content
1 parent a9b3938 commit 4842162

File tree

3 files changed

+79
-3
lines changed

3 files changed

+79
-3
lines changed

Griddly/Content/Site.css

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,50 @@ input[type="checkbox"].input-validation-error {
4646
background-image:url(griddly-64.png);
4747
background-position:right center;
4848
background-repeat:no-repeat;
49+
}
50+
51+
.docs-social {
52+
margin-bottom: 20px;
53+
text-align: center
54+
}
55+
56+
.docs-social-buttons {
57+
display: inline-block;
58+
padding-left: 0;
59+
margin-bottom: 0;
60+
list-style: none
61+
}
62+
63+
.docs-social-buttons li {
64+
display: inline-block;
65+
padding: 5px 8px;
66+
line-height: 1
67+
}
68+
69+
.docs-social-buttons .twitter-follow-button {
70+
width: 225px!important
71+
}
72+
73+
.docs-social-buttons .twitter-share-button {
74+
width: 98px!important
75+
}
76+
77+
.github-btn {
78+
overflow: hidden;
79+
border: 0
80+
}
81+
82+
.nuget-badge code {
83+
-moz-border-radius: 5px;
84+
-webkit-border-radius: 5px;
85+
background-color: #202020;
86+
border: 4px solid silver;
87+
border-radius: 5px;
88+
box-shadow: 2px 2px 3px #6e6e6e;
89+
color: #e2e2e2;
90+
display: block;
91+
font: 1.5em 'andale mono','lucida console',monospace;
92+
line-height: 1.5em;
93+
overflow: auto;
94+
padding: 15px
4995
}

Griddly/Views/Home/Index.cshtml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,17 @@
1717

1818
<p>The default UI is rendered using <a href="http://getbootstrap.com">Bootstrap 3</a>, but you can add templates for whatever UI framework you use.</p>
1919

20+
<h2>Get Griddly on NuGet</h2>
21+
<div class="nuget-badge">
22+
<p>
23+
<code>
24+
PM&gt; Install-Package Griddly
25+
</code>
26+
</p>
27+
</div>
28+
or
29+
<a class="btn btn-primary" href="https://github.com/programcsharp/griddly">Download from GitHub</a>
30+
2031
<h3 id="example">Example</h3>
2132

2233
<p>Model:</p>

Griddly/Views/Shared/_Layout.cshtml

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,36 @@
2121
@Html.ActionLink("Griddly", "Index", "Home", null, new { @class = "navbar-brand" })
2222
</div>
2323
<div class="navbar-collapse collapse">
24-
<ul class="nav navbar-nav">
24+
@*<ul class="nav navbar-nav">
2525
<li>@Html.ActionLink("Home", "Index", "Home")</li>
2626
<li>@Html.ActionLink("About", "About", "Home")</li>
2727
<li>@Html.ActionLink("Contact", "Contact", "Home")</li>
2828
</ul>
29+
*@
2930
</div>
3031
</div>
3132
</div>
3233
<div class="container body-content">
3334
@RenderBody()
3435
<hr />
3536
<footer>
36-
<p>&copy; @DateTime.Now.Year - Chris Hynes, Data Research Group</p>
37+
<div class="docs-social">
38+
<ul class="docs-social-buttons">
39+
<li>
40+
<iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=programcsharp&amp;repo=griddly&amp;type=watch&amp;count=true" width="100" height="20" title="Star on GitHub"></iframe>
41+
</li>
42+
<li>
43+
<iframe class="github-btn" src="http://ghbtns.com/github-btn.html?user=programcsharp&amp;repo=griddly&amp;type=fork&amp;count=true" width="102" height="20" title="Fork on GitHub"></iframe>
44+
</li>
45+
<li class="follow-btn">
46+
<a href="https://twitter.com/griddlygrid" class="twitter-follow-button" data-link-color="#0069D6" data-show-count="true">Follow @@griddlygrid</a>
47+
</li>
48+
<li class="tweet-btn">
49+
<a href="https://twitter.com/share" class="twitter-share-button" data-url="http://griddly.com/" data-count="horizontal" data-via="griddlygrid" data-related="programcsharp:Creator of Griddly">Tweet</a>
50+
</li>
51+
</ul>
52+
</div>
53+
<p>&copy; @DateTime.Now.Year - Chris Hynes</p>
3754
</footer>
3855
</div>
3956

@@ -45,7 +62,9 @@
4562
@Scripts.Render("~/scripts/SyntaxHighlighter/shBrushCSharp.js")
4663
@RenderSection("scripts", required: false)
4764
<script>
48-
SyntaxHighlighter.all()
65+
SyntaxHighlighter.all();
66+
67+
!function (d, s, id) { var js, fjs = d.getElementsByTagName(s)[0], p = /^http:/.test(d.location) ? 'http' : 'https'; if (!d.getElementById(id)) { js = d.createElement(s); js.id = id; js.src = p + '://platform.twitter.com/widgets.js'; fjs.parentNode.insertBefore(js, fjs); } }(document, 'script', 'twitter-wjs');
4968
</script>
5069
</body>
5170
</html>

0 commit comments

Comments
 (0)