Skip to content

Commit

Permalink
v2.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
zack9433 committed Mar 21, 2016
2 parents 590f07b + dede97d commit 4ac44ed
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 26 deletions.
1 change: 0 additions & 1 deletion app/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import 'angular-material-icons.css';
import 'angular-busy.css';
import './app.scss';

import 'svg-morpheus';
import angular from 'angular';
import 'angular-material';
import './sanji-window';
Expand Down
14 changes: 0 additions & 14 deletions app/sanji-window/sanji-window.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,6 @@ $card-header-btn-height: 42px;
$card-header-btn-width: 42px;
$card-header-color: #5e5e5e;

.sj-header-color {
color: $card-header-color;
fill: currentColor;
}

.sj-menu-icon {
background-repeat: no-repeat no-repeat;
display: inline-block;
vertical-align: middle;
height: 24px;
width: 24px;
margin: auto 3px auto 0;
}

.sj-window {
position: relative;

Expand Down
6 changes: 3 additions & 3 deletions app/sanji-window/sanji-window.tpl.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@
<h3 flex>{{vm.windowName}}</h3>
<div flex class="sj-window-btn-group">
<md-button ng-if="undefined!==vm.showLoadingBtn" type="button" aria-label="Refresh" class="md-icon-button" ng-click="vm.refresh()">
<ng-md-icon class="sj-header-color" icon="refresh"></ng-md-icon>
<ng-md-icon icon="refresh"></ng-md-icon>
</md-button>
<md-menu ng-if="1 < vm.sanjiWindowMgr.links.length" md-position-mode="target-right target">
<md-button type="button" aria-label="Open menu" class="md-icon-button" ng-click="$mdOpenMenu($event)">
<ng-md-icon class="sj-header-color" md-menu-origin icon="apps"></ng-md-icon>
<ng-md-icon md-menu-origin icon="apps"></ng-md-icon>
</md-button>
<md-menu-content width="4">
<md-menu-item ng-repeat="state in vm.sanjiWindowMgr.links track by $index">
<md-button type="button" aria-label="{{::state.linkName}}"
ng-click="vm.sanjiWindowMgr.navigateTo(state.name)">
<div layout>
<p flex ng-bind="::state.linkName"></p>
<ng-md-icon class="sj-menu-icon sj-header-color" ng-if="undefined!==state.icon"
<ng-md-icon ng-if="undefined!==state.icon"
md-menu-origin icon="{{::state.icon}}"></ng-md-icon>
</div>
</md-button>
Expand Down
2 changes: 1 addition & 1 deletion dist/angular-sanji-window.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/angular-sanji-window.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/angular-sanji-window.js.map

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@
"angular": "~1.5.0",
"angular-busy": "cgross/angular-busy#v4.1.3",
"angular-material": "~1.0.5",
"angular-material-icons": "~0.6.0",
"svg-morpheus": "alexk111/SVG-Morpheus#v0.1.8"
"angular-material-icons": "~0.6.0"
},
"version": "2.1.2"
"version": "2.1.3"
}
3 changes: 1 addition & 2 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ var config = {
'angular-material.css': nodeRoot + '/angular-material/angular-material.css',
'angular-material-icons.css': nodeRoot + '/angular-material-icons/angular-material-icons.css',
'angular-busy.css': nodeRoot + '/angular-busy/dist/angular-busy.css',
'angular-busy': nodeRoot + '/angular-busy/dist/angular-busy.js',
'svg-morpheus': nodeRoot + '/svg-morpheus/compile/unminified/svg-morpheus.js'
'angular-busy': nodeRoot + '/angular-busy/dist/angular-busy.js'
},
extensions: ['', '.js', '.json', 'html', 'scss', 'css']
},
Expand Down

0 comments on commit 4ac44ed

Please sign in to comment.