mirror of
https://github.com/ascribe/onion.git
synced 2025-02-14 21:10:27 +01:00
whitelabel logo + sluice
This commit is contained in:
parent
22b201f388
commit
6a84e9d36e
@ -54,10 +54,10 @@ let Form = React.createClass({
|
||||
},
|
||||
|
||||
getFormData(){
|
||||
if ('getFormData' in this.props){
|
||||
return this.props.getFormData();
|
||||
}
|
||||
let data = {};
|
||||
if ('getFormData' in this.props){
|
||||
data = this.props.getFormData();
|
||||
}
|
||||
for (let ref in this.refs){
|
||||
data[this.refs[ref].props.name] = this.refs[ref].state.value;
|
||||
}
|
||||
|
@ -66,12 +66,16 @@ let Header = React.createClass({
|
||||
getPoweredBy(){
|
||||
if (this.state.whitelabel.logo) {
|
||||
return (
|
||||
<div className="row no-margin ascribe-subheader">
|
||||
<div className="row ascribe-subheader">
|
||||
<div className="col-xs-12 col-sm-10 col-md-8 col-lg-8 col-sm-offset-1 col-md-offset-2 col-lg-offset-2">
|
||||
<div className="row">
|
||||
<a className="pull-right" href="https://www.ascribe.io/" target="_blank">
|
||||
<span id="powered">{getLangText('powered by')} </span>
|
||||
<span>ascribe </span>
|
||||
<span className="glyph-ascribe-spool-chunked ascribe-color"></span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>);
|
||||
}
|
||||
return null;
|
||||
|
@ -106,9 +106,6 @@ let PasswordResetForm = React.createClass({
|
||||
|
||||
getFormData(){
|
||||
let data = {};
|
||||
for (let ref in this.refs.form.refs){
|
||||
data[this.refs.form.refs[ref].props.name] = this.refs.form.refs[ref].state.value;
|
||||
}
|
||||
data.email = this.props.email;
|
||||
data.token = this.props.token;
|
||||
return data;
|
||||
|
@ -62,6 +62,11 @@ hr {
|
||||
font-size: 0.8em;
|
||||
}
|
||||
|
||||
.img-brand {
|
||||
padding: 0;
|
||||
height: 45px;
|
||||
margin: 5px 0 5px 0;
|
||||
}
|
||||
.truncate {
|
||||
white-space: nowrap;
|
||||
width: 4em;
|
||||
@ -96,10 +101,6 @@ hr {
|
||||
color: $ascribe-color;
|
||||
}
|
||||
|
||||
.img-brand{
|
||||
height: 25px;
|
||||
}
|
||||
|
||||
.ascribe-subheader{
|
||||
padding-bottom: 10px;
|
||||
margin-top: -10px;
|
||||
|
Loading…
Reference in New Issue
Block a user