MDL-29030 update themes to use new report selectors

This commit is contained in:
Petr Skoda 2011-11-03 10:52:03 +01:00
parent cf24e82ed3
commit 635284c42f
4 changed files with 26 additions and 25 deletions

View File

@ -75,37 +75,37 @@
margin: 0 4px 10px; margin: 0 4px 10px;
} }
#page-course-report-outline-index .loginfo { #page-report-outline-index .loginfo {
text-align: center; text-align: center;
margin-bottom: 1em; margin-bottom: 1em;
} }
#page-course-report-participation-index #participationreport { #page-report-participation-index #participationreport {
text-align: center; text-align: center;
} }
#page-course-report-participation-index #participationreport .reporttable { #page-report-participation-index #participationreport .reporttable {
margin: 0 auto 1em; margin: 0 auto 1em;
} }
#page-course-report-participation-index #participationreport .selectbuttons input { #page-report-participation-index #participationreport .selectbuttons input {
margin: 10px 5px; margin: 10px 5px;
} }
#page-course-report-log-live .info, #page-report-loglive-index .info,
#page-course-report-log-index .logselectform, #page-report-log-index .logselectform,
#page-course-report-log-index .info, #page-report-log-index .info,
#page-course-report-log-index .paging { #page-report-log-index .paging {
text-align: center; text-align: center;
} }
#page-course-report-log-index .logselectform select, #page-report-log-index .logselectform select,
#page-course-report-log-index .logselectform input { #page-report-log-index .logselectform input {
margin: 2px 4px; margin: 2px 4px;
} }
#page-course-report-log-live .generaltable, #page-report-loglive-index .generaltable,
#page-course-report-log-index .generaltable { #page-report-log-index .generaltable {
margin: 5px auto; margin: 5px auto;
} }

View File

@ -75,18 +75,18 @@
#page-course-report #content {padding-top:15px;padding-bottom:15px;} #page-course-report #content {padding-top:15px;padding-bottom:15px;}
#page-course-report #region-main p, #page-course-report #region-main p,
#page-course-report-log-index #region-main .info, #page-report-log-index #region-main .info,
#page-course-report-log-indexlive #region-main .info, #page-report-loglive-index #region-main .info,
#page-course-report-stats-index #region-main .graph {text-align:center;} #page-report-stats-index #region-main .graph {text-align:center;}
#page-course-report .logselectform, #page-course-report .logselectform,
#page-course-report .participationselectform, #page-course-report .participationselectform,
#page-course-report-log-index .logselectform, #page-report-log-index .logselectform,
#page-course-report-participation-index .participationselectform {text-align:center;} #page-report-participation-index .participationselectform {text-align:center;}
.addcoursebutton {text-align:center;} .addcoursebutton {text-align:center;}
.categorypicker {text-align:center;margin-bottom:10px;} .categorypicker {text-align:center;margin-bottom:10px;}
.path-course-report-outline .loginfo {text-align:center;margin:1em;} .path-report-outline .loginfo {text-align:center;margin:1em;}
.categorylist {width:90%;margin:0 auto;text-align:left;} .categorylist {width:90%;margin:0 auto;text-align:left;}
/* Course and category combo list on front page */ /* Course and category combo list on front page */

View File

@ -72,18 +72,18 @@
#page-course-report #content {padding-top:15px;padding-bottom:15px;} #page-course-report #content {padding-top:15px;padding-bottom:15px;}
#page-course-report #region-main p, #page-course-report #region-main p,
#page-course-report-log-index #region-main .info, #page-report-log-index #region-main .info,
#page-course-report-log-indexlive #region-main .info, #page-report-loglive-index #region-main .info,
#page-course-report-stats-index #region-main .graph {text-align: center;} #page-report-stats-index #region-main .graph {text-align: center;}
#page-course-report .logselectform, #page-course-report .logselectform,
#page-course-report .participationselectform, #page-course-report .participationselectform,
#page-course-report-log-index .logselectform, #page-report-log-index .logselectform,
#page-course-report-participation-index .participationselectform {text-align:center;} #page-report-participation-index .participationselectform {text-align:center;}
.addcoursebutton {text-align:center;} .addcoursebutton {text-align:center;}
.categorypicker {text-align:center;margin-bottom:10px;} .categorypicker {text-align:center;margin-bottom:10px;}
.path-course-report-outline .loginfo {text-align:center;margin: 1em;} .path-report-outline .loginfo {text-align:center;margin: 1em;}
.categorylist {width: 90%;margin:0 auto;text-align: left;} .categorylist {width: 90%;margin:0 auto;text-align: left;}
/* Course and category combo list on front page */ /* Course and category combo list on front page */

View File

@ -5,4 +5,5 @@ information provided here is intended especially for theme designer.
required changes: required changes:
* use new page content placeholder "echo $OUTPUT->main_content()" instead of "echo core_renderer::MAIN_CONTENT_TOKEN" * use new page content placeholder "echo $OUTPUT->main_content()" instead of "echo core_renderer::MAIN_CONTENT_TOKEN"
see git commit: 3b3f302855d7621405a8b93e49bd399d67a998d7 see git commit: 3b3f302855d7621405a8b93e49bd399d67a998d7
* upgrade report selectors: search for "-course-report-" and repleace with "-report-"