|
|
@ -722,11 +722,11 @@ export default class Browse extends React.Component { |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div className="input-group" style={ { display: web.LoggedIn() ? 'block' : 'none' } }> |
|
|
|
<div className="input-group" style={ { display: web.LoggedIn() ? 'block' : 'none' } }> |
|
|
|
<label> |
|
|
|
<label> |
|
|
|
Expires in |
|
|
|
Expires in (Max 7 days) |
|
|
|
</label> |
|
|
|
</label> |
|
|
|
<div className="set-expire"> |
|
|
|
<div className="set-expire"> |
|
|
|
<div className="set-expire-item"> |
|
|
|
<div className="set-expire-item"> |
|
|
|
<i className="set-expire-increase" onClick={ this.handleExpireValue.bind(this, 'expireDays', 1, shareObject.object) }></i> |
|
|
|
<i className="set-expire-increase" onClick={ this.handleExpireValue.bind(this, 'expireDays', 1, shareObject.object) } /> |
|
|
|
<div className="set-expire-title"> |
|
|
|
<div className="set-expire-title"> |
|
|
|
Days |
|
|
|
Days |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -735,12 +735,14 @@ export default class Browse extends React.Component { |
|
|
|
type="number" |
|
|
|
type="number" |
|
|
|
min={ 0 } |
|
|
|
min={ 0 } |
|
|
|
max={ 7 } |
|
|
|
max={ 7 } |
|
|
|
defaultValue={ 5 } /> |
|
|
|
defaultValue={ 5 } |
|
|
|
|
|
|
|
readOnly="readOnly" |
|
|
|
|
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<i className="set-expire-decrease" onClick={ this.handleExpireValue.bind(this, 'expireDays', -1, shareObject.object) }></i> |
|
|
|
<i className="set-expire-decrease" onClick={ this.handleExpireValue.bind(this, 'expireDays', -1, shareObject.object) } /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div className="set-expire-item"> |
|
|
|
<div className="set-expire-item"> |
|
|
|
<i className="set-expire-increase" onClick={ this.handleExpireValue.bind(this, 'expireHours', 1, shareObject.object) }></i> |
|
|
|
<i className="set-expire-increase" onClick={ this.handleExpireValue.bind(this, 'expireHours', 1, shareObject.object) } /> |
|
|
|
<div className="set-expire-title"> |
|
|
|
<div className="set-expire-title"> |
|
|
|
Hours |
|
|
|
Hours |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -749,12 +751,14 @@ export default class Browse extends React.Component { |
|
|
|
type="number" |
|
|
|
type="number" |
|
|
|
min={ 0 } |
|
|
|
min={ 0 } |
|
|
|
max={ 23 } |
|
|
|
max={ 23 } |
|
|
|
defaultValue={ 0 } /> |
|
|
|
defaultValue={ 0 } |
|
|
|
|
|
|
|
readOnly="readOnly" |
|
|
|
|
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<i className="set-expire-decrease" onClick={ this.handleExpireValue.bind(this, 'expireHours', -1, shareObject.object) }></i> |
|
|
|
<i className="set-expire-decrease" onClick={ this.handleExpireValue.bind(this, 'expireHours', -1, shareObject.object) } /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<div className="set-expire-item"> |
|
|
|
<div className="set-expire-item"> |
|
|
|
<i className="set-expire-increase" onClick={ this.handleExpireValue.bind(this, 'expireMins', 1, shareObject.object) }></i> |
|
|
|
<i className="set-expire-increase" onClick={ this.handleExpireValue.bind(this, 'expireMins', 1, shareObject.object) } /> |
|
|
|
<div className="set-expire-title"> |
|
|
|
<div className="set-expire-title"> |
|
|
|
Minutes |
|
|
|
Minutes |
|
|
|
</div> |
|
|
|
</div> |
|
|
@ -763,9 +767,11 @@ export default class Browse extends React.Component { |
|
|
|
type="number" |
|
|
|
type="number" |
|
|
|
min={ 0 } |
|
|
|
min={ 0 } |
|
|
|
max={ 59 } |
|
|
|
max={ 59 } |
|
|
|
defaultValue={ 0 } /> |
|
|
|
defaultValue={ 0 } |
|
|
|
|
|
|
|
readOnly="readOnly" |
|
|
|
|
|
|
|
/> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
<i className="set-expire-decrease" onClick={ this.handleExpireValue.bind(this, 'expireMins', -1, shareObject.object) }></i> |
|
|
|
<i className="set-expire-decrease" onClick={ this.handleExpireValue.bind(this, 'expireMins', -1, shareObject.object) } /> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|