mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
clean up code
This commit is contained in:
parent
7b60cfe0f4
commit
70d88d711f
@ -12,42 +12,6 @@ $this->loadHelper('Form', [
|
||||
'templates' => 'ripple_control_group_form',
|
||||
]);//*/
|
||||
?>
|
||||
<style type="text/css">
|
||||
.tippy-tooltip[data-animation=fade][data-state=hidden]{opacity:0}.tippy-iOS{cursor:pointer!important;-webkit-tap-highlight-color:transparent}.tippy-popper{pointer-events:none;max-width:calc(100vw - 10px);transition-timing-function:cubic-bezier(.165,.84,.44,1);transition-property:transform}.tippy-tooltip{position:relative;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;background-color:#333;transition-property:visibility,opacity,transform;outline:0}.tippy-tooltip[data-placement^=top]>.tippy-arrow{border-width:8px 8px 0;border-top-color:#333;margin:0 3px;transform-origin:50% 0;bottom:-7px}.tippy-tooltip[data-placement^=bottom]>.tippy-arrow{border-width:0 8px 8px;border-bottom-color:#333;margin:0 3px;transform-origin:50% 7px;top:-7px}.tippy-tooltip[data-placement^=left]>.tippy-arrow{border-width:8px 0 8px 8px;border-left-color:#333;margin:3px 0;transform-origin:0 50%;right:-7px}.tippy-tooltip[data-placement^=right]>.tippy-arrow{border-width:8px 8px 8px 0;border-right-color:#333;margin:3px 0;transform-origin:7px 50%;left:-7px}.tippy-tooltip[data-interactive][data-state=visible]{pointer-events:auto}.tippy-tooltip[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{position:absolute;border-color:transparent;border-style:solid}.tippy-content{padding:5px 9px}
|
||||
|
||||
.tippy-popper {
|
||||
ax-width: calc(100vw - 10px);
|
||||
|
||||
}
|
||||
.tippy-tooltip {
|
||||
color:#101010;
|
||||
background-color:#f9fafb;
|
||||
border-radius: 0;
|
||||
font-size:12px;
|
||||
}
|
||||
|
||||
.tippy-content b {
|
||||
color:#047006;
|
||||
}
|
||||
|
||||
.tippy-content ul {
|
||||
list-style-type:none;
|
||||
padding-left:4px;
|
||||
|
||||
}
|
||||
|
||||
.tippy-content .mdi {
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
.tippy-content .grid-header {
|
||||
padding: 5px 10px;
|
||||
margin-bottom:5px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
</style>
|
||||
<div class="row">
|
||||
<div class="col-md-10 equel-grid">
|
||||
<div class="grid">
|
||||
|
||||
@ -8190,9 +8190,14 @@ function view(vnode) {
|
||||
var acc = new _AccountState["default"]('account not on login-server');
|
||||
return (0, _mithril["default"])('', [(0, _mithril["default"])('.grid-body.py-3', (0, _mithril["default"])('p.grid-header', window.texte.USER_FOUND)), (0, _mithril["default"])('.table-responsive', (0, _mithril["default"])(_userTable["default"], {
|
||||
users: g_users
|
||||
})), (0, _mithril["default"])('.tippy-popper', (0, _mithril["default"])('.tippy-tooltip', {
|
||||
'data-placement': 'top'
|
||||
}, [(0, _mithril["default"])('.tippy-backdop'), (0, _mithril["default"])('.tippy-arrow'), (0, _mithril["default"])('.tippy-content', acc.getTooltip())]))]);
|
||||
}))
|
||||
/*m('.tippy-popper',
|
||||
m('.tippy-tooltip', {'data-placement': 'top'}, [
|
||||
m('.tippy-backdop'),
|
||||
m('.tippy-arrow'),
|
||||
m('.tippy-content', acc.getTooltip())
|
||||
]))*/
|
||||
]);
|
||||
return (0, _mithril["default"])(_userTable["default"], {
|
||||
users: g_users
|
||||
});
|
||||
@ -8340,9 +8345,11 @@ function view(vnode) {
|
||||
case 'text':
|
||||
actionColor = 'secondary';
|
||||
break;
|
||||
} //const tooltipContent = status.getTooltipText()
|
||||
} // disable until has function
|
||||
|
||||
|
||||
actionColor = false; //const tooltipContent = status.getTooltipText()
|
||||
|
||||
return (0, _mithril["default"])('tr', [(0, _mithril["default"])('td', actionColor !== false ? (0, _mithril["default"])('i.mdi.mdi-menu-down.btn.btn-xs.btn-' + actionColor) : null), (0, _mithril["default"])('td.pr-0', [(0, _mithril["default"])('span.text-black.font-weight-medium.d-block', user.name), (0, _mithril["default"])((0, _Tooltip["default"])((0, _mithril["default"])('span', [(0, _mithril["default"])('span.status-indicator.rounded-indicator.small.' + statusColor), (0, _mithril["default"])('small', statusTitle)])), {
|
||||
accountState: status
|
||||
})]), (0, _mithril["default"])('td', user.email), (0, _mithril["default"])('td', (0, _mithril["default"])(_Gradido["default"], {
|
||||
|
||||
2
webroot/js/userSearch.min.js
vendored
2
webroot/js/userSearch.min.js
vendored
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user