Skip to content

Commit

Permalink
Changing Font for Tooltips (#84)
Browse files Browse the repository at this point in the history
* updating package.json

* heroku path

* .

* v 1.3.2 with new UI

* v 2.0.0 with new UI

* Changing Font for Tooltips
  • Loading branch information
IshaGupta18 committed Oct 3, 2019
1 parent 7df0e18 commit 49a1971
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/PublicLab.Grapher.js
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ function () {
key: "createPopover",
value: function createPopover(buttonId) {
var self = this;
var html = '<div id="myForm" class="hide"><label for="title">File Title:</label><input type="text" name="title" id=' + "title" + buttonId + ' class="form-control input-md"><label for="desc">File Description:</label><textarea rows="3" name="desc" id=' + "desc" + buttonId + ' class="form-control input-md"></textarea><button type="button" class="btn btn-primary" id="save"> Save</button></div>';
var html = '<div id="myForm" class="hide"><label for="title" class="popover_headings">File Title:</label><input type="text" name="title" id=' + "title" + buttonId + ' class="form-control input-md"><label for="desc" class="popover_headings">File Description:</label><textarea rows="3" name="desc" id=' + "desc" + buttonId + ' class="form-control input-md"></textarea><button type="button" class="btn btn-primary popover_headings" id="save"> Save</button></div>';
$('#' + buttonId).popover({
placement: 'bottom',
title: 'Add Description',
Expand Down
2 changes: 1 addition & 1 deletion dist/transpiled_code/View.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ function () {
key: "createPopover",
value: function createPopover(buttonId) {
var self = this;
var html = '<div id="myForm" class="hide"><label for="title">File Title:</label><input type="text" name="title" id=' + "title" + buttonId + ' class="form-control input-md"><label for="desc">File Description:</label><textarea rows="3" name="desc" id=' + "desc" + buttonId + ' class="form-control input-md"></textarea><button type="button" class="btn btn-primary" id="save"> Save</button></div>';
var html = '<div id="myForm" class="hide"><label for="title" class="popover_headings">File Title:</label><input type="text" name="title" id=' + "title" + buttonId + ' class="form-control input-md"><label for="desc" class="popover_headings">File Description:</label><textarea rows="3" name="desc" id=' + "desc" + buttonId + ' class="form-control input-md"></textarea><button type="button" class="btn btn-primary popover_headings" id="save"> Save</button></div>';
$('#' + buttonId).popover({
placement: 'bottom',
title: 'Add Description',
Expand Down
3 changes: 3 additions & 0 deletions examples/upload_file.css
Original file line number Diff line number Diff line change
Expand Up @@ -292,4 +292,7 @@ margin-left: 70px;
justify-content: center;
flex-direction: column;

}
.popover_headings{
font-family: 'Ubuntu Condensed';
}
2 changes: 1 addition & 1 deletion src/View.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ class View{
// create a popover against each import method for adding a file title and description
createPopover(buttonId){
let self=this;
var html='<div id="myForm" class="hide"><label for="title">File Title:</label><input type="text" name="title" id='+"title" + buttonId +' class="form-control input-md"><label for="desc">File Description:</label><textarea rows="3" name="desc" id='+"desc" + buttonId +' class="form-control input-md"></textarea><button type="button" class="btn btn-primary" id="save"> Save</button></div>'
var html='<div id="myForm" class="hide"><label for="title" class="popover_headings">File Title:</label><input type="text" name="title" id='+"title" + buttonId +' class="form-control input-md"><label for="desc" class="popover_headings">File Description:</label><textarea rows="3" name="desc" id='+"desc" + buttonId +' class="form-control input-md"></textarea><button type="button" class="btn btn-primary popover_headings" id="save"> Save</button></div>'
$('#'+buttonId).popover({

placement: 'bottom',
Expand Down

0 comments on commit 49a1971

Please sign in to comment.