-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Threads controller UI and removing attachments #28
Threads controller UI and removing attachments #28
Conversation
KamilaHasanbega
commented
Aug 24, 2016
- Fixed UI for the threads controller.
- Addressed the issue Removing attachments bug #27 regarding removing attachments.
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.
…' of https://github.com/KamilaHasanbega/e2email into show-attachments
…/e2email into show-attachments
@@ -159,6 +159,77 @@ div.big-icon > img { | |||
cursor: pointer; | |||
} | |||
|
|||
.attach-icon { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are attachment-specific definitions needed in app.css? Do they need to be shared across pages?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CSS for the attachment icon and attachment input/display is in two pages: Threads.html and Messages.html, I put it on app.css not to have repetitive code.
<div ng-repeat="x in threadsCtrl.compose.attachments" class="single-attachment">{{x.filename + ' (' + x.size + 'K)'}}</div> | ||
</div> | ||
<div ng-repeat="x in threadsCtrl.compose.attachments" class="single-attachment"><span id="attachName">{{ x.filename | limitTo: 20 }}{{x.filename.length > 20 ? '...' : ''}} </span> <span id="attachSize"> {{'(' + x.size + ')'}} </span> <span style="width:10%;"> | ||
<button ng-click="threadsCtrl.removeObj($index" class="removeAttachment"> x </button> </span></div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing ")".
OK to merge @kbsriram |
Rebased via a962299 |