Skip to content

Commit

Permalink
Add tooltip for tag displaying tag seperator
Browse files Browse the repository at this point in the history
  • Loading branch information
Dineshs91 committed Sep 16, 2015
1 parent 36d0a82 commit 9dd6583
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
<h2 class="ui header">
<i class="idea icon"></i>Logs
<div class="ui right floated basic button add" ng-click="logCtrl.addFn()">
Add <i class="plus icon"></i>
<i class="plus icon"></i>
Add
</div>
</h2>
<div class="ui divider"></div>
Expand Down Expand Up @@ -69,7 +70,7 @@ <h2 class="ui header">
</div>

<div id="tags">
<div class="ui right labeled left icon input">
<div class="ui right labeled left icon input" data-title="Tags" data-html="tag seperator: <span style='color: green;'>comma( , )</span>">
<i class="tags icon"></i>
<input type="text" placeholder="Tags" class="tags" ng-model="logs[logSelectedIndex].tags"/>
<div class="ui basic left pointing blue label">
Expand Down
9 changes: 9 additions & 0 deletions app/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,13 @@ $(function() {
$('.add').click(function() {
$('.title').focus();
});

$('.ui.input')
.popup({
position: 'bottom left',
delay: {
show: 100
}
})
;
});

0 comments on commit 9dd6583

Please sign in to comment.