Skip to content

Commit 9a5d05b

Browse files
committed
codespaces updates
1 parent cbb76ff commit 9a5d05b

7 files changed

+24
-4
lines changed

assets/stylesheets/doc_page.scss

+4
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,10 @@ img {
8080
display: block; /* otherwise centering doesn't happen */
8181
max-width: 100%;
8282
}
83+
img.screenshot {
84+
/*border: 1px solid #ccc;*/
85+
box-shadow: #666 1px 1px 5px;
86+
}
8387

8488
.model-diagram {
8589
margin: 0 auto;

sites/intro-to-rails/CRUD_with_scaffolding.step

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ steps {
2525
message "Point your browser to /topics"
2626
message "You should see the \"Topics\" page with headers for title and description, and a link to add a new topic:"
2727

28-
img src: "img/Seattle_topic_list_page.png", alt: "Screenshot of topic list page"
28+
img src: "img/Seattle_topic_list_page.png", alt: "Screenshot of topic list page", class: "screenshot"
2929
}
3030

3131
step {
@@ -35,15 +35,15 @@ steps {
3535
* You should see a page showing your new topic with a message that your topic was successfully created:
3636
MARKDOWN
3737

38-
img alt: "Screenshot of topic detail page with confirmation message", src: "img/Seattle_topic_created.png"
38+
img alt: "Screenshot of topic detail page with confirmation message", src: "img/Seattle_topic_created.png", class: "screenshot"
3939
}
4040

4141
step {
4242
message <<-MARKDOWN
4343
* Click "Back to topics"
4444
* You should see the topic list again, this time with your new topic listed:
4545

46-
![Screenshot of topic list with new topic](img/Seattle_list_with_topic.png)
46+
img alt: "Screenshot of topic list with new topic", src: "img/Seattle_list_with_topic.png", class: "screenshot"
4747

4848
* Click on one of the topics by clicking "Show this topic" and try the "Show", "Edit", and "Destroy" links to see what they do
4949
* You've created a basic database driven web site, congrats!

sites/intro-to-rails/getting_started.step

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
img src: "img/Start_page.png", alt: "Screenshot of a Ruby on Rails default home page"
1+
img src: "img/Start_page.png", alt: "Screenshot of a Ruby on Rails default home page", class: "screenshot"
22

33
goals do
44
goal "Create Your New Application"
42.7 KB
Loading
Loading
Loading

sites/intro-to-rails/intro-to-rails.step

+16
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,22 @@ The editor will automatically set up like this once it's ready.
7979

8080
Congratulations! You're ready to start coding.
8181

82+
Resuming
83+
84+
After some time with no activity, your codespace will shut down. If the tab is still open, it'll look like this:
85+
86+
<img class="screenshot" src="./img/resume-codespace-a.png" />
87+
88+
Click on the "Restart Codespace" button to get back into your editor.
89+
90+
If your browser is closed and you need to get back to it, log into https://github.com and
91+
click the link on the left to navigate back to your repository:
92+
93+
<img class="screenshot" src="./img/resume-codespace-b1.png" />
94+
95+
On your repository page, click on "Code", ensure you're on the "Codespaces" tab, then click on the codespace you previously created (it'll have a randomly generated name).
96+
97+
<img class="screenshot" src="./img/resume-codespace-b2.png" />
8298

8399
MARKDOWN
84100

0 commit comments

Comments
 (0)