1
0
mirror of https://github.com/ascribe/onion.git synced 2025-01-03 10:25:08 +01:00

s3 views dont accept anonymous

This commit is contained in:
diminator 2015-07-01 11:43:33 +02:00
parent ca3b058b4d
commit f58a65eb0c
2 changed files with 6 additions and 2 deletions

View File

@ -42,11 +42,11 @@ let DeleteButton = React.createClass({
if (availableAcls.indexOf('delete') > -1) {
content = <EditionDeleteForm editions={ this.props.editions }/>;
btnDelete = <Button bsStyle="danger" bsSize="small">DELETE</Button>;
btnDelete = <Button bsStyle="danger" className="btn-delete" bsSize="small">DELETE</Button>;
}
else if (availableAcls.indexOf('del_from_collection') > -1){
content = <EditionRemoveFromCollectionForm editions={ this.props.editions }/>;
btnDelete = <Button bsStyle="danger" bsSize="small">REMOVE FROM COLLECTION</Button>;
btnDelete = <Button bsStyle="danger" className="btn-delete" bsSize="small">REMOVE FROM COLLECTION</Button>;
}
else{
return null;

View File

@ -100,6 +100,10 @@ body {
.btn-delete{
background-color: rgba(0,0,0,0);
color: #888;
border: 1px solid rgba(0,0,0,0);
&:hover{
border: 1px solid $ascribe-brand-danger;
}
}
.btn-ascribe, .btn-ascribe-inv {
border: 1px solid #444;