summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2015-08-05 12:29:28 -0400
committerChristopher Speller <crspeller@gmail.com>2015-08-05 12:29:28 -0400
commit201d165ed9552a39667eb997d381f893f1b12446 (patch)
tree176fdf85beb1b1ab9deff99fe2c011911c75cfdf /web
parent7692e67728cc471a5ac8903a859eba9d82c6429e (diff)
parenta2d26be5df2e4b3f73176044d92c923bb3899798 (diff)
downloadchat-201d165ed9552a39667eb997d381f893f1b12446.tar.gz
chat-201d165ed9552a39667eb997d381f893f1b12446.tar.bz2
chat-201d165ed9552a39667eb997d381f893f1b12446.zip
Merge pull request #342 from mattermost/release-0.6.0
Release 0.6.0
Diffstat (limited to 'web')
-rw-r--r--web/react/components/signup_team_complete.jsx6
-rw-r--r--web/sass-files/sass/partials/_files.scss7
-rw-r--r--web/sass-files/sass/partials/_signup.scss22
-rw-r--r--web/templates/signup_team.html2
4 files changed, 32 insertions, 5 deletions
diff --git a/web/react/components/signup_team_complete.jsx b/web/react/components/signup_team_complete.jsx
index 447a405bd..3f35a5912 100644
--- a/web/react/components/signup_team_complete.jsx
+++ b/web/react/components/signup_team_complete.jsx
@@ -248,6 +248,8 @@ TeamURLPage = React.createClass({
},
render: function() {
+ $('body').tooltip( {selector: '[data-toggle=tooltip]', trigger: 'hover click'} );
+
client.track('signup', 'signup_team_03_url');
var name_error = this.state.name_error ? <label className="control-label">{ this.state.name_error }</label> : null;
@@ -260,8 +262,8 @@ TeamURLPage = React.createClass({
<div className={ name_error ? "form-group has-error" : "form-group" }>
<div className="row">
<div className="col-sm-11">
- <div className="input-group">
- <span className="input-group-addon">{ utils.getWindowLocationOrigin() + "/" }</span>
+ <div className="input-group input-group--limit">
+ <span data-toggle="tooltip" title={ utils.getWindowLocationOrigin() + "/" } className="input-group-addon">{ utils.getWindowLocationOrigin() + "/" }</span>
<input type="text" ref="name" className="form-control" placeholder="" maxLength="128" defaultValue={this.props.state.team.name} autoFocus={true} onFocus={this.handleFocus}/>
</div>
</div>
diff --git a/web/sass-files/sass/partials/_files.scss b/web/sass-files/sass/partials/_files.scss
index ddc5e98bb..22e2f44c5 100644
--- a/web/sass-files/sass/partials/_files.scss
+++ b/web/sass-files/sass/partials/_files.scss
@@ -114,8 +114,7 @@
height: 100px;
float: left;
margin: 5px 10px 5px 0;
- @include display-flex;
- display: -ms-flexbox;
+ display: table;
border: 1px solid lightgrey;
.post__load {
height: 100%;
@@ -137,10 +136,14 @@
}
}
.post-image__thumbnail {
+ display: table-cell;
+ vertical-align: top;
width: 50%;
height: 100%;
}
.post-image__details {
+ display: table-cell;
+ vertical-align: top;
width: 50%;
height: 100%;
background: white;
diff --git a/web/sass-files/sass/partials/_signup.scss b/web/sass-files/sass/partials/_signup.scss
index 4b6ee79a1..3a6f73316 100644
--- a/web/sass-files/sass/partials/_signup.scss
+++ b/web/sass-files/sass/partials/_signup.scss
@@ -54,6 +54,28 @@
margin-bottom: 1em;
}
+ .input-group {
+ &.input-group--limit {
+ table-layout: fixed;
+ width: 100%;
+ .tooltip-inner {
+ word-wrap: break-word;
+ }
+ .form-control {
+ text-align: left;
+ display: table-cell;
+ width: 100%;
+ }
+ .input-group-addon {
+ text-align: left;
+ width: 50%;
+ display: table-cell;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ }
+ }
+ }
+
.inner__content {
padding: 0 15px;
margin: 30px 0 20px;
diff --git a/web/templates/signup_team.html b/web/templates/signup_team.html
index b84b8e486..313ed9d5f 100644
--- a/web/templates/signup_team.html
+++ b/web/templates/signup_team.html
@@ -10,7 +10,7 @@
<div class="signup-team__container">
<img class="signup-team-logo" src="/static/images/logo.png" />
<h1>Mattermost</h1>
- <h4 class="color--light">All team communication in one place, searchable and accesible anywhere</h4>
+ <h4 class="color--light">All team communication in one place, searchable and accessible anywhere</h4>
<div id="signup-team"></div>
</div>
</div>