mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-24 03:14:17 +00:00
Restructure Sass files and folders for proper application Sass development
This commit is contained in:
@@ -0,0 +1,81 @@
|
||||
|
||||
<div ng-controller="SubheaderAppCtrl" layout="column" flex layout-fill>
|
||||
<md-content style="height: 600px;">
|
||||
<section>
|
||||
<md-subheader class="md-primary">Unread Messages</md-subheader>
|
||||
<md-list layout="column">
|
||||
<md-item ng-repeat="message in messages">
|
||||
<md-item-content>
|
||||
<div class="md-tile-left">
|
||||
<img ng-src="{{message.face}}" class="face" alt="{{message.who}}">
|
||||
</div>
|
||||
<div class="md-tile-content">
|
||||
<h3>{{message.what}}</h3>
|
||||
<h4>{{message.who}}</h4>
|
||||
<p>
|
||||
{{message.notes}}
|
||||
</p>
|
||||
</div>
|
||||
</md-item-content>
|
||||
</md-item>
|
||||
</md-list>
|
||||
</section>
|
||||
<section>
|
||||
<md-subheader class="md-warn">Late Messages</md-subheader>
|
||||
<md-list layout="column">
|
||||
<md-item ng-repeat="message in messages">
|
||||
<md-item-content>
|
||||
<div class="md-tile-left">
|
||||
<img ng-src="{{message.face}}" class="face" alt="{{message.who}}">
|
||||
</div>
|
||||
<div class="md-tile-content">
|
||||
<h3>{{message.what}}</h3>
|
||||
<h4>{{message.who}}</h4>
|
||||
<p>
|
||||
{{message.notes}}
|
||||
</p>
|
||||
</div>
|
||||
</md-item-content>
|
||||
</md-item>
|
||||
</md-list>
|
||||
</section>
|
||||
<section>
|
||||
<md-subheader>Read Messages</md-subheader>
|
||||
<md-list layout="column">
|
||||
<md-item ng-repeat="message in messages">
|
||||
<md-item-content>
|
||||
<div class="md-tile-left">
|
||||
<img ng-src="{{message.face}}" class="face" alt="{{message.who}}">
|
||||
</div>
|
||||
<div class="md-tile-content">
|
||||
<h3>{{message.what}}</h3>
|
||||
<h4>{{message.who}}</h4>
|
||||
<p>
|
||||
{{message.notes}}
|
||||
</p>
|
||||
</div>
|
||||
</md-item-content>
|
||||
</md-item>
|
||||
</md-list>
|
||||
</section>
|
||||
<section>
|
||||
<md-subheader class="md-accent">Archived messages</md-subheader>
|
||||
<md-list layout="column">
|
||||
<md-item ng-repeat="message in messages">
|
||||
<md-item-content>
|
||||
<div class="md-tile-left">
|
||||
<img ng-src="{{message.face}}" class="face" alt="{{message.who}}">
|
||||
</div>
|
||||
<div class="md-tile-content">
|
||||
<h3>{{message.what}}</h3>
|
||||
<h4>{{message.who}}</h4>
|
||||
<p>
|
||||
{{message.notes}}
|
||||
</p>
|
||||
</div>
|
||||
</md-item-content>
|
||||
</md-item>
|
||||
</md-list>
|
||||
</section>
|
||||
</md-content>
|
||||
</div>
|
||||
@@ -0,0 +1,84 @@
|
||||
|
||||
angular.module('subheaderBasicDemo', ['ngMaterial'])
|
||||
|
||||
.controller('SubheaderAppCtrl', function($scope) {
|
||||
$scope.messages = [
|
||||
{
|
||||
face : '/img/list/60.jpeg',
|
||||
what: 'Brunch this weekend?',
|
||||
who: 'Min Li Chan',
|
||||
when: '3:08PM',
|
||||
notes: " I'll be in your neighborhood doing errands"
|
||||
},
|
||||
{
|
||||
face : '/img/list/60.jpeg',
|
||||
what: 'Brunch this weekend?',
|
||||
who: 'Min Li Chan',
|
||||
when: '3:08PM',
|
||||
notes: " I'll be in your neighborhood doing errands"
|
||||
},
|
||||
{
|
||||
face : '/img/list/60.jpeg',
|
||||
what: 'Brunch this weekend?',
|
||||
who: 'Min Li Chan',
|
||||
when: '3:08PM',
|
||||
notes: " I'll be in your neighborhood doing errands"
|
||||
},
|
||||
{
|
||||
face : '/img/list/60.jpeg',
|
||||
what: 'Brunch this weekend?',
|
||||
who: 'Min Li Chan',
|
||||
when: '3:08PM',
|
||||
notes: " I'll be in your neighborhood doing errands"
|
||||
},
|
||||
{
|
||||
face : '/img/list/60.jpeg',
|
||||
what: 'Brunch this weekend?',
|
||||
who: 'Min Li Chan',
|
||||
when: '3:08PM',
|
||||
notes: " I'll be in your neighborhood doing errands"
|
||||
},
|
||||
{
|
||||
face : '/img/list/60.jpeg',
|
||||
what: 'Brunch this weekend?',
|
||||
who: 'Min Li Chan',
|
||||
when: '3:08PM',
|
||||
notes: " I'll be in your neighborhood doing errands"
|
||||
},
|
||||
{
|
||||
face : '/img/list/60.jpeg',
|
||||
what: 'Brunch this weekend?',
|
||||
who: 'Min Li Chan',
|
||||
when: '3:08PM',
|
||||
notes: " I'll be in your neighborhood doing errands"
|
||||
},
|
||||
{
|
||||
face : '/img/list/60.jpeg',
|
||||
what: 'Brunch this weekend?',
|
||||
who: 'Min Li Chan',
|
||||
when: '3:08PM',
|
||||
notes: " I'll be in your neighborhood doing errands"
|
||||
},
|
||||
{
|
||||
face : '/img/list/60.jpeg',
|
||||
what: 'Brunch this weekend?',
|
||||
who: 'Min Li Chan',
|
||||
when: '3:08PM',
|
||||
notes: " I'll be in your neighborhood doing errands"
|
||||
},
|
||||
{
|
||||
face : '/img/list/60.jpeg',
|
||||
what: 'Brunch this weekend?',
|
||||
who: 'Min Li Chan',
|
||||
when: '3:08PM',
|
||||
notes: " I'll be in your neighborhood doing errands"
|
||||
},
|
||||
{
|
||||
face : '/img/list/60.jpeg',
|
||||
what: 'Brunch this weekend?',
|
||||
who: 'Min Li Chan',
|
||||
when: '3:08PM',
|
||||
notes: " I'll be in your neighborhood doing errands"
|
||||
},
|
||||
];
|
||||
});
|
||||
@@ -0,0 +1,8 @@
|
||||
|
||||
.face {
|
||||
border-radius: 30px;
|
||||
border: 1px solid #ddd;
|
||||
width: 48px;
|
||||
margin: 16px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user