Skip to content

Commit

Permalink
dev: fixed icon position in token browse screen + added bg color to h…
Browse files Browse the repository at this point in the history
…over on jqgrid tables
  • Loading branch information
mennodekker committed Jan 7, 2013
1 parent 214795e commit d58c2e8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion application/controllers/admin/tokens.php
Expand Up @@ -450,7 +450,7 @@ function getTokens_json($iSurveyId, $search = null)
//Get the survey response id of the matching entry
$id = Survey_dynamic::model($iSurveyId)->findAllByAttributes(array('token' => $token['token']));
if (count($id) > 0) {
$action .= viewHelper::getImageLink('token_viewanswer.png', "admin/responses/sa/view/surveyid/{$iSurveyId}/id/{$id[0]['id']}", $clang->gT("View response details"), null, '_top');
$action .= viewHelper::getImageLink('token_viewanswer.png', "admin/responses/sa/view/surveyid/{$iSurveyId}/id/{$id[0]['id']}", $clang->gT("View response details"), '_top');
} else {
$action .= '<div style="width: 20px; height: 16px; float: left;"></div>';
}
Expand Down
10 changes: 10 additions & 0 deletions styles/adminstyle.css
Expand Up @@ -35,4 +35,14 @@ div.htmleditor {

.codemirror-ui-find-bar{
margin-top: 0.2em !important;
}

.imagelink {
float:left;
}

.imagelink img {
margin-top: 3px;
margin-left: 1px;
margin-right: 1px;
}
1 change: 1 addition & 0 deletions styles/gringegreen/adminstyle.css
Expand Up @@ -580,6 +580,7 @@ a.optoutemail {
clear:left;
}

.ui-jqgrid-btable tr:hover td,
.browsetable tr:hover {
background-color: #C5D0F2;
}
Expand Down

0 comments on commit d58c2e8

Please sign in to comment.