Пример #1
0
    def create_office_online(self):
        module = Module(
            'onedrive-and-office-online', 'One Drive & Office Online',
            'In this introduction to OneDrive and Office Online, pupils will learn to create, edit, save and upload documents in the cloud so that they can <b>create and edit documents from school or home</b>.',
            'one-drive-office-online')

        lesson1 = Lesson(
            'onedrive-and-office-online', 1, 'OneDrive & Office online',
            'How to create, edit, save, upload and access documents using OneDrive and Office Online',
            'None', 'None')
        lesson1.setLearningObjectiveIds('ss02', 'oo02*')
        lesson1.starter = """
      <ul>
        <li>Work in groups of 2's or 3's</li>
        <li>Take one piece of paper per group.</li>
        <li>Discuss and identify 3 difficulties of <b>using thumb drives</b></li>
      </ul>"""
        lesson1.resources = [
            {
                'url': '',
                'text': 'Lesson Slides'
            },
            {
                'url': '',
                'text': 'Cheat Sheet'
            },
        ]

        q1 = Quiz('q1', 'Using OneDrive?')
        q1.add_question(0, 'What is OneDrive?', [
            'A house with one drive',
            'A software service that can store files.'
        ], [False, True])
        q1.add_question(1, 'Which software company creates OneDrive?',
                        ['Microsoft', 'BISAK', 'Google', 'DropBox'],
                        [True, False, False, False])

        q2 = Quiz('q2', 'Uploading Files.')
        q2.add_question(0, 'Test Question 1?', ['Answer 1', 'Answer 2.'],
                        [False, True])
        q2.add_question(1, 'Test Question 2?', ['Answer 1', 'Answer 2.'],
                        [True, False])

        lesson1.addActivities(
            Activity(
                10, 'Starter', """
          <h2>In pairs, create a list of the issues you may face when you use a thumbdrive to transport files to and from home.</h2> 
          """),
            VideoActivity(
                10, 'What is OneDrive?',
                'https://www.dropbox.com/s/tkjpefa581rsibg/Internet%20Safety%20-%20Newsround%20Caught%20In%20The%20Web%20%289%20Feb%202010%29.mp4?raw=1'
            ), QuizActivity(10, 'What is OneDrive?', q1),
            Activity(15,
                     'Uploading and locating files in the Cloud.',
                     content=""), QuizActivity(10, 'Test Quiz?', q2),
            Activity(0,
                     '(Extension) What is OneDrive Version History?',
                     content=""), RateProgressActivity(5,
                                                       'Rate your progress'),
            RecapActivity(10, 'Recap'),
            LoPuActivity(5, 'LoPu')
            #,
            # QuizItem    ('00:45',  f"CFU: {tlQuiz.title}", tlQuiz),

            #     TimelineItem('00:50',  BringItAllTogetherItem('Bring It All Together'),
            #     TimelineItem('00:54',  RateYourProgressItem('Rate Your Progress'),
            #     TimelineItem('00:57',  NailItDown('Nail It Down'),
            #     TimelineItem('00:59',  LOPU()),
        )

        lesson1.homework = """From `vle"""

        module.add_lesson(lesson1)

        self.modules[module.id] = module