version 1.772, 2009/03/18 13:46:14
|
version 1.779, 2009/03/26 14:59:10
|
Line 406 sub studentbrowser_javascript {
|
Line 406 sub studentbrowser_javascript {
|
|| ($env{'request.role'}=~/^(au|dc|su)/) |
|| ($env{'request.role'}=~/^(au|dc|su)/) |
) { return ''; } |
) { return ''; } |
return (<<'ENDSTDBRW'); |
return (<<'ENDSTDBRW'); |
<script type="text/javascript" language="Javascript" > |
<script type="text/javascript" language="Javascript"> |
var stdeditbrowser; |
var stdeditbrowser; |
function openstdbrowser(formname,uname,udom,roleflag,ignorefilter) { |
function openstdbrowser(formname,uname,udom,roleflag,ignorefilter) { |
var url = '/adm/pickstudent?'; |
var url = '/adm/pickstudent?'; |
Line 452 sub selectstudent_link {
|
Line 452 sub selectstudent_link {
|
|
|
sub authorbrowser_javascript { |
sub authorbrowser_javascript { |
return <<"ENDAUTHORBRW"; |
return <<"ENDAUTHORBRW"; |
<script type="text/javascript"> |
<script type="text/javascript" language="JavaScript"> |
var stdeditbrowser; |
var stdeditbrowser; |
|
|
function openauthorbrowser(formname,udom) { |
function openauthorbrowser(formname,udom) { |
Line 473 sub coursebrowser_javascript {
|
Line 473 sub coursebrowser_javascript {
|
my ($domainfilter,$sec_element,$formname)=@_; |
my ($domainfilter,$sec_element,$formname)=@_; |
my $crs_or_grp_alert = &mt('Please select the type of LON-CAPA entity - Course or Group - for which you wish to add/modify a user role'); |
my $crs_or_grp_alert = &mt('Please select the type of LON-CAPA entity - Course or Group - for which you wish to add/modify a user role'); |
my $output = ' |
my $output = ' |
<script type="text/javascript"> |
<script type="text/javascript" language="JavaScript"> |
var stdeditbrowser;'."\n"; |
var stdeditbrowser;'."\n"; |
$output .= <<"ENDSTDBRW"; |
$output .= <<"ENDSTDBRW"; |
function opencrsbrowser(formname,uname,udom,desc,extra_element,multflag,crstype) { |
function opencrsbrowser(formname,uname,udom,desc,extra_element,multflag,crstype) { |
Line 796 sub linked_select_forms {
|
Line 796 sub linked_select_forms {
|
my $first = "document.$formname.$firstselectname"; |
my $first = "document.$formname.$firstselectname"; |
# output the javascript to do the changing |
# output the javascript to do the changing |
my $result = ''; |
my $result = ''; |
$result.="<script type=\"text/javascript\">\n"; |
$result.='<script type="text/javascript" language="JavaScript">'."\n"; |
$result.="var select2data = new Object();\n"; |
$result.="var select2data = new Object();\n"; |
$" = '","'; |
$" = '","'; |
my $debug = ''; |
my $debug = ''; |
Line 4505 body{
|
Line 4505 body{
|
} |
} |
a:link, a:visited { font-size:100%; } |
a:link, a:visited { font-size:100%; } |
|
|
a:focus { color: red; background: yellow } |
a:focus { color: red; background: yellow } |
table.thinborder, |
table.thinborder, |
table.thinborder tr th { |
table.thinborder tr th { |
border-style: solid; |
border-style: solid; |
Line 4521 table.thinborder tr td {
|
Line 4521 table.thinborder tr td {
|
|
|
form, .inline { display: inline; } |
form, .inline { display: inline; } |
|
|
.LC_center { text-align: center; } |
|
.LC_left { text-align:left; } |
|
.LC_right {text-align:right;} |
.LC_right {text-align:right;} |
.LC_middle {vertical-align:middle;} |
.LC_middle {vertical-align:middle;} |
.LC_top {vertical-align:top;} |
|
.LC_bottom {vertical-align:bottom;} |
|
|
|
/* just for tests */ |
/* just for tests */ |
.LC_300Box { width:300px; } |
|
.LC_400Box {width:400px; } |
.LC_400Box {width:400px; } |
.LC_500Box {width:500px; } |
|
.LC_600Box {width:600px; } |
|
.LC_800Box {width:800px;} |
|
/* end */ |
/* end */ |
|
|
.LC_filename {font-family: $mono; white-space:pre;} |
.LC_filename { |
|
font-family: $mono; |
|
white-space:pre; |
|
} |
|
|
|
.LC_fileicon { |
|
border: none; |
|
height: 1.3em; |
|
vertical-align: text-bottom; |
|
margin-right: 0.3em; |
|
text-decoration:none; |
|
} |
|
|
.LC_error { |
.LC_error { |
color: red; |
color: red; |
font-size: larger; |
font-size: larger; |
Line 4559 form, .inline { display: inline; }
|
Line 4563 form, .inline { display: inline; }
|
border: none; |
border: none; |
} |
} |
|
|
.LC_fileicon { |
|
border: none; |
|
height: 1.3em; |
|
vertical-align: text-bottom; |
|
margin-right: 0.3em; |
|
text-decoration:none; |
|
} |
|
|
|
.LC_indexer_icon { |
.LC_indexer_icon { |
border: 0px; |
border: 0px; |
height: 22px; |
height: 22px; |
Line 4594 table#LC_top_nav, table#LC_menubuttons,t
|
Line 4590 table#LC_top_nav, table#LC_menubuttons,t
|
padding: 0px; |
padding: 0px; |
} |
} |
|
|
table#LC_title_bar, table.LC_breadcrumbs, |
table#LC_title_bar, table.LC_breadcrumbs, |
table#LC_title_bar.LC_with_remote { |
table#LC_title_bar.LC_with_remote { |
width: 100%; |
width: 100%; |
border-color: $pgbg; |
border-color: $pgbg; |
Line 4618 table.LC_docs_path {
|
Line 4614 table.LC_docs_path {
|
table#LC_title_bar td { |
table#LC_title_bar td { |
background: $tabbg; |
background: $tabbg; |
} |
} |
table#LC_title_bar td.LC_title_bar_who { |
table#LC_title_bar .LC_title_bar_who { |
background: $tabbg; |
background: $tabbg; |
color: $font; |
color: $font; |
font: small $sans; |
font: small $sans; |
text-align: right; |
text-align: right; |
|
margin: 0px; |
|
} |
|
table#LC_title_bar .LC_title_bar_name { |
|
margin: 0px; |
|
} |
|
table#LC_title_bar .LC_title_bar_role { |
|
margin: 0px; |
|
} |
|
table#LC_title_bar .LC_title_bar_realm { |
|
margin: 0px; |
} |
} |
span.LC_metadata { |
span.LC_metadata { |
font-family: $sans; |
font-family: $sans; |
Line 4705 table#LC_mainmenu td.LC_mainmenu_column
|
Line 4711 table#LC_mainmenu td.LC_mainmenu_column
|
font-size: 120%; |
font-size: 120%; |
} |
} |
|
|
.LC_fontcolor_red |
|
{ |
|
color: #FF0000; |
|
} |
|
|
|
.LC_menubuttons_inline_text { |
.LC_menubuttons_inline_text { |
color: $font; |
color: $font; |
font-family: $sans; |
font-family: $sans; |
Line 4730 table#LC_mainmenu td.LC_mainmenu_column
|
Line 4731 table#LC_mainmenu td.LC_mainmenu_column
|
} |
} |
|
|
td.LC_menubuttons_text { |
td.LC_menubuttons_text { |
color: $font; |
color: $font; |
} |
} |
|
|
|
|
Line 4801 table.LC_data_table tr.LC_info_row > td
|
Line 4802 table.LC_data_table tr.LC_info_row > td
|
font-weight: bold; |
font-weight: bold; |
text-align: left; |
text-align: left; |
} |
} |
table.LC_data_table tr.LC_odd_row > td, |
table.LC_data_table tr.LC_odd_row > td, |
table.LC_pick_box tr > td.LC_odd_row, |
table.LC_pick_box tr > td.LC_odd_row, |
table.LC_aboutme_port tr td { |
table.LC_aboutme_port tr td { |
background-color: $data_table_light; |
background-color: $data_table_light; |
Line 4899 table.LC_calendar tr td.LC_calendar_day_
|
Line 4900 table.LC_calendar tr td.LC_calendar_day_
|
table.LC_calendar tr td.LC_calendar_day_current { |
table.LC_calendar tr td.LC_calendar_day_current { |
background-color: $data_table_highlight; |
background-color: $data_table_highlight; |
} |
} |
|
|
table.LC_mail_list tr.LC_mail_new { |
table.LC_mail_list tr.LC_mail_new { |
background-color: $mail_new; |
background-color: $mail_new; |
} |
} |
table.LC_mail_list tr.LC_mail_new:hover { |
table.LC_mail_list tr.LC_mail_new:hover { |
background-color: $mail_new_hover; |
background-color: $mail_new_hover; |
} |
} |
|
table.LC_mail_list tr.LC_mail_even{ |
|
} |
|
table.LC_mail_list tr.LC_mail_odd{ |
|
} |
table.LC_mail_list tr.LC_mail_read { |
table.LC_mail_list tr.LC_mail_read { |
background-color: $mail_read; |
background-color: $mail_read; |
} |
} |
Line 4924 table.LC_mail_list tr.LC_mail_other {
|
Line 4928 table.LC_mail_list tr.LC_mail_other {
|
table.LC_mail_list tr.LC_mail_other:hover { |
table.LC_mail_list tr.LC_mail_other:hover { |
background-color: $mail_other_hover; |
background-color: $mail_other_hover; |
} |
} |
table.LC_mail_list tr.LC_mail_even { |
|
} |
|
table.LC_mail_list tr.LC_mail_odd { |
|
} |
|
|
|
table.LC_data_table tr > td.LC_browser_file, |
table.LC_data_table tr > td.LC_browser_file, |
table.LC_data_table tr > td.LC_browser_file_published { |
table.LC_data_table tr > td.LC_browser_file_published { |
Line 4995 span.LC_parm_folder, span.LC_parm_symb {
|
Line 4995 span.LC_parm_folder, span.LC_parm_symb {
|
} |
} |
|
|
td.LC_parm_overview_level_menu, td.LC_parm_overview_map_menu, |
td.LC_parm_overview_level_menu, td.LC_parm_overview_map_menu, |
td.LC_parm_overview_parm_selectors, td.LC_parm_overview_parm_restrictions { |
td.LC_parm_overview_parm_selectors,td.LC_parm_overview_restrictions { |
border: 1px solid black; |
border: 1px solid black; |
border-collapse: collapse; |
border-collapse: collapse; |
} |
} |
Line 5207 table.LC_descriptive_input td.LC_descrip
|
Line 5207 table.LC_descriptive_input td.LC_descrip
|
div.LC_feedback_link { |
div.LC_feedback_link { |
clear: both; |
clear: both; |
background: white; |
background: white; |
width: 100%; |
width: 100%; |
} |
} |
span.LC_feedback_link { |
span.LC_feedback_link { |
background: $feedback_link_bg; |
background: $feedback_link_bg; |
Line 5238 table.LC_prior_tries td {
|
Line 5238 table.LC_prior_tries td {
|
background: #FFAAAA ! important; |
background: #FFAAAA ! important; |
color: black; |
color: black; |
} |
} |
.LC_answer_not_charged_try, |
.LC_answer_not_charged_try, |
.LC_answer_no_grade, |
.LC_answer_no_grade, |
.LC_answer_late { |
.LC_answer_late { |
background: #FFFFAA; |
background: #FFFFAA; |
Line 5256 table.LC_prior_tries td {
|
Line 5256 table.LC_prior_tries td {
|
background: orange; |
background: orange; |
color: black; |
color: black; |
} |
} |
|
|
|
|
span.LC_prior_numerical, |
span.LC_prior_numerical, |
span.LC_prior_string, |
span.LC_prior_string, |
span.LC_prior_custom, |
span.LC_prior_custom, |
Line 5304 table.LC_docs_documents {
|
Line 5302 table.LC_docs_documents {
|
border-width: 0px; |
border-width: 0px; |
border-collapse: collapse; |
border-collapse: collapse; |
} |
} |
|
|
table.LC_docs_documents td.LC_docs_document { |
table.LC_docs_documents td.LC_docs_document { |
border: 2px solid black; |
border: 2px solid black; |
padding: 4px; |
padding: 4px; |
} |
} |
|
|
.LC_docs_entry_move { |
.LC_docs_entry_move { |
border: 0px; |
border: 0px; |
border-collapse: collapse; |
border-collapse: collapse; |
Line 5382 table.LC_double_column tr td.LC_left_col
|
Line 5378 table.LC_double_column tr td.LC_left_col
|
|
|
table.LC_double_column tr td.LC_right_col { |
table.LC_double_column tr td.LC_right_col { |
top: 2px; |
top: 2px; |
right: 2px; |
right: 2px; |
width: 47%; |
width: 47%; |
vertical-align: top; |
vertical-align: top; |
} |
} |
Line 5460 table.LC_scantron_action tr th {
|
Line 5456 table.LC_scantron_action tr th {
|
font-weight:bold; |
font-weight:bold; |
font-style:normal; |
font-style:normal; |
} |
} |
.LC_edit_problem_header, |
.LC_edit_problem_header, |
div.LC_edit_problem_footer { |
div.LC_edit_problem_footer { |
font-weight: normal; |
font-weight: normal; |
font-size: medium; |
font-size: medium; |
Line 5535 table#LC_mainmenu td.LC_mainmenu_col_fie
|
Line 5531 table#LC_mainmenu td.LC_mainmenu_col_fie
|
font-size: small; |
font-size: small; |
font-weight: bold; |
font-weight: bold; |
} |
} |
|
|
div.LC_createcourse { |
div.LC_createcourse { |
margin: 10px 10px 10px 10px; |
margin: 10px 10px 10px 10px; |
} |
} |
Line 5558 ul.LC_TabContent li:hover a{
|
Line 5553 ul.LC_TabContent li:hover a{
|
text-decoration:none; |
text-decoration:none; |
} |
} |
|
|
h1 { |
h1 { |
padding:5px 10px 5px 20px; |
padding:5px 10px 5px 20px; |
line-height:130%; |
line-height:130%; |
} |
} |
Line 5573 h2,h3,h4,h5,h6
|
Line 5568 h2,h3,h4,h5,h6
|
padding:3px 15px 3px 15px; |
padding:3px 15px 3px 15px; |
margin:0px; |
margin:0px; |
background-color:$tabbg; |
background-color:$tabbg; |
border-bottom:solid 1px $lg_border_color; |
border-bottom:solid 1px $lg_border_color; |
} |
} |
.LC_noBorder { |
.LC_noBorder { |
border:0px; |
border:0px; |
} |
} |
|
|
.LC_bgLightGrey{ |
|
background:URL(/adm/lonIcons/lightGreyBG.png) repeat-x left bottom; |
|
} |
|
|
|
|
|
/* Main Header with discription of Person, Course, etc. */ |
/* Main Header with discription of Person, Course, etc. */ |
.LC_HeadRight { |
|
text-align: right; |
|
float: right; |
|
margin: 0px; |
|
padding: 0px; |
|
right:0; |
|
position:absolute; |
|
overflow:hidden; |
|
} |
|
|
|
.LC_Right { |
.LC_Right { |
float: right; |
float: right; |
Line 5606 p, .LC_ContentBox {
|
Line 5588 p, .LC_ContentBox {
|
|
|
} |
} |
.LC_FormSectionClearButton input { |
.LC_FormSectionClearButton input { |
background-color:transparent; |
background-color:transparent; |
border:0px; |
border:0px; |
cursor:pointer; |
cursor:pointer; |
text-decoration:underline; |
text-decoration:underline; |
Line 5683 ul.LC_TabContent li{
|
Line 5665 ul.LC_TabContent li{
|
background-color:$tabbg; |
background-color:$tabbg; |
border-bottom:solid 1px $lg_border_color; |
border-bottom:solid 1px $lg_border_color; |
} |
} |
ul.LC_TabContent li a, ul.LC_TabContent li{ |
ul.LC_TabContent li a, ul.LC_TabContent li{ |
color:rgb(47,47,47); |
color:rgb(47,47,47); |
text-decoration:none; |
text-decoration:none; |
font-size:95%; |
font-size:95%; |
Line 5710 ul.LC_TabContentBigger li, ul.LC_TabCont
|
Line 5692 ul.LC_TabContentBigger li, ul.LC_TabCont
|
font-size:110%; |
font-size:110%; |
font-weight:bold; |
font-weight:bold; |
} |
} |
#LC_CourseDocuments, #LC_SupplementalCourseDocuments |
|
{ |
|
margin:0px; |
|
} |
|
|
|
.LC_hideThis |
|
{ |
|
display:none; |
|
visibility:hidden; |
|
} |
|
|
|
ol#LC_MenuBreadcrumbs, ol#LC_PathBreadcrumbs { |
ol#LC_MenuBreadcrumbs, ol#LC_PathBreadcrumbs { |
border-top: solid 1px RGB(255, 255, 255); |
border-top: solid 1px RGB(255, 255, 255); |
Line 5735 ol#LC_MenuBreadcrumbs, ol#LC_PathBreadcr
|
Line 5707 ol#LC_MenuBreadcrumbs, ol#LC_PathBreadcr
|
ol#LC_MenuBreadcrumbs li, ol#LC_PathBreadcrumbs li { |
ol#LC_MenuBreadcrumbs li, ol#LC_PathBreadcrumbs li { |
/* |
/* |
background: url(/adm/lonIcons/arrow_white.png) no-repeat left center; |
background: url(/adm/lonIcons/arrow_white.png) no-repeat left center; |
*/ |
*/ |
display: inline; |
display: inline; |
padding: 0px 0px 0px 10px; |
padding: 0px 0px 0px 10px; |
vertical-align: bottom; |
vertical-align: bottom; |
Line 5782 dl.LC_ListStyleClean dd {
|
Line 5754 dl.LC_ListStyleClean dd {
|
.LC_ListStyleClean, |
.LC_ListStyleClean, |
.LC_ListStyleSimple, |
.LC_ListStyleSimple, |
.LC_ListStyleNormal, |
.LC_ListStyleNormal, |
.LC_ListStyleNormal_Border, |
.LC_ListStyle_Border, |
.LC_ListStyleSpecial |
.LC_ListStyleSpecial |
{ |
{ |
/*display:block; */ |
/*display:block; */ |
Line 5919 table em{
|
Line 5891 table em{
|
font-weight: bold; |
font-weight: bold; |
font-style: normal; |
font-style: normal; |
} |
} |
table.LC_tableBrowseRes, |
table.LC_tableBrowseRes, |
table.LC_tableOfContent{ |
table.LC_tableOfContent{ |
border:none; |
border:none; |
border-spacing: 1; |
border-spacing: 1; |
Line 5949 a#LC_content_toolbar_firsthomework{
|
Line 5921 a#LC_content_toolbar_firsthomework{
|
background-image:url(/res/adm/pages/open-first-problem.gif); |
background-image:url(/res/adm/pages/open-first-problem.gif); |
} |
} |
|
|
a#LC_content_toolbar_launchnav{ |
a#LC_content_toolbar_launchnav{ |
background-image:url(/res/adm/pages/start-navigation.gif); |
background-image:url(/res/adm/pages/start-navigation.gif); |
} |
} |
|
|
Line 5982 ul#LC_toolbar li a:hover{
|
Line 5954 ul#LC_toolbar li a:hover{
|
} |
} |
|
|
ul#LC_toolbar{ |
ul#LC_toolbar{ |
padding:0; |
padding:0; |
margin: 2px; |
margin: 2px; |
list-style:none; |
list-style:none; |
position:relative; |
position:relative; |
Line 6004 a.LC_toolbarItem{
|
Line 5976 a.LC_toolbarItem{
|
margin:0; |
margin:0; |
height: 32px; |
height: 32px; |
width: 32px; |
width: 32px; |
color:white; |
color:white; |
border:0 none; |
border:0 none; |
background-repeat:no-repeat; |
background-repeat:no-repeat; |
background-color:transparent; |
background-color:transparent; |
} |
} |