You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
921 B

7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
  1. <md-toolbar layout="row" class="o_bBlueDark" style="top:0; position:fixed;">
  2. <div class="md-toolbar-tools">
  3. <span>chat</span>
  4. </div>
  5. </md-toolbar>
  6. <md-content class="md-padding chat_backgroundImg" style="margin-top: 50px;">
  7. <md-list flex>
  8. <md-list-item ng-repeat="msg in msgs" ng-click="null">
  9. <p>{{msg.text}}</p>
  10. <div class="md-secondary">{{msg.date | date:"HH:mm"}}h</div>
  11. </md-list-item>
  12. </md-list>
  13. </md-content>
  14. <md-toolbar layout="row" class="o_grey300" style="bottom:0; position:fixed;">
  15. <div class="md-toolbar-tools">
  16. <md-input-container md-no-float class="md-block" flex>
  17. <input ng-model="msg.text" placeholder="Write a message..."
  18. ng-keyup="$event.keyCode == 13 ? send() : null">
  19. </md-input-container>
  20. <md-button class="md-raised" ng-click="send()">Send</md-button>
  21. </div>
  22. </md-toolbar>