Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(531)

Unified Diff: src/site/docs/tutorials/forms/index.markdown

Issue 27070003: removing links to github in favor of downloading a zipfile from github (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/site/docs/tutorials/forms/index.markdown
diff --git a/src/site/docs/tutorials/forms/index.markdown b/src/site/docs/tutorials/forms/index.markdown
index b5444b573fa9a2d49543cb0a58def9dab4a9a63c..bdf3a3b8890e82ffb0115bd5330b2e1f9989c076 100644
--- a/src/site/docs/tutorials/forms/index.markdown
+++ b/src/site/docs/tutorials/forms/index.markdown
@@ -25,19 +25,16 @@ prev-title: "Fetch Data Dynamically"
{% capture sample_links %}
-<p>
-Get the source code for the samples featured in this tutorial:</p>
-<ul>
- <li>
- <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web/forms/search_form"
- target="_blank">search_form</a>
- </li>
- <li>
- <a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web/forms/slambook"
- target="_blank">slambook</a>
- </li>
-</ul>
+<p> This tutorial features these examples:</p>
+* search_form
+* slambook
+
+<p>
+Don't have the source code?
+<a href="https://github.com/dart-lang/dart-tutorials-samples/archive/master.zip">
+ Download it.
+</a>
{% endcapture %}
@@ -119,10 +116,6 @@ a useful resource for learning about Dart.
src="examples/search_form/web/search_form.html">
</iframe>
-The source code for this example is available on github:
-<a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web/forms/search_form"
- target="_blank">search_form</a>.
-
Here is the HTML code that creates the form:
{% prettify html %}
@@ -241,20 +234,19 @@ Enter some data and push the **Submit** button.
src="examples/slambook/out/web/slambook.html">
</iframe>
-The complete source code for both the client and the
-server is available on github:
-<a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web/forms/slambook" target="_blank">slambook</a>
-
The request gives you an innocent stare and displays "No server"
because you are not running the server on your machine.
Let's fix that.
###Run the server
-Download or copy the source code for the basic server program
-from the github repository:
-<a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web/forms/slambook/bin/slambookserver.dart"
- target="_blank">slambookserver.dart</a>
+Get the source code for the basic server program,
+slambookserver.dart,
+from the
+<a href="https://github.com/dart-lang/dart-tutorials-samples/archive/master.zip">
+ tutorials samples
+</a>
+download.
Run the server program from the command line:
@@ -857,10 +849,6 @@ Instead, you can look at a different example,
src="http://dart-lang.github.io/dart-tutorials-samples/web/forms/multiselect/web/out/multiselect.html">
</iframe>
-The source code for this example is available on github:
-<a href="https://github.com/dart-lang/dart-tutorials-samples/tree/master/web/forms/multiselect"
- target="_blank">multiselect</a>.
-
Key-value pairs in a map called `books` contain the data
for the &lt;select&gt; element.
The keys are strings and the values are boolean.

Powered by Google App Engine
This is Rietveld 408576698