mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-18 08:03:30 +02:00
Added help icon.
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
require('./help-icon.css')
|
||||
|
||||
module.exports = function clearButtonDirective() {
|
||||
return {
|
||||
restrict: 'EA',
|
||||
replace: true,
|
||||
scope: {
|
||||
topic: '@',
|
||||
tooltip: '@'
|
||||
},
|
||||
template: require('./help-icon.jade')
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
a(ng-href='/#!/docs/{{topic}}', tooltip='{{tooltip}}', tooltip-placement='left').btn.btn-xs.btn-primary-outline.pull-right.transparent-border
|
||||
i.fa.fa-question-circle
|
||||
2
res/app/components/stf/common-ui/help-icon/index.js
Normal file
2
res/app/components/stf/common-ui/help-icon/index.js
Normal file
@@ -0,0 +1,2 @@
|
||||
module.exports = angular.module('stf.help-icon', [])
|
||||
.directive('helpIcon', require('./help-icon-directive'))
|
||||
Reference in New Issue
Block a user