Skip to content

Commit 49a1971

Browse files
authored
Changing Font for Tooltips (#84)
* updating package.json * heroku path * . * v 1.3.2 with new UI * v 2.0.0 with new UI * Changing Font for Tooltips
1 parent 7df0e18 commit 49a1971

File tree

4 files changed

+6
-3
lines changed

4 files changed

+6
-3
lines changed

dist/PublicLab.Grapher.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ function () {
923923
key: "createPopover",
924924
value: function createPopover(buttonId) {
925925
var self = this;
926-
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>';
926+
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>';
927927
$('#' + buttonId).popover({
928928
placement: 'bottom',
929929
title: 'Add Description',

dist/transpiled_code/View.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ function () {
176176
key: "createPopover",
177177
value: function createPopover(buttonId) {
178178
var self = this;
179-
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>';
179+
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>';
180180
$('#' + buttonId).popover({
181181
placement: 'bottom',
182182
title: 'Add Description',

examples/upload_file.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -292,4 +292,7 @@ margin-left: 70px;
292292
justify-content: center;
293293
flex-direction: column;
294294

295+
}
296+
.popover_headings{
297+
font-family: 'Ubuntu Condensed';
295298
}

src/View.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ class View{
171171
// create a popover against each import method for adding a file title and description
172172
createPopover(buttonId){
173173
let self=this;
174-
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>'
174+
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>'
175175
$('#'+buttonId).popover({
176176

177177
placement: 'bottom',

0 commit comments

Comments
 (0)