Skip to content

Conversation

@KamilaHasanbega
Copy link
Contributor

-Fixed size of attachments by the library.
-Fixed other CSS

KamilaHasanbega and others added 30 commits June 24, 2016 10:35
Added the two introductory pages, “Introduction” & “Get Started” and
their controllers/design. Fixed the flow to redirect to the first page
when setting up, and from them to the Welcome page.
Added the case in which the user is Logged in but does not have
authorizations. Fixed the flow accordingly. Fixed the design of the
rest.
@koto
Copy link
Contributor

koto commented Sep 2, 2016

There is no CSS fix in this branch (but it's ok, just rename the PR to mention displaying the size of the attachments in a better way).

@KamilaHasanbega
Copy link
Contributor Author

KamilaHasanbega commented Sep 2, 2016

@koto it was in the next commit 2202ef4. :) There is yet one more small commit with just fixing the css for the buttons in the onboarding flow, as changing other buttons in threads and messages has changed their position.

@KamilaHasanbega KamilaHasanbega changed the title Fix UI MaxSize for attachments & UI Sep 2, 2016
<img class="fade-show email-image-content" ng-src="{{mime.content}}" ng-if="mime.type=='image'">
<div class="email-text-content col-xs-12" ng-if="mime.type=='text'">{{mime.content}}</div>
<div class="col-xs-12 single-attachment-received single-attachment" ng-if="mime.url"><span class="file-description"><a blob-href="{{mime.url}}" download="{{mime.filename}}">{{ mime.filename | limitTo: 28 }}{{mime.filename.length > 28 ? '...' : ''}}</a></span><span class="file-size">{{'(' + mime.filesize + ')'}}</span></div>
<div class="col-xs-12 single-attachment-received single-attachment" ng-if="mime.url"><span class="file-description"><a blob-href="{{mime.url}}" download="{{mime.filename}}">{{ mime.filename | limitTo: 28 }}{{mime.filename.length > 28 ? '...' : ''}}</a></span><span class="file-size" ng-bind="messagesCtrl.convertBytes(mime.filesize)"> {{}} </span></div>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need {{}}. ng-bind should be enough.

<div class="row">
<div class="col-xs-12 text-center">
<button ng-disabled="authorizationCtrl.inProgress" class="btn btn-primary btn-focus" data-ng-click="authorizationCtrl.signIn()">{{'openGmailSettings' | translate}}</button>
<button ng-disabled="authorizationCtrl.inProgress" class="btn btn-primary btn-focus centreBtn" data-ng-click="authorizationCtrl.signIn()">{{'openGmailSettings' | translate}}</button>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

centreBtn => centerBtn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants