Action

HBS Lesson Template

Posted by Mike_Burke, Last update about 1 month ago

A markdown lesson tempalte with prompts for collecting information.

Steps

  • script

    // See online documentation for examples
    // https://docs.getdrafts.com/docs/actions/scripting
    
    // get tomorrow's date
    let tomorrow = Date.today().addDays(1);
    // convert it to a formatted date string
    let s = strftime(tomorrow, "%m/%d/%y");
    // create the template tag
    draft.setTemplateTag("tomorrow", s);
    // now use [[tomorrow]] in your prompt step
    
    // get toomorrow's date
    let toomorrow = Date.today().addDays(2);
    // convert it to a formatted date string
    let ss = strftime(toomorrow, "%m/%d/%y");
    // create the template tag
    draft.setTemplateTag("toomorrow", ss);
    // now use [[toomorrow]] in your prompt step
  • prompt

    promptKey
    Week
    promptTitle
    Week
    promptMessage
    What week is this lesson for?
    promptButtons
    OK
    includeTextField
    true
    textFieldDefault
    includeCancelButton
    true
  • prompt

    promptKey
    Lesson
    promptTitle
    Lesson
    promptMessage
    Which lesson of the week?
    promptButtons
    OK
    includeTextField
    true
    textFieldDefault
    includeCancelButton
    true
  • prompt

    promptKey
    StartDate
    promptTitle
    Start Date
    promptMessage
    What is the date the first class will interact with this lesson?
    promptButtons
    OK
    includeTextField
    true
    textFieldDefault
    [[tomorrow]]
    includeCancelButton
    true
  • prompt

    promptKey
    EndDate
    promptTitle
    End Date
    promptMessage
    What is the date the last class will interact with this lesson?
    promptButtons
    OK
    includeTextField
    true
    textFieldDefault
    [[toomorrow]]
    includeCancelButton
    true
  • prompt

    promptKey
    QuizletSet
    promptTitle
    Quizlet
    promptMessage
    What Quizlet set are students working on currently?
    promptButtons
    OK
    includeTextField
    true
    textFieldDefault
    2.4
    includeCancelButton
    true
  • prompt

    promptKey
    QuizletLink
    promptTitle
    Quizlet Link
    promptMessage
    Please provide a link to the current Quizlet set.
    promptButtons
    OK
    includeTextField
    true
    textFieldDefault
    https://quizlet.com/85737964/hbs-24-key-terms-flash-cards/
    includeCancelButton
    true
  • prompt

    promptKey
    Quizlet1
    promptTitle
    Quizlet Activity #1
    promptMessage
    What Quizlet actvitiy should students be working on currently?
    promptButtons
    OK
    includeTextField
    true
    textFieldDefault
    includeCancelButton
    true
  • prompt

    promptKey
    Quizlet2
    promptTitle
    Quizlet Activity #2
    promptMessage
    What Quizlet actvitiy should students be working on currently?
    promptButtons
    OK
    includeTextField
    true
    textFieldDefault
    includeCancelButton
    true
  • insertText

    template
    # HBS- Week [[Week_text]] Lesson [[Lesson_text]] ([[StartDate_text]] - [[EndDate_text]])
    
    ## Objective(s)
    - Students will
    
    
    ## Preparation for Today's Lesson
    In order to participate fully in today's lesson, the following statements should be true for you:
    - You have previewed today's lesson.
    
    
    Optionally, if you prefer to work on paper, or write with a stylus on a tablet, you should process the following documents before class starts:
    - 
    
    
    ## Warm-Up
    1. Use the link to the right to join our Biomed Class Teams Meeting. 
    	- _Remember to join with your camera off and mic muted_.
    2. While waiting for class to begin:
    	1. 
    	2. Work independently on the **[[Quizlet1_text]]** and **[[Quizlet2_text]]** Quizlet activities for the [[[QuizletSet_text]] vocabulary set]([[QuizletLink_text]]) (remember to right-click, then "Open in a New Tab").
    
    
    ## Procedure
    1. 
    
    
    ## Closure
    1. Use the link to the right to join our Biomed Class Teams Meeting. 
    	- _Remember to join with your camera off and mic muted_.
    2. While waiting for the closure meeting to begin, work independently on the **[[Quizlet1_text]]** and **[[Quizlet2_text]]** Quizlet activities for the [[[QuizletSet_text]] vocabulary set]([[QuizletLink_text]]) (remember to right-click, then "Open in a New Tab").
    
    
    ## Lesson Follow Up
    - It would be wise to check itsLearning the night before our next class to preview the upcoming lesson and download/print any materials you want to save or have accessible offline.
    - Don't forget that all BAHS teachers are available for meetings every Friday morning. Find directions on how to schedule these meetings here: [Scheduling Appointments With Your Teachers](https://bahs.ss18.sharpschool.com/news/whatsnew/scheduling_appointments_with_your_teachers) (remember to right-click, then "Open in a New Tab").

Options

  • After Success Default , Tags: hbs, school, lesson plan
    Notification Info
    Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.