mirror of
https://github.com/wassname/talk.git
synced 2026-07-15 11:26:58 +08:00
Merge branch 'master' into translations
This commit is contained in:
@@ -133,6 +133,7 @@ th.header:nth-child(2), th.header:nth-child(3) {
|
||||
|
||||
.roleDropdown {
|
||||
width: 150px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.roleOption {
|
||||
|
||||
@@ -202,7 +202,7 @@ class People extends React.Component {
|
||||
</td>
|
||||
<td className="mdl-data-table__cell--non-numeric">
|
||||
<Dropdown
|
||||
className={cn(
|
||||
toggleClassName={cn(
|
||||
'talk-admin-community-people-dd-role',
|
||||
styles.roleDropdown
|
||||
)}
|
||||
|
||||
@@ -92,9 +92,6 @@
|
||||
|
||||
.statusDropdown {
|
||||
width: 150px;
|
||||
}
|
||||
|
||||
.statusDropdownOption {
|
||||
min-width: 100px;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
|
||||
@@ -22,20 +22,12 @@ class Stories extends Component {
|
||||
const closed = !!(closedAt && new Date(closedAt).getTime() < Date.now());
|
||||
return (
|
||||
<Dropdown
|
||||
className={styles.statusDropdown}
|
||||
toggleClassName={styles.statusDropdown}
|
||||
value={closed}
|
||||
onChange={value => this.props.onStatusChange(value, id)}
|
||||
>
|
||||
<Option
|
||||
value={false}
|
||||
label={t('streams.open')}
|
||||
className={styles.statusDropdownOption}
|
||||
/>
|
||||
<Option
|
||||
value={true}
|
||||
label={t('streams.closed')}
|
||||
className={styles.statusDropdownOption}
|
||||
/>
|
||||
<Option value={false} label={t('streams.open')} />
|
||||
<Option value={true} label={t('streams.closed')} />
|
||||
</Dropdown>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
.dropdown {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
.option {
|
||||
min-width: 100px;
|
||||
width: 100%;
|
||||
padding: 10px;
|
||||
outline: none;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
{% include "partials/data.njk" %}
|
||||
</head>
|
||||
<body>
|
||||
<script type="application/json" id="auth">{{ encodeJSONForHTML(auth) }}</script>
|
||||
<script type="application/json" id="auth">{{ encodeJSONForHTML(auth) | safe }}</script>
|
||||
<script type="text/javascript" src="{{ resolve('coral-auth-callback/bundle.js') }}"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -5,6 +5,9 @@
|
||||
{% block css %}
|
||||
<link href="{{ resolve('embed/stream/default.css')}}" rel="stylesheet">
|
||||
<link href="{{ resolve('embed/stream/bundle.css')}}" rel="stylesheet">
|
||||
|
||||
{# Custom CSS is included after the CSS block so that its overrides will apply #}
|
||||
{% include "partials/custom-css.njk" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block html %}
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
|
||||
{% block css %}
|
||||
<link href="{{ resolve('coral-login/bundle.css')}}" rel="stylesheet">
|
||||
|
||||
{# Custom CSS is included after the CSS block so that its overrides will apply #}
|
||||
{% include "partials/custom-css.njk" %}
|
||||
{% endblock %}
|
||||
|
||||
{% block html %}
|
||||
|
||||
@@ -3,4 +3,7 @@
|
||||
{% block css %}
|
||||
<link rel="stylesheet" href="https://code.getmdl.io/1.2.1/material.indigo-pink.min.css">
|
||||
<link rel="stylesheet" href="{{ BASE_PATH }}public/css/admin.css">
|
||||
|
||||
{# Custom CSS is included after the CSS block so that its overrides will apply #}
|
||||
{% include "partials/custom-css.njk" %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -19,7 +19,6 @@
|
||||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
|
||||
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600" rel="stylesheet">
|
||||
{% include "partials/custom-css.njk" %}
|
||||
{% block css %}{% endblock %}
|
||||
|
||||
{# Static data injection #}
|
||||
|
||||
Reference in New Issue
Block a user