1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 09:23:13 +01:00

readd sourcemaps

This commit is contained in:
Tim Daubenschütz 2015-06-12 13:36:55 +02:00
parent bf0a2aeefb
commit dcd770ab5f
6 changed files with 14 additions and 5 deletions

View File

@ -94,7 +94,7 @@ gulp.task('sass:build', function () {
}); });
gulp.task('sass:watch', function () { gulp.task('sass:watch', function () {
gulp.watch('./sass/**/*.scss', ['sass']); gulp.watch('./sass/**/*.scss', ['sass:build']);
}); });
gulp.task('copy', function () { gulp.task('copy', function () {

View File

@ -7,6 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="//brick.a.ssl.fastly.net/Source+Sans+Pro:400,600,700,900"> <link rel="stylesheet" href="//brick.a.ssl.fastly.net/Source+Sans+Pro:400,600,700,900">
<link rel="stylesheet" href="/static/css/main.css"> <link rel="stylesheet" href="/static/css/main.css">
<link rel="stylesheet" href="/static/css/maps/main.css.map">
</head> </head>
<body> <body>
<div id="main" class="container"></div> <div id="main" class="container"></div>

View File

@ -45,7 +45,7 @@ let DeleteButton = React.createClass({
} }
else if (availableAcls.indexOf('del_from_collection') > -1){ else if (availableAcls.indexOf('del_from_collection') > -1){
content = <EditionRemoveFromCollectionForm editions={ this.props.editions }/>; content = <EditionRemoveFromCollectionForm editions={ this.props.editions }/>;
btnDelete = <Button bsStyle="danger" bsSize="small">REMOVE FROM LIST</Button>; btnDelete = <Button bsStyle="danger" bsSize="small">REMOVE FROM COLLECTION</Button>;
} }
else{ else{
return <div></div>; return <div></div>;

View File

@ -17,7 +17,9 @@ let TableItemCheckbox = React.createClass({
render() { render() {
return ( return (
<input type="checkbox" onChange={this.selectItem} checked={this.props.selected}/> <span>
<input type="checkbox" onChange={this.selectItem} checked={this.props.selected}/>
</span>
); );
} }
}); });

View File

@ -1,8 +1,8 @@
'use strict'; 'use strict';
let constants = { let constants = {
'baseUrl': 'http://localhost:8000/api/', //'baseUrl': 'http://localhost:8000/api/',
//'baseUrl': 'http://staging.ascribe.io/api/', 'baseUrl': 'http://staging.ascribe.io/api/',
'debugCredentialBase64': 'ZGltaUBtYWlsaW5hdG9yLmNvbTowMDAwMDAwMDAw', // dimi@mailinator:0000000000 'debugCredentialBase64': 'ZGltaUBtYWlsaW5hdG9yLmNvbTowMDAwMDAwMDAw', // dimi@mailinator:0000000000
'aclList': ['edit', 'consign', 'consign_request', 'unconsign', 'unconsign_request', 'transfer', 'aclList': ['edit', 'consign', 'consign_request', 'unconsign', 'unconsign_request', 'transfer',
'loan', 'loan_request', 'share', 'download', 'view', 'delete', 'del_from_collection', 'add_to_collection'] 'loan', 'loan_request', 'share', 'download', 'view', 'delete', 'del_from_collection', 'add_to_collection']

View File

@ -46,6 +46,12 @@
margin-bottom:0; margin-bottom:0;
} }
/*This is aligning the first checkbox in pieclist detail with all the other ones*/
.table > thead:first-child > tr:first-child > th {
padding-left:0;
}
.ascribe-table-header-column > span { .ascribe-table-header-column > span {
display: table-cell; display: table-cell;
vertical-align: middle; vertical-align: middle;