░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/var/www/canvas/ui/features/nav_tourpoints/react/tours
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: adminTour.js
/* * Copyright (C) 2020 - present Instructure, Inc. * * This file is part of Canvas. * * Canvas is free software: you can redistribute it and/or modify it under * the terms of the GNU Affero General Public License as published by the Free * Software Foundation, version 3 of the License. * * Canvas is distributed in the hope that it will be useful, but WITHOUT ANY * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR * A PARTICULAR PURPOSE. See the GNU Affero General Public License for more * details. * * You should have received a copy of the GNU Affero General Public License along * with this program. If not, see <http://www.gnu.org/licenses/>. */ import React from 'react' import {useScope as useI18nScope} from '@canvas/i18n' import {Link} from '@instructure/ui-link' import {Text} from '@instructure/ui-text' import {Heading} from '@instructure/ui-heading' import {ScreenReaderContent} from '@instructure/ui-a11y-content' import handleOpenTray from '../handleOpenTray' import assetFactory from '@canvas/confetti/react/assetFactory' const I18n = useI18nScope('TourPoints') export default [ { selector: '#global_nav_help_link', content: () => ( <section> {/* Hide the overlay on the first step. */} <style> {`#___reactour svg rect { opacity:0; }`} </style> <Heading level="h3"> {I18n.t(`Hello%{name}!`, { name: window.ENV?.current_user?.display_name ? `, ${window.ENV?.current_user?.display_name}` : '', })} </Heading> <p> {I18n.t( "We know it's a priority to transition your institution for online learning during this time. This quick tour will show you how to:" )} </p> <ol> <li>{I18n.t('Add People and Courses to Canvas')}</li> <li>{I18n.t('Quickly share Course Content and Templates with Teachers')}</li> <li>{I18n.t('Set up Video Conferencing and Other Tools')}</li> <li>{I18n.t('Find Training Resources and More Help')}</li> </ol> <div className="tour-star-image" aria-hidden={true}> <img src={assetFactory('star')} alt={I18n.t('star')} /> </div> </section> ), }, { selector: '.navigation-tray-container', content: ( <section> <Heading level="h3">{I18n.t('Add People and Courses to Canvas')}</Heading> <ScreenReaderContent> {I18n.t('Click the admin navigation button to access account settings.')} </ScreenReaderContent> <Text as="p"> <Link as="a" href={I18n.t('#community.admin_add_course')} target="_blank" rel="noopener noreferrer" > {I18n.t('To add individual courses, click Courses.')} </Link> </Text> <Text as="p"> <Link as="a" href={I18n.t('#community.admin_add_users')} target="_blank" rel="noopener noreferrer" > {I18n.t('To add individual users, click People.')} </Link> </Text> <Text as="p"> <Link as="a" href={I18n.t('#community.admin_import_sis')} target="_blank" rel="noopener noreferrer" > {I18n.t('To add bulk users, courses, and enrollments, click SIS Imports.')} </Link> </Text> </section> ), actionBefore: async () => { await handleOpenTray('accounts') }, }, { selector: '.navigation-tray-container', content: ( <section> <Heading level="h3"> {I18n.t('Quickly Share Course Content and Templates with Teachers')} </Heading> <Text as="p"> <Link as="a" href={I18n.t('#community.resource_course_content_distribution_comparison')} target="_blank" rel="noopener noreferrer" > {I18n.t('Learn more about using Commons and Blueprints.')} </Link> </Text> </section> ), actionBefore: async () => { await handleOpenTray('accounts') }, }, { selector: '.navigation-tray-container', content: ( <section> <Heading level="h3">{I18n.t('Set up Video Conferencing')}</Heading> <Text as="p"> <Link as="a" href={I18n.t('#community.contingency_web_conferencing')} target="_blank" rel="noopener noreferrer" > {I18n.t( 'Video conferencing tools enable face-to-face connection between teachers and students.' )} </Link> </Text> </section> ), actionBefore: async () => { await handleOpenTray('accounts') }, }, { selector: '.navigation-tray-container', content: ( <section> <Heading level="h3">{I18n.t('Find Training Resources and More Help')}</Heading> <Text as="p"> <Link as="a" href={I18n.t('#community.admin_training_services_portal')} target="_blank" rel="noopener noreferrer" > {I18n.t('Access Canvas training videos and courses')} </Link> </Text> </section> ), actionBefore: async () => { await handleOpenTray('help') }, }, ]
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 adminTour.js
JS
5.4 KB
2023-09-24 03:39
EDIT
📄 studentTour.js
JS
4.1 KB
2023-09-24 03:39
EDIT
📄 teacherTour.js
JS
7.5 KB
2023-09-24 03:39
EDIT