finish getting field-guide working and improve zipline show view

pull/320/head
Michael Q Larson 2015-04-14 20:12:47 -07:00
parent 6b671f7d1c
commit e0aa084c7a
5 changed files with 16 additions and 13 deletions

View File

@ -912,6 +912,8 @@ iframe.iphone {
.step-text {
margin-left: -10px;
line-height: 120%;
padding-bottom: 10px;
}
//uncomment this to see the dimensions of all elements outlined in red

View File

@ -112,6 +112,7 @@ $(document).ready(function() {
$('#complete-courseware-dialog').on('hidden.bs.modal', function() {
editor.focus();
});
$('#next-courseware-button').on('click', function() {
console.log(passedCoursewareHash);
if ($('.signup-btn-nav').length < 1) {
@ -184,7 +185,6 @@ $(document).ready(function() {
}
});
$('.all-challenges').on('click', function() {
$('#show-all-dialog').modal('show');
});
@ -198,7 +198,6 @@ $(document).ready(function() {
window.location = '/challenges/' + (parseInt(l[l.length - 1]) + 1);
});
// Bonfire instructions functions
$('#more-info').on('click', function() {
ga('send', 'event', 'Challenge', 'more-info', challengeName);
@ -241,7 +240,6 @@ $(document).ready(function() {
};
$('#upvote').on('click', upvoteHandler);
var storySubmitButtonHandler = function storySubmitButtonHandler() {
var link = $('#story-url').val();

View File

@ -656,14 +656,13 @@
"We'll build this Basejump on Cloud 9, a powerful online code editor with a full Ubuntu Linux workspace, all running in the cloud.",
"If you don't already have Cloud 9 account, create one now at <a href='http://c9.io'>http://c9.io</a>.",
"Now let's get your development environment ready for a new Angular-Fullstack application provided by Yeoman.",
"Open up http://c9.io and sign in to your account.",
"Click on Create New Workspace at the top right of the c9.io page.",
"Click on the Create a new workspace in the dropdown after you select the button.",
"Open up <a href='http://c9.io'>http://c9.io</a> and sign in to your account.",
"Click on Create New Workspace at the top right of the c9.io page, then click on the \"Create a new workspace\" popup that appears below it the button after you click on it.",
"Name your workspace to match your project name that you are working on.",
"Choose Node.js in the selection area below the name field",
"Click the Create button",
"Wait for the workspace to finish processing and select it on the left sidebar, below the Create New Workspace button",
"Click the Start Editing button.",
"Click the \"Start Editing\" button.",
"In the lower right hand corner you should see a terminal window. In this window use the following commands. You don't need to know what these mean at this point.",
"<code>rm -rf * && npm install -g yo grunt grunt-cli generator-angular-fullstack && yo angular-fullstack</code>",
"Yeoman will prompt you to answer some questions. Answer them like this:",

View File

@ -7,11 +7,11 @@ block content
h4
ol
for step in details
.row
li
.col-xs-2
input(type='checkbox' class='challenge-list-checkbox')
.col-xs-10.step-text!= step
.row
li
.col-xs-2
input(type='checkbox' class='challenge-list-checkbox')
.col-xs-10.step-text!= step
.col-xs-12.col-sm-12.col-md-8
.embed-responsive.embed-responsive-16by9
iframe.embed-responsive-item(src='//player.vimeo.com/video/#{video}')

View File

@ -7,7 +7,11 @@ block content
h4
ol
for step in details
li!= step
.row
li
.col-xs-2
input(type='checkbox' class='challenge-list-checkbox')
.col-xs-10.step-text!= step
.col-xs-12.col-sm-12.col-md-8
.embed-responsive.embed-responsive-16by9
iframe.embed-responsive-item(src='//player.vimeo.com/video/#{video}')