code
string
repo_name
string
path
string
language
string
license
string
size
int64
package com.google.android.apps.mytracks.stats; parcelable TripStatistics;
zyliu810-augustine
MyTracksLib/src/com/google/android/apps/mytracks/stats/TripStatistics.aidl
AIDL
asf20
74
/* * Copyright 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
zyliu810-augustine
MyTracksLib/src/com/google/android/apps/mytracks/stats/ExtremityMonitor.java
Java
asf20
2,451
/* * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
zyliu810-augustine
MyTracksLib/src/com/google/android/apps/mytracks/stats/TripStatistics.java
Java
asf20
15,895
package com.google.android.apps.mytracks.content; parcelable Waypoint;
zyliu810-augustine
MyTracksLib/src/com/google/android/apps/mytracks/content/Waypoint.aidl
AIDL
asf20
70
package com.google.android.apps.mytracks.content; parcelable WaypointCreationRequest;
zyliu810-augustine
MyTracksLib/src/com/google/android/apps/mytracks/content/WaypointCreationRequest.aidl
AIDL
asf20
85
/* * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in w...
zyliu810-augustine
MyTracksLib/src/com/google/android/apps/mytracks/content/MyTracksLocation.java
Java
asf20
1,550
/* * Copyright 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
zyliu810-augustine
MyTracksLib/src/com/google/android/apps/mytracks/content/TracksColumns.java
Java
asf20
2,606
/* * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
zyliu810-augustine
MyTracksLib/src/com/google/android/apps/mytracks/content/WaypointCreationRequest.java
Java
asf20
2,886
/* * Copyright 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
zyliu810-augustine
MyTracksLib/src/com/google/android/apps/mytracks/content/Waypoint.java
Java
asf20
5,336
/* * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
zyliu810-augustine
MyTracksLib/src/com/google/android/apps/mytracks/content/MyTracksProviderUtils.java
Java
asf20
13,929
/* * Copyright 2009 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
zyliu810-augustine
MyTracksLib/src/com/google/android/apps/mytracks/content/WaypointsColumns.java
Java
asf20
2,815
/* * Copyright 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
zyliu810-augustine
MyTracksLib/src/com/google/android/apps/mytracks/content/TrackPointsColumns.java
Java
asf20
1,754
/* * Copyright 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
zyliu810-augustine
MyTracksLib/src/com/google/android/apps/mytracks/content/Track.java
Java
asf20
4,768
/* * Copyright 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
zyliu810-augustine
MyTracksLib/src/com/google/android/apps/mytracks/content/MyTracksProviderUtilsImpl.java
Java
asf20
36,397
/* * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
zyliu810-augustine
MyTracksLib/src/com/google/android/apps/mytracks/content/DescriptionGenerator.java
Java
asf20
1,233
/* * Copyright 2008 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to i...
zyliu810-augustine
MyTracksLib/src/com/google/android/apps/mytracks/services/ITrackRecordingService.aidl
AIDL
asf20
2,554
/* * Copyright 2010 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); you may not * use this file except in compliance with the License. You may obtain a copy of * the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in...
zyliu810-augustine
MyTracksLib/src/com/google/android/apps/mytracks/lib/MyTracksLibConstants.java
Java
asf20
925
// embed YouTube API only once if (typeof(window['gcb_tag_youtube_videos']) == "undefined"){ // send a milestone event every time this many seconds of video are watched var GCB_VIDEO_TRACKING_CHUNK_SEC = 30; // video player status var gcb_youtube_player_ready = false; // list of videos to embed var gcb_ta...
zxz-hg
coursebuilder/extensions/tags/gcb/resources/youtube_video.js
JavaScript
asf20
3,106
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
zxz-hg
coursebuilder/extensions/tags/gcb/__init__.py
Python
asf20
11,310
{% extends 'base_course.html' %} {% block top_content %} {% endblock %} {% block navbar %} {% endblock %} {% block main_content %} <div id="gcb-main"> <div class="gcb-article tab-content"> <div class="gcb-aside"> <p> {{course_info.reg_form.header_text | safe}} </p> <form action="reg...
zxz-hg
coursebuilder/views/register.html
HTML
asf20
1,363
{% macro render( unit_id, xsrf_token, saved_answers, content, readonly=False, check_answers=False, is_review_form=False, review_key=None) %} <script> var questionData = questionData || {}; questionData.scored = true; questionData.unitId = '{{ unit_id }}'; questionData.xsrfToken = '{{ xsr...
zxz-hg
coursebuilder/views/assessment_html_content.html
HTML
asf20
1,682
{% if can_register %} <div class="gcb-col-5"> <center> {% if show_registration_page %} <a class="gcb-button gcb-button-large" href="register" role="button"> {# I18N: Registration button on the main course page. #} {{ gettext('Register') }} </a> {% else %} <f...
zxz-hg
coursebuilder/views/registration_module.html
HTML
asf20
770
{% extends 'base_course.html' %} {% block top_content %} <script> {# I18N: This is shown to the student in a popup after registration. #} var regConfirmationMsg = "{{ gettext('Thank you for registering for the course. Click the Announcements tab for important information.') }}"; if(window.location.hash =...
zxz-hg
coursebuilder/views/course.html
HTML
asf20
10,188
<div class="gcb-nav" id="gcb-nav-y" role="navigation"> <ul> {{course_info.unit.after_leftnav_begins | safe}} {% for lesson in lessons %} {% if lesson.now_available or is_course_admin %} <li {% if page_type == 'unit' and lesson.lesson_id == lesson_id %}class="active"{% endif %}> {% ...
zxz-hg
coursebuilder/views/lesson_navbar.html
HTML
asf20
6,133
{% extends 'base_course.html' %} {% block subtitle %} {# I18N: Title of the course progress webpage. #} {{ gettext('Course Progress') }} {% endblock subtitle %} {% block top_content %} {% endblock %} {% block main_content %} <div id="gcb-main"> <div class="gcb-article tab-content"> <div class="gcb-aside"> ...
zxz-hg
coursebuilder/views/student_profile.html
HTML
asf20
2,393
{% extends 'base_course.html' %} {% block top_content %} {% endblock %} {% block navbar %} {% endblock %} {% block main_content %} <div id="gcb-main"> <div class="gcb-article tab-content"> <div class="gcb-aside"> <h3> {# I18N: Shown when a student has asked to unenroll from a course. Followed by...
zxz-hg
coursebuilder/views/unenroll_confirmation_check.html
HTML
asf20
1,083
{% extends 'base_course.html' %} {% block subtitle %} {# I18N: Title of the webpage. #} - {{ gettext('Assessment') }} {% endblock subtitle %} {% block top_content %} {% endblock %} {% block main_content %} {% if is_read_write_course and is_course_admin %} <a href="dashboard?action=edit_assessment&key={{ unit_...
zxz-hg
coursebuilder/views/assessment.html
HTML
asf20
4,866
<!DOCTYPE html> <html lang="{{course_info.course.locale}}"> <head> <base href="{{ gcb_course_base }}" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta charset="utf-8"> {% block title %} {% endblock %} <!-- The following translated strings are used in activity-gener...
zxz-hg
coursebuilder/views/base.html
HTML
asf20
9,359
{% extends 'base.html' %} {% block title %} <title> {{course_info.course.title}} - {% block subtitle %} {# I18N: Title of the webpage. #} {{ gettext('Course') }} {% endblock %} </title> {% endblock %} {% block assets %} <link rel="icon" href="assets/img/favicon.ico" /> <link href="asset...
zxz-hg
coursebuilder/views/base_course.html
HTML
asf20
2,775
{% extends 'base_course.html' %} {% block top_content %} {% endblock %} {% block main_content %} <div class="gcb-cols"> <div class="gcb-col-1"> </div> <div class="gcb-col-7 gcb-aside gcb-button-box"> <p class="gcb-top-content"> {# I18N: Shown after the student has submitted an assessment. #} {...
zxz-hg
coursebuilder/views/test_confirmation.html
HTML
asf20
1,212
<table class="gcb-student-data-table"> <colgroup> <col style="width: 10%"> <col> </colgroup> <tr> {# I18N: Table header that states when a student enrolled in a course. #} <th align="left">{{ gettext('Date enrolled') }}</th> <td>{{ date_enrolled }}</td> </tr> <tr> {# I18N: Table head...
zxz-hg
coursebuilder/views/student_data_table.html
HTML
asf20
2,028
{% extends 'base_course.html' %} {% block top_content %} <div class="gcb-cols"> <div class="gcb-col-11 gcb-aside"> {% include 'summary.html' %} {% include 'registration_module.html' %} </div> </div> {{course_info.preview.after_top_content_ends | safe}} {% endblock %} {% block main_content %...
zxz-hg
coursebuilder/views/preview.html
HTML
asf20
1,632
{% extends 'base_course.html' %} {% block subtitle %} {# I18N: Title of the webpage. #} - {{ gettext('Forum') }} {% endblock subtitle %} {% block top_content %} <div> <div class="gcb-aux"> <div class="gcb-cols"> <div class="gcb-col-6"> <iframe id="forum_embed" src="javas...
zxz-hg
coursebuilder/views/forum.html
HTML
asf20
989
{% extends 'base_course.html' %} {% block subtitle %} {# I18N: Title of the webpage. #} - {{ gettext('Review Dashboard') }} {% endblock subtitle %} {% block top_content %} {% endblock %} {% block main_content %} <div id="gcb-main"> <div class="gcb-article"> {# I18N: Header text for a list of assignments t...
zxz-hg
coursebuilder/views/review_dashboard.html
HTML
asf20
3,175
{% extends 'base_course.html' %} {% block top_content %} {% endblock %} {% block main_content %} <div class="gcb-cols"> <div class="gcb-col-1"> </div> <div class="gcb-col-7 gcb-aside gcb-button-box"> <p class="gcb-top-content"> {% if error_code == 'review_deadline_exceeded' %} {# I18N: Error...
zxz-hg
coursebuilder/views/error.html
HTML
asf20
2,365
{% extends 'base_course.html' %} {% block subtitle %} {# I18N: Title of the webpage. #} - {{ gettext('Unit') }} {{ unit.index }} - {{ unit.title }} {% endblock subtitle %} {% block top_content %} {% endblock %} {% block main_content %} <script> var questionData = {}; {% if lesson and lesson.scored %} que...
zxz-hg
coursebuilder/views/unit.html
HTML
asf20
5,497
{% macro display(readonly_assessment) -%} <div> {{readonly_assessment['preamble'] | safe}} </div> <ol> {% for q in readonly_assessment['questionsList'] %} {% set outer_loop = loop %} <li> {{ q['questionHTML'] | safe }} <br> {% if q['choices'] %} {% for cho...
zxz-hg
coursebuilder/views/readonly_assessment.html
HTML
asf20
1,514
{% extends 'base_course.html' %} {% block top_content %} {% endblock %} {% block main_content %} {{ content | safe }} {% endblock %}
zxz-hg
coursebuilder/views/bare.html
HTML
asf20
133
{% extends 'base_course.html' %} {% block subtitle %} {# I18N: Title of the webpage. #} - {{ gettext('Unit') }} {{ unit.index }} - {{ unit.title }} {% endblock subtitle %} {% block top_content %} {% endblock %} {% block main_content %} {% if is_read_write_course and is_course_admin %} <a href="dashboard?actio...
zxz-hg
coursebuilder/views/activity.html
HTML
asf20
4,390
{% extends 'base_course.html' %} {% block top_content %} {% endblock %} {% block navbar %} {% endblock %} {% block main_content %} <div id="gcb-main"> <div class="gcb-article tab-content"> <div class="gcb-aside"> <h3> {# I18N: Text shown after a student has unenrolled from a course. It is follow...
zxz-hg
coursebuilder/views/unenroll_confirmation.html
HTML
asf20
736
{% extends 'base_course.html' %} {% block top_content %} {% endblock %} {% block main_content %} <div class="gcb-cols"> <div class="gcb-col-1"> </div> <div class="gcb-col-7 gcb-aside gcb-button-box"> <p class="gcb-top-content"> {% if previously_submitted %} {# I18N: Shown on the assignment s...
zxz-hg
coursebuilder/views/reviewed_assessment_confirmation.html
HTML
asf20
1,552
{% extends 'base_course.html' %} {% block subtitle %} {# I18N: Title of the webpage. #} - {{ gettext('Announcements') }} {% endblock subtitle %} {% block top_content %} {% endblock %} {% block main_content %} <div id="gcb-main"> <div class="gcb-article tab-content"> <div class="gcb-aside"> {% if anno...
zxz-hg
coursebuilder/views/announcements.html
HTML
asf20
1,989
{% if video_exists or image_exists %} <div class="gcb-col-5"> {% else %} <div class="gcb-col-11"> {% endif %} <h1 class="gcb-product-headers-large"> {{course_info.course.title}} </h1> <p class="gcb-product-headers"> {{course_info.course.blurb | gcb_tags}} </p> <p class="gcb-bio-headers"> {{co...
zxz-hg
coursebuilder/views/summary.html
HTML
asf20
968
{% extends 'base_course.html' %} {% block top_content %} {% endblock %} {% block main_content %} <div class="gcb-cols"> <div class="gcb-col-1"> </div> <div class="gcb-col-7 gcb-aside gcb-button-box"> <p class="gcb-top-content"> {% if is_draft %} {# I18N: Shown as confirmation to a reviewer th...
zxz-hg
coursebuilder/views/review_confirmation.html
HTML
asf20
980
{% extends 'base_course.html' %} {% block subtitle %} {# I18N: Title of the webpage. #} - {{ gettext('Review') }} {% endblock subtitle %} {% block top_content %} {% endblock %} {% block main_content %} {% if is_read_write_course and is_course_admin %} <a href="dashboard?action=edit_assessment&key={{ unit_id }...
zxz-hg
coursebuilder/views/review.html
HTML
asf20
4,122
var tag = document.getElementsByName('tag')[0]; if (tag) { tag.onchange = function(event) { var value = cb_global.form.getValue(); value.attributes = {}; window.parent.frameProxy.setValue(value); var tagName = tag.options[tag.selectedIndex].value; window.location = getAddCustomTagUrl(cb_global, t...
zxz-hg
coursebuilder/modules/oeditor/add_custom_tag.js
JavaScript
asf20
780
//server communications timeout var ajaxRpcTimeoutMillis = 15 * 1000; // XSSI prefix. Must be kept in sync with models/transforms.py. var xssiPrefix = ")]}'"; /** * Compare two JS objects for equality by value. */ function deepEquals(x, y) { if (typeof(x) != "object") { return x === y; } if (typeof(y) != "...
zxz-hg
coursebuilder/modules/oeditor/oeditor.js
JavaScript
asf20
16,781
/** * Define the methods of the GCB rich text editor here. */ function getGcbRteDefs(env, Dom, Editor) { return { setOptions: function(options) { GcbRteField.superclass.setOptions.call(this, options); this.options.opts = options.opts || {}; this.options.supportCustomTags = options.supportCusto...
zxz-hg
coursebuilder/modules/oeditor/rte.js
JavaScript
asf20
13,446
<!DOCTYPE html> <html> <head> <style type="text/css"> body { font-family: arial,sans-serif; font-size: 13px; } </style> </head> <body> {{ form_html }} </body> </html>
zxz-hg
coursebuilder/modules/oeditor/popup.html
HTML
asf20
214
/** * The definitions of the controls used by the iframed popup. * * @param frameProxy The proxy which is used to communicate with the editor in * the parent window. * @param env The shared GCB envronment variables. */ function FramedEditorControls(Y, frameProxy, env) { this._Y = Y; this._frameProxy = fra...
zxz-hg
coursebuilder/modules/oeditor/popup.js
JavaScript
asf20
3,009
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
zxz-hg
coursebuilder/modules/oeditor/oeditor.py
Python
asf20
10,589
<!-- TODO(psimakov): use local YUI library --> <link rel="stylesheet" type="text/css" href="/static/yui_3.6.0/yui/build/cssreset-context/cssreset-context-min.css"> <script src="/static/yui_3.6.0/yui/build/yui/yui.js"></script> <link rel="stylesheet" type="text/css" href="/static/inputex-3.1.0/src/inputex/as...
zxz-hg
coursebuilder/modules/oeditor/oeditor.html
HTML
asf20
14,640
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
zxz-hg
coursebuilder/modules/oauth2/oauth2.py
Python
asf20
6,946
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
zxz-hg
coursebuilder/modules/admin/messages.py
Python
asf20
1,609
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
zxz-hg
coursebuilder/modules/admin/config.py
Python
asf20
13,933
<!DOCTYPE html> <html class="google" lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta charset="utf-8"> <title>{{ page_title }}</title> <link rel="icon" href="" /> <style> body { margin: 0px; padding: 0px; background-c...
zxz-hg
coursebuilder/modules/admin/view.html
HTML
asf20
3,895
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
zxz-hg
coursebuilder/modules/admin/admin.py
Python
asf20
26,594
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
zxz-hg
coursebuilder/modules/courses/courses.py
Python
asf20
1,975
{% extends 'templates/base_assessment_tag.html' %} {% block question %} <div id="{{instanceid}}" class="qt-mc-question {% if embedded %}qt-embedded{% else %}qt-standalone{% endif %}"> <div class="qt-question">{{ question | safe }}</div> <div class="qt-choices"> {% for choice in choices %} ...
zxz-hg
coursebuilder/modules/assessment_tags/templates/mc_question.html
HTML
asf20
956
{% extends 'templates/base_assessment_tag.html' %} {% block question %} <div id="{{instanceid}}" class="qt-question-group"> <div class="qt-introduction"> {{ introduction | safe }} </div> <ol class="qt-question-list"> {% for question_html in question_html_array %} <li class="qt-questi...
zxz-hg
coursebuilder/modules/assessment_tags/templates/question_group.html
HTML
asf20
713
{% extends 'templates/base_assessment_tag.html' %} {% block question %} <div id="{{instanceid}}" class="qt-sa-question {% if embedded %}qt-embedded{% else %}qt-standalone{% endif %}"> <div class="qt-question">{{ question | safe }}</div> <div class="qt-response"> <input type="text"/> </div> ...
zxz-hg
coursebuilder/modules/assessment_tags/templates/sa_question.html
HTML
asf20
946
<div {% if not embedded %}class="gcb-border-box"{% endif %}> <link rel="stylesheet" type="text/css" href="{{resources_path}}/questions.css"/> <script> questionData['{{instanceid}}'] = JSON.parse("{{js_data | js_string}}"); </script> <script src="{{resources_path}}/grading_lib.js"></script> <script src="{{...
zxz-hg
coursebuilder/modules/assessment_tags/templates/base_assessment_tag.html
HTML
asf20
1,480
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
zxz-hg
coursebuilder/modules/assessment_tags/questions.py
Python
asf20
9,132
/* Copyright 2013 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
zxz-hg
coursebuilder/modules/assessment_tags/resources/questions.css
CSS
asf20
1,069
/* Copyright 2013 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
zxz-hg
coursebuilder/modules/assessment_tags/resources/grading.js
JavaScript
asf20
698
/* Copyright 2013 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or a...
zxz-hg
coursebuilder/modules/assessment_tags/resources/grading_lib.js
JavaScript
asf20
14,326
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
zxz-hg
coursebuilder/modules/announcements/announcements.py
Python
asf20
13,459
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
zxz-hg
coursebuilder/modules/announcements/samples.py
Python
asf20
3,214
{% extends 'modules/course_explorer/views/base_explorer.html' %} {% block top_content %} {% endblock %} {% block main_content %} <div class="gcb-cols"> <ul class="gcb-explorer-list"> {% for course in courses %} <li class="gcb-explorer-list-item"> <h1 class="gcb-product-headers-large"> ...
zxz-hg
coursebuilder/modules/course_explorer/views/course_explorer.html
HTML
asf20
2,213
{% extends 'modules/course_explorer/views/base_explorer.html' %} {% block main_content %} <div id="gcb-main"> <div class="gcb-article tab-content"> <div class="gcb-aside"> <h2> {% block content_header %} {% endblock %} </h2> {% block sub_content %} {% end...
zxz-hg
coursebuilder/modules/course_explorer/views/base_student.html
HTML
asf20
377
{% extends 'views/base.html' %} {% block title %} <title>{{course_info.institution.name}}</title> {% block subtitle %} {% endblock %} {% endblock %} {% block assets %} <link rel="icon" href="/explorer/assets/img/favicon.ico" /> <link href="/explorer/assets/css/main.css" rel="stylesheet" type="text/css"> <...
zxz-hg
coursebuilder/modules/course_explorer/views/base_explorer.html
HTML
asf20
1,631
{% extends 'modules/course_explorer/views/base_student.html' %} {% block content_header %} {# I18N: Title of the student profile page. Followed by a student's name. #} {{ gettext('Student Profile for') }} '{{ student.nick_name }}' {% endblock %} {% block sub_content %} <table class="gcb-student-data-table"> ...
zxz-hg
coursebuilder/modules/course_explorer/views/profile.html
HTML
asf20
2,997
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
zxz-hg
coursebuilder/modules/course_explorer/course_explorer.py
Python
asf20
2,859
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
zxz-hg
coursebuilder/modules/course_explorer/student.py
Python
asf20
9,217
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
zxz-hg
coursebuilder/modules/review/cron.py
Python
asf20
4,485
{% if stats_calculated %} {% if serialized_units %} <script type="text/javascript" src="https://www.google.com/jsapi"></script> <script type="text/javascript"> // Global object repository. var dashboard_analytics = {} dashboard_analytics.units = JSON.parse("{{serialized_units_json | js_stri...
zxz-hg
coursebuilder/modules/review/stats.html
HTML
asf20
1,893
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
zxz-hg
coursebuilder/modules/review/stats.py
Python
asf20
5,817
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
zxz-hg
coursebuilder/modules/review/review.py
Python
asf20
45,773
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
zxz-hg
coursebuilder/modules/review/domain.py
Python
asf20
7,283
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
zxz-hg
coursebuilder/modules/review/peer.py
Python
asf20
7,892
/* * Holds JavaScript functionality specific to the unit/lesson editor. */ function ActivityImporter(Y, env, notify, errorMessageFormatter, confirm) { this.Y = Y; this.env = env; this.notify = notify; this.errorMessageFormatter = errorMessageFormatter; this.confirm = confirm } ActivityImporter.prototype.CO...
zxz-hg
coursebuilder/modules/dashboard/lesson_editor_lib.js
JavaScript
asf20
2,451
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
zxz-hg
coursebuilder/modules/dashboard/course_settings.py
Python
asf20
7,988
{% if show_recalculate_button %} <form id="gcb-compute-student-stats" action="dashboard?action=compute_student_stats" method="POST"> <input type="hidden" name="xsrf_token" value="{{xsrf_token}}"> <p> <button class="gcb-button" type="submit">Update Statistics</button> </p> </form> {% endi...
zxz-hg
coursebuilder/modules/dashboard/analytics.html
HTML
asf20
347
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
zxz-hg
coursebuilder/modules/dashboard/filer.py
Python
asf20
22,315
var SHOW_SCORES_LABEL = 'Assign scores to individual choices'; var HIDE_SCORES_LABEL = 'Return to choice picker view'; var HIDE_SCORES_WARNING_LABEL = 'Return to choice-picker (Note: scores will change)'; /* Whether to show the numeric score or a radio/checkbox. */ var setScores = false; var setScoresToggleButton...
zxz-hg
coursebuilder/modules/dashboard/mc_question_editor.js
JavaScript
asf20
428
{% macro display(data) %} <script> var questionData = questionData || {}; questionData.savedAnswers = questionData.savedAnswers || {}; $.extend(questionData.savedAnswers, JSON.parse("{{ data['saved_answers'] | js_string }}")); questionData.scored = true; </script> <div class="gcb-assessmen...
zxz-hg
coursebuilder/modules/dashboard/readonly_html_assessment.html
HTML
asf20
409
var controller = new AssessmentEditorController( Y, cb_global.form, cb_global.xsrf_token, function(s) { return window.confirm(s); }, cbShowMsg, formatServerErrorMessage ); controller.init();
zxz-hg
coursebuilder/modules/dashboard/assessment_editor.js
JavaScript
asf20
214
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
zxz-hg
coursebuilder/modules/dashboard/messages.py
Python
asf20
7,073
/* * Initialize JavaScript functionality specific to the unit/lesson editor. The * functionality itself is contained in unit_lesson_editor_lib.js. */ var activityImporter = new ActivityImporter( Y, cb_global, cbShowMsg, formatServerErrorMessage, function(s) {return confirm(s);}); activityImporter.insertImpo...
zxz-hg
coursebuilder/modules/dashboard/lesson_editor.js
JavaScript
asf20
342
{% if stats_calculated %} <h3>Enrollment Statistics</h3> <ul> <li>previously enrolled: {{ unenrolled }}</li> <li>currently enrolled: {{ enrolled }}</li> <li>total: {{ unenrolled + enrolled }}</li> </ul> <h3>Assessment Statistics</h3> <ul> {% for unit in scores %} <li> {{ unit['k...
zxz-hg
coursebuilder/modules/dashboard/basic_analytics.html
HTML
asf20
705
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
zxz-hg
coursebuilder/modules/dashboard/unit_lesson_editor.py
Python
asf20
58,472
/** * A class which represents a button which can toggle between two states ("a" * and "b") on a click. * @param {YUI Node} divNode the node which the button will be inserted in * @param {string} aText the text which will be shown when the button is in "a" * state (the default) * @param {string} bText the tex...
zxz-hg
coursebuilder/modules/dashboard/mc_question_editor_lib.js
JavaScript
asf20
8,464
<style> div#oeditor-container { position: relative; } div.status-popup { width:400px; /* adjust */ left:50%; margin-left: -200px; /* half of the width */ background-color: #ffffB7; border: solid #cccca0 1px; border-radius: 5px; text-align: center; padding: 2px; z-index: ...
zxz-hg
coursebuilder/modules/dashboard/assignments_menu.html
HTML
asf20
2,470
<!DOCTYPE html> <html class="google" lang="en"> <head> <base href="{{ gcb_course_base }}" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta charset="utf-8"> <title>{{ page_title }}</title> <link rel="icon" href="" /> <style> body, h3 { margin: 0px; ...
zxz-hg
coursebuilder/modules/dashboard/view.html
HTML
asf20
5,653
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
zxz-hg
coursebuilder/modules/dashboard/question_group_editor.py
Python
asf20
8,078
<h3>Assignment (with feedback) for {{reviewee_id}}</h3> {% if model_version == '1.4' %} {% import 'readonly_assessment.html' as readonly_assessment %} {% elif model_version == '1.5' %} <script src="assets/lib/jquery-1.7.2.min.js"></script> {% import 'readonly_html_assessment.html' as readonly_assessment %} {% en...
zxz-hg
coursebuilder/modules/dashboard/assignment_individual.html
HTML
asf20
2,488
{% macro display(readonly_assessment) -%} <div> {{readonly_assessment['preamble'] | safe}} </div> <ol> {% for q in readonly_assessment['questionsList'] %} {% set outer_loop = loop %} <li> {{ q['questionHTML'] | safe }} <br> {% if q['choices'] %} {% for cho...
zxz-hg
coursebuilder/modules/dashboard/readonly_assessment.html
HTML
asf20
1,286
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
zxz-hg
coursebuilder/modules/dashboard/question_editor.py
Python
asf20
17,903
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
zxz-hg
coursebuilder/modules/dashboard/dashboard.py
Python
asf20
35,507
function AssessmentEditorController(Y, inputExForm, xsrfToken, confirm, notify, formatError) { this.Y = Y; this.inputExForm = inputExForm; this.xsrfToken = xsrfToken; this.confirm = confirm; this.notify = notify; this.formatError = formatError; } AssessmentEditorController.prototype.exportToHTMLAssessme...
zxz-hg
coursebuilder/modules/dashboard/assessment_editor_lib.js
JavaScript
asf20
5,039