Merge pull request #240 from asaadmahmoodspin/master
Minor UI Improvements
Этот коммит содержится в:
@@ -64,7 +64,7 @@ module.exports = React.createClass({
|
||||
<div>{"URL: " + currentAudit.action.replace("/api/v1", "")}</div>
|
||||
</div>
|
||||
:
|
||||
<a href="#" onClick={this.handleMoreInfo.bind(this, i)}>More info</a>
|
||||
<a href="#" className="theme" onClick={this.handleMoreInfo.bind(this, i)}>More info</a>
|
||||
}
|
||||
</div>
|
||||
{i < this.state.audits.length - 1 ?
|
||||
|
||||
@@ -68,6 +68,9 @@ module.exports = React.createClass({
|
||||
else if (currentSession.props.platform === "Macintosh" || currentSession.props.platform === "iPhone") {
|
||||
devicePicture = "fa fa-apple";
|
||||
}
|
||||
else if (currentSession.props.platform === "Linux") {
|
||||
devicePicture = "fa fa-linux";
|
||||
}
|
||||
|
||||
activityList[i] = (
|
||||
<div className="activity-log__table">
|
||||
@@ -83,7 +86,7 @@ module.exports = React.createClass({
|
||||
<div>{"Session ID: " + currentSession.alt_id}</div>
|
||||
</div>
|
||||
:
|
||||
<a href="#" onClick={this.handleMoreInfo.bind(this, i)}>More info</a>
|
||||
<a className="theme" href="#" onClick={this.handleMoreInfo.bind(this, i)}>More info</a>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -25,9 +25,9 @@ module.exports = React.createClass({
|
||||
|
||||
var img = null;
|
||||
if (this.props.picture) {
|
||||
img = (<img ref="image" className="col-xs-5 profile-img" src=""/>);
|
||||
img = (<img ref="image" className="profile-img" src=""/>);
|
||||
} else {
|
||||
img = (<img ref="image" className="col-xs-5 profile-img" src={this.props.src}/>);
|
||||
img = (<img ref="image" className="profile-img" src={this.props.src}/>);
|
||||
}
|
||||
|
||||
var self = this;
|
||||
@@ -37,7 +37,7 @@ module.exports = React.createClass({
|
||||
<li className="col-xs-12 section-title">{this.props.title}</li>
|
||||
<li className="col-xs-offset-3 col-xs-8">
|
||||
<ul className="setting-list">
|
||||
<li className="row setting-list-item">
|
||||
<li className="setting-list-item">
|
||||
{img}
|
||||
</li>
|
||||
<li className="setting-list-item">
|
||||
|
||||
@@ -69,7 +69,9 @@ module.exports = React.createClass({
|
||||
{ name_error }
|
||||
</div>
|
||||
{ server_error }
|
||||
<button className="btn btn-md btn-primary" type="submit">Sign up for Free</button>
|
||||
<div className="form-group">
|
||||
<button className="btn btn-md btn-primary" type="submit">Sign up for Free</button>
|
||||
</div>
|
||||
<div className="form-group form-group--small">
|
||||
<span><a href="/find_team">{"Find my " + strings.Team}</a></span>
|
||||
</div>
|
||||
|
||||
@@ -246,7 +246,7 @@ TeamURLPage = React.createClass({
|
||||
<h2>{utils.toTitleCase(strings.Team) + " URL"}</h2>
|
||||
<div className={ name_error ? "form-group has-error" : "form-group" }>
|
||||
<div className="row">
|
||||
<div className="col-sm-9">
|
||||
<div className="col-sm-11">
|
||||
<div className="input-group">
|
||||
<span className="input-group-addon">{ window.location.origin + "/" }</span>
|
||||
<input type="text" ref="name" className="form-control" placeholder="" maxLength="128" defaultValue={this.props.state.team.name} autoFocus={true} onFocus={this.handleFocus}/>
|
||||
|
||||
@@ -73,13 +73,12 @@ var FeatureTab = React.createClass({
|
||||
var inputs = [];
|
||||
|
||||
inputs.push(
|
||||
<div className="col-sm-12">
|
||||
<div>
|
||||
<div className="btn-group" data-toggle="buttons-radio">
|
||||
<button className={"btn btn-default "+valetActive[0]} onClick={function(){self.handleValetRadio("true")}}>On</button>
|
||||
<button className={"btn btn-default "+valetActive[1]} onClick={function(){self.handleValetRadio("false")}}>Off</button>
|
||||
</div>
|
||||
<div><br/>Valet is a preview feature for enabling a non-user account limited to basic member permissions that can be manipulated by 3rd parties.<br/><br/>IMPORTANT: The preview version of Valet should not be used without a secure connection and a trusted 3rd party, since user credentials are used to connect. OAuth2 will be used in the final release.</div>
|
||||
<br></br>
|
||||
</div>
|
||||
);
|
||||
|
||||
|
||||
@@ -577,9 +577,9 @@ var SecurityTab = React.createClass({
|
||||
{ passwordSection }
|
||||
<div className="divider-dark"/>
|
||||
<br></br>
|
||||
<a data-toggle="modal" className="security-links" data-target="#access-history" href="#" onClick={this.handleHistoryOpen}><i className="fa fa-clock-o"></i>View Access History</a>
|
||||
<a data-toggle="modal" className="security-links theme" data-target="#access-history" href="#" onClick={this.handleHistoryOpen}><i className="fa fa-clock-o"></i>View Access History</a>
|
||||
<b> </b>
|
||||
<a data-toggle="modal" className="security-links" data-target="#activity-log" href="#" onClick={this.handleDevicesOpen}><i className="fa fa-globe"></i>View and Logout of Active Devices</a>
|
||||
<a data-toggle="modal" className="security-links theme" data-target="#activity-log" href="#" onClick={this.handleDevicesOpen}><i className="fa fa-globe"></i>View and Logout of Active Devices</a>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
Ссылка в новой задаче
Block a user