Skip to content

Commit 2e257d7

Browse files
committed
Social network links and minor fixes
* Tweet this * Fork me on Github * Output content formatted to pre * Spelling mistake
1 parent c776258 commit 2e257d7

File tree

5 files changed

+16
-3
lines changed

5 files changed

+16
-3
lines changed

Web/Content/Site.css

+9
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,15 @@ body {
152152
padding:7px 10px;
153153
}
154154

155+
.twitterlogo {
156+
background-image: url('/Images/twitter-bird-light-bgs.png');
157+
width: 25px;
158+
height: 15px;
159+
}
160+
161+
.twitterlogo span {
162+
visibility: hidden;
163+
}
155164

156165
a.versionInfo, a.versionInfo:hover, a.versionInfo:active{
157166
color: #fff;

Web/Images/twitter-bird-light-bgs.png

613 Bytes
Loading

Web/SourceCodeReader.Web.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,7 @@
269269
<Content Include="Content\jquery.mobile.theme-1.1.0.css" />
270270
<Content Include="Content\jquery.mobile.theme-1.1.0.min.css" />
271271
<Content Include="Content\Site.Mobile.css" />
272+
<Content Include="Images\twitter-bird-light-bgs.png" />
272273
<Content Include="TargetFiles\MSBuild-MS-VS\v10.0\WebApplications\Microsoft.WebApplication.Build.Tasks.Dll" />
273274
<Content Include="TargetFiles\MSBuild-MS-VS\v11.0\WebApplications\Microsoft.WebApplication.Build.Tasks.Dll" />
274275
<Content Include="favicon.ico" />

Web/Views/Home/Index.cshtml

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
@section PageSpecificMenu
22
{
33
<ul class="nav pull-right" data-bind="visible: projectIsActive">
4-
<li><a href="/">Close Sroject</a></li>
4+
<li><a href="/">&times; Close Project</a></li>
5+
<li><a href="http://twitter.com/share?url=http://sourcecodereader.apphb.com/&text=Code%20navigation%20for%20Github%20hosted%20C%23%20projects" target="_blank" class="twitterlogo" alt="Share this on Twitter"><span>Share this on Twitter</span></a></li>
56
</ul>
67
}
78

@@ -45,6 +46,7 @@
4546
<li data-bind="visible: !active, text: text, css: { active: !active}">
4647
</li>
4748
</ul>
49+
4850
</div>
4951
<div class="projectcontent stylishscrollbar dockrow scroll-x scroll-y">
5052
<div class="showprogress" data-bind="visible: inProgress"></div>
@@ -112,9 +114,9 @@
112114
<button class="close" data-bind="click: close">&times;</button>
113115
<div class="otherwindowheader"><span data-bind="text: title"></span></div>
114116
<div class="otherwindowpane container stylishscrollbar scroll-x scroll-y">
115-
<div data-bind="text: content" class="message">
117+
<pre data-bind="text: content">
116118

117-
</div>
119+
</pre>
118120
</div>
119121
</div>
120122
<!-- /ko -->

Web/Views/Shared/_Layout.cshtml

+1
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
</footer>
5151
</div>
5252
</div>
53+
<a href="https://github.com/cvrajeesh/SourceCodeReader" target="_blank"><img style="position: absolute; top: 30px; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a>
5354
@Scripts.Render("~/bundles/all")
5455
@RenderSection("scripts", required: false)
5556
</body>

0 commit comments

Comments
 (0)