Commit 06e32e34 authored by maso's avatar maso
Browse files

update build

parent 517faab3
Pipeline #14902333 passed with stage
in 2 minutes and 15 seconds
# Official framework image. Look for the different tagged releases at:
# https://hub.docker.com/r/library/node/tags/
image: node:6
before_script:
- apt-get update -yq
- apt-get install -y npm
- apt-get install nodejs-legacy
- apt-get install git
- npm install -g bower grunt-cli
- npm install
- bower install --allow-root
# This folder is cached between builds
# http://docs.gitlab.com/ce/ci/yaml/README.html#cache
cache:
paths:
- node_modules/
build:
script:
- grunt
......@@ -96,9 +96,13 @@ angular.module('ngMaterialWeburgerCommon')
.config(['ngMdIconServiceProvider', function(ngMdIconServiceProvider) {
ngMdIconServiceProvider
// Move actions
.addShape('wb-common-link', ngMdIconServiceProvider.getShape('link'))
.addShape('wb-common-toolbar', ngMdIconServiceProvider.getShape('more_horiz'))
.addShape('wb-common-video', ngMdIconServiceProvider.getShape('video_library'))
.addShape('wb-common-audio', ngMdIconServiceProvider.getShape('audiotrack'))
.addShape('wb-common-moveup', '<path d="M7.41,15.41L12,10.83L16.59,15.41L18,14L12,8L6,14L7.41,15.41Z" />')
.addShape('wb-common-movedown', '<path d="M7.41,8.58L12,13.17L16.59,8.58L18,10L12,16L6,10L7.41,8.58Z" />')
.addShape('wb-common-html', ' <path id="path2" d="M12,0C9.694,0,7.781,1.758,7.53,4L7.5,5c0,2.2,1.8,4,4,4h1h3h2l2-4h12l-1.961,3.921 C29.521,8.958,29.548,9,29.588,9h0.211H50.5V0H12z" style="fill:#EAD8BB;" /><path id="path4" d="M29.5,9v26.201c0,0.505-0.665,0.69-0.925,0.256L23.5,27l-5.075,8.458 c-0.26,0.433-0.925,0.249-0.925-0.256V9h-6c-2.2,0-4-1.8-4-4v48.958C7.5,56.19,9.31,58,11.542,58H50.5V9H29.5z" style="fill:#6B4842;" /><path id="path6" d="M12.5,9h-1c-2.2,0-4-1.8-4-4v48.958C7.5,56.19,9.31,58,11.542,58H12.5V9z" style="fill:#513531;" /><path id="path8" d="M50.5,2h-9c-0.553,0-1,0.447-1,1s0.447,1,1,1h9V2z" style="fill:#D3BEA1;" /><path id="path10" d="M50.5,5h-8c-0.553,0-1,0.447-1,1s0.447,1,1,1h8V5z" style="fill:#D3BEA1;" /><path id="path12" d="M19.5,5l-2,4v26.201c0,0.505,0.666,0.69,0.925,0.256L23.5,27l5.075,8.458 c0.26,0.433,0.925,0.249,0.925-0.256V9l2-4H19.5z" style="fill:#DD352E;" /><polygon id="polygon14" points="19.5,5 17.5,9 29.5,9 31.5,5 " style="fill:#B02721;" /> ')
;
}])
/*
......@@ -474,7 +478,7 @@ angular.module('ngMaterialWeburgerCommon')
templateUrl : 'views/am-wb-common-widgets/feature-list.html',
label : 'Vertical feature list',
description : 'Vertical feature list',
icon : 'wb-common-html',
icon : 'wb-common-link',
help : 'https://gitlab.com/weburger/am-wb-common/wikis/home',
controller: 'AmWbCommonFeaturesCtrl',
setting:['text', 'common-features', ],
......@@ -485,6 +489,7 @@ angular.module('ngMaterialWeburgerCommon')
templateUrl : 'views/am-wb-common-widgets/feature-links.html',
label : 'Feature link',
description : 'Vertical features link list',
icon : 'wb-common-link',
help : 'http://dpq.co.ir',
controller: 'AmWbCommonFeaturesCtrl',
setting:['text', 'common-features'],
......@@ -495,6 +500,7 @@ angular.module('ngMaterialWeburgerCommon')
templateUrl : 'views/am-wb-common-widgets/feature-mozaic.html',
label : 'Feature mozaic',
description : 'Vertical features mozaic',
icon : 'wb-common-link',
help : 'http://dpq.co.ir',
controller: 'AmWbCommonFeaturesCtrl',
setting:['text', 'common-features'],
......@@ -505,6 +511,7 @@ angular.module('ngMaterialWeburgerCommon')
templateUrl : 'views/am-wb-common-widgets/action-call.html',
label : 'Action call',
description : 'Call action with brand, title and text.',
icon : 'wb-common-link',
help : 'http://dpq.co.ir',
controller: 'AmWbCommonFeaturesCtrl',
setting:['description', 'common-features',],
......@@ -515,6 +522,7 @@ angular.module('ngMaterialWeburgerCommon')
templateUrl : 'views/am-wb-common-widgets/feature-toolbar.html',
label : 'Toolbar',
description : 'A toolbar to show actions with sidenav.',
icon : 'wb-common-toolbar',
help : 'https://gitlab.com/weburger/am-wb-common/wikis/toolbar',
controller: 'AmWbCommonFeaturesCtrl',
setting:['description','common-features',],
......@@ -524,7 +532,8 @@ angular.module('ngMaterialWeburgerCommon')
type: 'CommonVideoPlayer',
templateUrl : 'views/am-wb-common-widgets/video-player.html',
label : 'Video Player',
description : 'A player to show video contents.',
description : 'A video player component.',
icon : 'wb-common-video',
help : 'https://gitlab.com/weburger/am-wb-common/wikis/video-player',
controller: 'AmWbCommonVideoCtrl',
setting:['common-video-player'],
......@@ -533,7 +542,8 @@ angular.module('ngMaterialWeburgerCommon')
type: 'CommonAudioPlayer',
templateUrl : 'views/am-wb-common-widgets/audio-player.html',
label : 'Audio Player',
description : 'A player to play audio contents.',
description : 'An audio player component.',
icon : 'wb-common-audio',
help : 'https://gitlab.com/weburger/am-wb-common/wikis/audio-player',
controller: 'AmWbCommonAudioCtrl',
setting:['common-audio-player'],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment