mirror of
https://github.com/ascribe/onion.git
synced 2025-01-03 10:25:08 +01:00
rename piece_list_toolbar to a more fitting name: piece_list_bulk_modal
This commit is contained in:
parent
8a18d894cc
commit
c2c2049229
@ -4,9 +4,9 @@ import EditionListStore from '../../stores/edition_list_store';
|
|||||||
import EditionListActions from '../../actions/edition_list_actions';
|
import EditionListActions from '../../actions/edition_list_actions';
|
||||||
|
|
||||||
import AclButton from '../acl_button';
|
import AclButton from '../acl_button';
|
||||||
import PieceListToolbarSelectedEditionsWidget from './piece_list_toolbar_selected_editions_widget';
|
import PieceListBulkModalSelectedEditionsWidget from './piece_list_bulk_modal_selected_editions_widget';
|
||||||
|
|
||||||
let PieceListToolbar = React.createClass({
|
let PieceListBulkModal = React.createClass({
|
||||||
propTypes: {
|
propTypes: {
|
||||||
className: React.PropTypes.string
|
className: React.PropTypes.string
|
||||||
},
|
},
|
||||||
@ -82,15 +82,15 @@ let PieceListToolbar = React.createClass({
|
|||||||
return (
|
return (
|
||||||
<div className={this.props.className}>
|
<div className={this.props.className}>
|
||||||
<div className="row no-margin">
|
<div className="row no-margin">
|
||||||
<div className="col-xs-12 col-sm-12 col-md-12 col-lg-12 piece-list-toolbar">
|
<div className="col-xs-12 col-sm-12 col-md-12 col-lg-12 piece-list-bulk-modal">
|
||||||
<p></p>
|
<p></p>
|
||||||
<div className="row">
|
<div className="row">
|
||||||
<div className="text-center">
|
<div className="text-center">
|
||||||
<PieceListToolbarSelectedEditionsWidget
|
<PieceListBulkModalSelectedEditionsWidget
|
||||||
numberOfSelectedEditions={this.fetchSelectedEditionList().length} />
|
numberOfSelectedEditions={this.fetchSelectedEditionList().length} />
|
||||||
|
|
||||||
<span
|
<span
|
||||||
className="piece-list-toolbar-clear-all"
|
className="piece-list-bulk-modal-clear-all"
|
||||||
onClick={this.clearAllSelections}>clear all</span>
|
onClick={this.clearAllSelections}>clear all</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -114,4 +114,4 @@ let PieceListToolbar = React.createClass({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
export default PieceListToolbar;
|
export default PieceListBulkModal;
|
@ -1,6 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
let PieceListToolbarSelectedEditionsWidget = React.createClass({
|
let PieceListBulkModalSelectedEditionsWidget = React.createClass({
|
||||||
propTypes: {
|
propTypes: {
|
||||||
numberOfSelectedEditions: React.PropTypes.number.isRequired
|
numberOfSelectedEditions: React.PropTypes.number.isRequired
|
||||||
},
|
},
|
||||||
@ -14,4 +14,4 @@ let PieceListToolbarSelectedEditionsWidget = React.createClass({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
export default PieceListToolbarSelectedEditionsWidget;
|
export default PieceListBulkModalSelectedEditionsWidget;
|
@ -10,7 +10,7 @@ import AccordionListItemTableEditions from './ascribe_accordion_list/accordion_l
|
|||||||
|
|
||||||
import Pagination from './ascribe_pagination/pagination';
|
import Pagination from './ascribe_pagination/pagination';
|
||||||
|
|
||||||
import PieceListToolbar from './ascribe_piece_list_toolbar/piece_list_toolbar';
|
import PieceListBulkModal from './ascribe_piece_list_bulk_modal/piece_list_bulk_modal';
|
||||||
|
|
||||||
|
|
||||||
let PieceList = React.createClass({
|
let PieceList = React.createClass({
|
||||||
@ -50,7 +50,7 @@ let PieceList = React.createClass({
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<PieceListToolbar className="ascribe-piece-list-toolbar" />
|
<PieceListBulkModal className="ascribe-piece-list-bulk-modal" />
|
||||||
<AccordionList
|
<AccordionList
|
||||||
className="ascribe-accordion-list"
|
className="ascribe-accordion-list"
|
||||||
changeOrder={this.accordionChangeOrder}
|
changeOrder={this.accordionChangeOrder}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
.ascribe-piece-list-toolbar {
|
.ascribe-piece-list-bulk-modal {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top:0;
|
top:0;
|
||||||
width:1170px;
|
width:1170px;
|
||||||
@ -14,7 +14,7 @@
|
|||||||
z-index:9999;
|
z-index:9999;
|
||||||
}
|
}
|
||||||
|
|
||||||
.piece-list-toolbar-clear-all {
|
.piece-list-bulk-modal-clear-all {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
cursor:pointer;
|
cursor:pointer;
|
||||||
}
|
}
|
@ -1,12 +1,12 @@
|
|||||||
// If you import a new .scss file, make sure to restart gulp
|
// If you import a new .scss file, make sure to restart gulp
|
||||||
// otherwise it will not be included
|
// otherwise it will not be included
|
||||||
@import 'variables';
|
@import 'variables';
|
||||||
@import 'ascribe-variables';
|
@import 'ascribe_variables';
|
||||||
@import '../node_modules/bootstrap-sass/assets/stylesheets/bootstrap';
|
@import '../node_modules/bootstrap-sass/assets/stylesheets/bootstrap';
|
||||||
@import './ascribe-fonts/style';
|
@import './ascribe-fonts/style';
|
||||||
@import './ascribe-fonts/ascribe-fonts';
|
@import './ascribe-fonts/ascribe-fonts';
|
||||||
@import 'ascribe-accordion_list';
|
@import 'ascribe_accordion_list';
|
||||||
@import 'ascribe-piece-list-toolbar';
|
@import 'ascribe_piece_list_bulk_modal';
|
||||||
|
|
||||||
.hidden {
|
.hidden {
|
||||||
display: none;
|
display: none;
|
||||||
|
Loading…
Reference in New Issue
Block a user