mirror of https://github.com/BOINC/boinc.git
Allow additional CSS file for ops pages (defined in project.inc as ADMIN_STYLESHEET)
This commit is contained in:
parent
1b4c2c0dbf
commit
258c6d802b
|
@ -31,7 +31,11 @@ function admin_page_head($title) {
|
|||
$stylesheet = URL_BASE.STYLESHEET;
|
||||
|
||||
echo "<html><head><title>$title</title>
|
||||
<link rel=stylesheet type=\"text/css\" href=\"".URL_BASE."main.css\" media=\"all\" />
|
||||
<link rel=stylesheet type=\"text/css\" href=\"".URL_BASE."main.css\" media=\"all\" />";
|
||||
if (defined('ADMIN_STYLESHEET')) {
|
||||
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"".URL_BASE.ADMIN_STYLESHEET."\" media=\"all\" />";
|
||||
}
|
||||
echo "
|
||||
</head>
|
||||
<body bgcolor=\"#ffffff\">
|
||||
<h2>".PROJECT.": $title</h2>
|
||||
|
|
Loading…
Reference in New Issue