Merge branch 'issue-184' into dev
Conflicts: app/views/layouts/project.html.haml app/views/projects/_form.html.haml
This commit is contained in:
commit
1d85197b08
9 changed files with 81 additions and 39 deletions
|
@ -40,3 +40,19 @@ $(document).ready(function(){
|
|||
function focusSearch() {
|
||||
$("#search").focus();
|
||||
}
|
||||
|
||||
function taggifyForm(){
|
||||
var tag_field = $('#tag_field').tagify();
|
||||
|
||||
tag_field.tagify('inputField').autocomplete({
|
||||
source: '/tags.json'
|
||||
});
|
||||
|
||||
|
||||
$('form').submit( function() {
|
||||
var tag_field = $('#tag_field')
|
||||
tag_field.val( tag_field.tagify('serialize') );
|
||||
return true;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -27,4 +27,18 @@
|
|||
color: #FFF;
|
||||
text-shadow: none;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
|
||||
.medium-tags a{
|
||||
font-size: 12px;
|
||||
|
||||
display: inline-block;
|
||||
padding: 3px 4px 2px 4px;
|
||||
margin: 0px 7px 8px 0px;
|
||||
border-radius: 3px;
|
||||
background-color: #72bbdf;
|
||||
color: #FFF;
|
||||
text-shadow: none;
|
||||
font-weight: bold;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue