-
Notifications
You must be signed in to change notification settings - Fork 127
enhance status display #2508
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enhance status display #2508
Conversation
> div { | ||
margin-bottom: 10px; | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
conflicts with cards : main area and cards on the right (my last forms) overlap
5a4223c
to
98606a2
Compare
@@ -823,38 +811,35 @@ a.plugin_formcreator_formTile_title { | |||
} | |||
|
|||
#plugin_formcreator_lastForms { | |||
.plugin_formcreator_card { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
specifying .plugin_formcreator_card is useless.
echo '<li data-itemtype="PluginFormcreatorFormanswer" data-id="' . $formAnswer['id'] . '">'; | ||
echo '<i class="'.$status.'"></i><a href="formanswer.form.php?id='.$formAnswer['id'].'">'.$formAnswer['name'].'</a>'; | ||
echo '<span class="plugin_formcreator_date">'.Html::convDateTime($formAnswer['request_date']).'</span>'; | ||
echo '</li>'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
deindent the lines : 1 level; show status with Font Awesome
@@ -1082,21 +1085,24 @@ protected function showMyLastForms() : void { | |||
echo '<div class="card-body text-center text-muted" >'.__('No form waiting for validation', 'formcreator').'</div>'; | |||
} else { | |||
echo '<div class="card-body">'; | |||
echo '<ul>'; | |||
echo '<ul class="list-group">'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
class was missing; see the 1st card in showMyLastForms() (a few dozens line above)
Use Common ITILObject statuses instead of icons (.png) provided by the plugin