mirror of
https://github.com/opensupports/opensupports.git
synced 2025-07-30 17:25:11 +02:00
Max Red - Added even more basic scss [skip ci]
This commit is contained in:
parent
1f6e3ae028
commit
0500666174
@ -61,7 +61,16 @@ class AdminPanelStats extends React.Component {
|
||||
values: this.state.showed,
|
||||
className: 'admin-panel-stats__toggle-list',
|
||||
onChange: this.onToggleListChange.bind(this),
|
||||
items: [
|
||||
items: ['CREATE_TICKET', 'CLOSE', 'SIGNUP', 'COMMENT'].map((name) => {
|
||||
return {
|
||||
content:
|
||||
<div className={'admin-panel-stats__toggle-list-item'}>
|
||||
<div className={'admin-panel-stats__toggle-list-item-value'}>{this.state.stats[name]}</div>
|
||||
<div className={'admin-panel-stats__toggle-list-item-name'}>{i18n('CHART_' + name)}</div>
|
||||
</div>
|
||||
}
|
||||
})
|
||||
/*sitems: [
|
||||
{
|
||||
content:
|
||||
<div>
|
||||
@ -90,7 +99,7 @@ class AdminPanelStats extends React.Component {
|
||||
<div>{i18n('CHART_COMMENT')}</div>
|
||||
</div>
|
||||
}
|
||||
]
|
||||
]*/
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
@import "../../../../scss/vars";
|
||||
|
||||
.admin-panel-stats {
|
||||
|
||||
&__dropdown {
|
||||
@ -7,5 +9,19 @@
|
||||
|
||||
&__toggle-list {
|
||||
margin-bottom: 20px;
|
||||
|
||||
&-item {
|
||||
|
||||
&-value {
|
||||
font-size: $font-size--lg;
|
||||
line-height: 80px;
|
||||
}
|
||||
|
||||
&-name {
|
||||
font-size: $font-size--md;
|
||||
line-height: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user