-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
83b571a
commit ac02b4b
Showing
13 changed files
with
115 additions
and
11 deletions.
There are no files selected for viewing
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
body { | ||
font-family: "Open Sans", Arial, sans-serif; | ||
line-height: 1; | ||
} | ||
|
||
.container-fluid { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,17 @@ | ||
|
||
var avam; | ||
(function (avam) { | ||
var ui; | ||
(function (ui) { | ||
var AvamUIModelController = (function () { | ||
function AvamUIModelController() { | ||
this.isMenuVisible = true; | ||
this.isMenuVertical = true; | ||
this.isMenuLayoutToggleAllowed = true; | ||
} | ||
AvamUIModelController.prototype.contructor = function () { | ||
}; | ||
return AvamUIModelController; | ||
})(); | ||
ui.AvamUIModelController = AvamUIModelController; | ||
})(ui = avam.ui || (avam.ui = {})); | ||
})(avam || (avam = {})); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,17 @@ | ||
module avam.ui{ | ||
export interface IAvamUIModel{ | ||
export interface IAvamUIControllerModel{ | ||
isMenuVisible:boolean; | ||
isMenuVertical:boolean; | ||
isMenuLayoutToggleAllowed:boolean; | ||
} | ||
|
||
export class AvamUIModelController implements IAvamUIControllerModel{ | ||
isMenuVisible:boolean=true; | ||
isMenuVertical:boolean=true; | ||
isMenuLayoutToggleAllowed:boolean=true; | ||
|
||
contructor(){ | ||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,33 @@ | ||
/// <reference path="../typings/angularjs/angular.d.ts" /> | ||
/// <reference path="./avamUI.controller.ts" /> | ||
|
||
|
||
module avam.ui{ | ||
|
||
|
||
|
||
|
||
interface IAvamUIAttributes extends ng.IAttributes{ | ||
title:string; | ||
subTitle:string; | ||
iconFile:string; | ||
} | ||
|
||
class AvamUIDirective implements ng.IDirective{ | ||
|
||
static instance() : ng.IDirective{ | ||
return new AvamUIDirective; | ||
} | ||
transclude=true; | ||
scope = { | ||
title:'@', | ||
subTitle:'@', | ||
iconFile:'@' | ||
}; | ||
controllerAs = 'vm'; | ||
templateUrl = './src/avamUI.template.html'; | ||
controller = AvamUIModelController; | ||
link(scope: ng.IScope, element: ng.IAugmentedJQuery, | ||
attributes: IAvamUIAttributes, controller: IAvamUIControllerModel): void { | ||
|
||
} | ||
} | ||
angular.module("avamUI").directive("avamUi", AvamUIDirective.instance); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,20 @@ | ||
<div class="avam-ui"> | ||
<div class="avam-header"> | ||
<div class="row"> | ||
<div class="col-sm-6">Left</div> | ||
<div class="col-sm-6">Right</div> | ||
<div class="col-sm-6 avam-logo-area"> | ||
<img ng-src="{{iconFile}}" class="avam-icon"/> | ||
<div class="avam-title-area"> | ||
<p class="avam-logo-title">{{title}}</p> | ||
<p class="avam-logo-subtitle">{{subTitle}}</p> | ||
</div> | ||
<div ng-if="vm.isMenuVisible" class="avam-collapsed-menu pull-right"> | ||
<button type="button" class="btn ps-nav-button"> | ||
<i class="fa fa-bars"></i> | ||
</button> | ||
</div> | ||
</div> | ||
<div class="col-sm-6"> | ||
|
||
|
||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
.avam-header{ | ||
background-color: white; | ||
padding: 0 10px; | ||
border-bottom: 2px solid red; | ||
vertical-align: middle; | ||
} | ||
.avam-logo-area{ | ||
|
||
} | ||
.avam-icon{ | ||
display: inline-block; | ||
width: 50px; | ||
height: 50px; | ||
margin: 8px; | ||
vertical-align: top; | ||
border: 1px solid #999; | ||
} | ||
.avam-title-area{ | ||
display: inline-block; | ||
} | ||
.avam-logo-title{ | ||
color: #111; | ||
margin-top: 6px; | ||
font-size: 22px; | ||
} | ||
.avam-logo-subtitle{ | ||
font-size: 13px; | ||
margin-top: -13px; | ||
} | ||
.avam-collapsed-menu { | ||
display: inline-block; | ||
height: 100%; | ||
} |