░▒▓████████████████████████████████▓▒░ ░▒▓█ ▓▒░ ░▒▓█ ~ S W A M P ~ ▓▒░ ░▒▓█ ▓▒░ ░▒▓████████████████████████████████▓▒░
pplmvsvm
LOCATION:
/var/www/canvas/app/views/calendars
☗ ROOT
↻ REFRESH
✎ CARVE FLESH
EDITING: show.html.erb
<% # Copyright (C) 2012 - 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/>. %> <% provide :page_title, "Calendar" js_env :CALENDAR => { :CONTEXTS => @contexts_json, :MANAGE_CONTEXTS => @manage_contexts, :SELECTED_CONTEXTS => @selected_contexts, :ACTIVE_EVENT => @active_event_id, :VIEW_START => @view_start, :CAL2_ONLY => true, :SHOW_SCHEDULER => @domain_root_account.show_scheduler?, :MAX_GROUP_CONVERSATION_SIZE => Conversation.max_group_conversation_size, :VISIBLE_CONTEXTS_LIMIT => @domain_root_account.settings[:calendar_contexts_limit] || 10, :ACCOUNT_CALENDAR_EVENTS_SEEN => @account_calendar_events_seen } js_env({ :STUDENT_PLANNER_ENABLED => @current_user.has_student_enrollment?, }) js_bundle :calendar css_bundle :calendar2, :agenda_view crumbs.clear add_body_class "full-width no-page-block hide-content-while-scripts-not-loaded" %> <h1 class="screenreader-only"><%= t(:page_title_header, "Calendar") %></h1> <% provide :right_side do %> <div class="rs-section hidden-phone"> <div id="minical"></div> </div> <div id="select-course-component" class="rs-section"></div> <div class="rs-section"> <h2 tabindex="-1"> <span role="button" id="calendar-toggle-button" class="element_toggler" aria-controls="calendar-list-holder" aria-expanded="true" aria-label="<%= t("Calendars toggle list visibility") %>" tabindex="0"> <i class="icon-mini-arrow-down auto_rotate"></i> <%= t(:calendars, "Calendars") %> </span> </h2> <div id="calendar-list-holder"></div> </div> <% if @show_account_calendars %> <div id="select-other-calendars-component" class="rs-section"></div> <div class="rs-section"> <div id="other-calendars-section-header"> <h2 tabindex="-1" id="other-calendar-actions-row"> <span role="button" id="other-calendars-toggle-button" class="element_toggler" aria-controls="other-calendars-list-holder" aria-expanded="true" aria-label="<%= t("Other Calendars toggle list visibility") %>" tabindex="0"> <i class="icon-mini-arrow-down auto_rotate"></i> <%= t(:other_calendars, "Other Calendars") %> </span> <% if !@account_calendar_events_seen %> <div class="new-feature-pill"><%= t("New") %></div> <% end %> </h2> <div id="manage-accounts-btn" ></div> </div> <div id="other-calendars-list-holder" class="editable-list-holder"></div> </div> <% end %> <div class="rs-section" id="undated-events-section"> <h2 tabindex="-1"> <span href="#" role="button" id="undated-events-button" class="element_toggler" aria-controls="undated-events" aria-expanded="false" aria-label="<%= t("Undated items toggle list visibility") %>" tabindex="0"> <i class="icon-mini-arrow-right auto_rotate"></i> <%= t(:undated_items, "Undated") %> </span> </h2> <div id="undated-events"></div> </div> <div class="rs-section" id="calendar-feed"> <button class="dialog_opener Button Button--link" aria-controls="calendar_feed_box" data-dialog-opts='{"resizable":false, "width": 400}'> <i class="icon-calendar-days"></i> <%= t :calendar_feed, "Calendar Feed" %> </button> </div> <% end %> <div style="display: none" id="calendar_feed_box" title="<%= t('feed_dialog_title', 'Calendar Feed') %>"> <p id="calendar-feed-message"> <%= t "calendar_feed_instructions", "Copy the link below and paste it into any calendar app that takes iCal feeds (Google Calendar, iCal, Outlook, etc.)" %> </p> <p id="calendar-feed-box-lower"> <label for="calendar-feed-url-input" class="screenreader-only"><%= t('Calendar Feed Url') %></label> <input id="calendar-feed-url-input" value="<%= @feed_url%>.ics"><br> <a href="<%= @feed_url%>.ics"><%= t "Click to view Calendar Feed" %></a> </p> </div> <div id="calendar_header"></div> <div id="calendar-app" role="tabpanel" class="<%= 'inline-calendar-event-titles' %>"></div> <div id="calendar-drag-and-drop-container"></div>
CANCEL
Name
Type
Size
Modified
Actions
↩ ..
DIR
—
—
📄 _event.html.erb
ERB
2 KB
2023-09-24 03:36
EDIT
📄 _mini_calendar.html.erb
ERB
3.1 KB
2023-09-24 03:36
EDIT
📄 show.html.erb
ERB
4.6 KB
2023-09-24 03:39
EDIT