Skip to content

Commit 2e86958

Browse files
committed
added download button to all examples
1 parent 4cb4cc8 commit 2e86958

5 files changed

Lines changed: 52 additions & 10 deletions

File tree

src/ServiceStack.Examples/ServiceStack.Examples.Clients/Silverlight.htm

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,16 @@ <h4>3. Try the live examples yourself:</h4>
106106
</object><iframe id="_sl_historyFrame" style="visibility:hidden;height:0px;width:0px;border:0px"></iframe></div>
107107
</form>
108108

109-
<h4>4. Get the source code:</h4>
109+
<h4>4. View the source code online or Download:</h4>
110110
<p>
111-
You can view the source code for this example at
112-
<a href="http://code.google.com/p/servicestack/source/browse/#svn/trunk/ServiceStack.Examples/ServiceStack.Examples.Clients.Silverlight">
113-
http://code.google.com/p/servicestack/source/browse/#svn/trunk/ServiceStack.Examples/ServiceStack.Examples.Clients.Silverlight
111+
The complete source code for this example is
112+
<a href="https://github.com/mythz/ServiceStack.Examples/tree/master/src/ServiceStack.Examples/ServiceStack.Examples.Clients.Silverlight/">
113+
viewable online
114+
</a>
115+
or available to download as zip package from the link below:
116+
117+
<a id="btn-download" href="https://github.com/mythz/ServiceStack.Examples/downloads">
118+
<img src="http://www.servicestack.net/btn-download.gif" alt="Download ServiceStack.Examples.zip">
114119
</a>
115120
</p>
116121

src/ServiceStack.Examples/ServiceStack.Examples.Clients/Soap11.aspx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,19 @@
123123

124124
</form>
125125

126+
<h3>View the source code online or Download:</h3>
127+
<p>
128+
The complete source code for this example is
129+
<a href="https://github.com/mythz/ServiceStack.Examples/tree/master/src/ServiceStack.Examples/ServiceStack.Examples.Clients/">
130+
viewable online
131+
</a>
132+
or available to download as zip package from the link below:
133+
134+
<a id="btn-download" href="https://github.com/mythz/ServiceStack.Examples/downloads">
135+
<img src="http://www.servicestack.net/btn-download.gif" alt="Download ServiceStack.Examples.zip">
136+
</a>
137+
</p>
138+
126139

127140
<div id="footer-links">
128141
<a href="http://mono-project.com/">

src/ServiceStack.Examples/ServiceStack.Examples.Clients/Soap12.aspx

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,22 @@
119119
</dd>
120120
</dl>
121121
</div>
122-
123-
122+
124123
</form>
125124

125+
<h3>View the source code online or Download:</h3>
126+
<p>
127+
The complete source code for this example is
128+
<a href="https://github.com/mythz/ServiceStack.Examples/tree/master/src/ServiceStack.Examples/ServiceStack.Examples.Clients/">
129+
viewable online
130+
</a>
131+
or available to download as zip package from the link below:
132+
133+
<a id="btn-download" href="https://github.com/mythz/ServiceStack.Examples/downloads">
134+
<img src="http://www.servicestack.net/btn-download.gif" alt="Download ServiceStack.Examples.zip">
135+
</a>
136+
</p>
137+
126138

127139
<div id="footer-links">
128140
<a href="http://mono-project.com/">

src/ServiceStack.Examples/ServiceStack.Examples.Clients/default.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,4 +195,10 @@ ACRONYM
195195
.soapservice DD
196196
{
197197
margin-top: 5px;
198-
}
198+
}
199+
200+
#btn-download {
201+
display: block;
202+
margin: 15px 0;
203+
text-align: center;
204+
}

src/ServiceStack.Examples/ServiceStack.Examples.Clients/default.htm

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -593,14 +593,20 @@ <h4>4. Check out the other ways to call your services</h4>
593593
has a complete list of web services and end points that are available.<br />
594594
</p>
595595

596-
<h4>5. Get the source code:</h4>
596+
<h4>5. View the source code online or Download:</h4>
597597
<p>
598-
You can grab the source code for this example at
598+
The complete source code for this example is
599599
<a href="https://github.com/mythz/ServiceStack.Examples/tree/master/src/ServiceStack.Examples/ServiceStack.Examples.Clients/">
600-
https://github.com/mythz/ServiceStack.Examples/tree/master/src/ServiceStack.Examples/ServiceStack.Examples.Clients/
600+
viewable online
601+
</a>
602+
or available to download as zip package from the link below:
603+
604+
<a id="btn-download" href="https://github.com/mythz/ServiceStack.Examples/downloads">
605+
<img src="http://www.servicestack.net/btn-download.gif" alt="Download ServiceStack.Examples.zip">
601606
</a>
602607
</p>
603608

609+
604610
<div id="footer-links">
605611
<a href="http://mono-project.com/">
606612
<img src="img/Mono-powered-big.png" alt="powered by mono" />

0 commit comments

Comments
 (0)