Created
April 12, 2014 16:18
-
-
Save shannah/10543939 to your computer and use it in GitHub Desktop.
Custom stylesheet included only for dashboard table.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class conf_ApplicationDelegate { | |
function beforeHandleRequest(){ | |
$app = Dataface_Application::getInstance(); | |
$query = $app->getQuery(); | |
$app->addHeadContent('<link rel="stylesheet" type="text/css" href="style.css"/>'); | |
if ( $query['-table'] == 'dashboard' ){ | |
$app->addHeadContent('<link rel="stylesheet" type="text/css" href="dashboard.css"/>'); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div#top-search-form {display:none;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment