Merge pull request #3 from qoomon/develop

Minor Interface Fixes
This commit is contained in:
Bengt Brodersen 2015-01-25 11:48:26 +01:00
commit ab5cb586f8
2 changed files with 13 additions and 5 deletions

View File

@ -57,8 +57,8 @@ function main(){
} }
// open print preview // open print preview
jQuery("head").append(printOverlayStyle);
jQuery("body").append(printOverlayHTML); jQuery("body").append(printOverlayHTML);
jQuery("#card-print-overlay").prepend(printOverlayStyle);
jQuery("#card-print-dialog-title").text("Card Print - Loading " + issueKeyList.length + " issues..."); jQuery("#card-print-dialog-title").text("Card Print - Loading " + issueKeyList.length + " issues...");
renderCards(issueKeyList, function(){ renderCards(issueKeyList, function(){
@ -451,7 +451,7 @@ height: calc(100% - 106px); + height: 100px;
#info { #info {
position: absolute; position: absolute;
right: 250px; right: 400px;
float: left; float: left;
display: inline-block; display: inline-block;
height 30px; height 30px;
@ -699,7 +699,7 @@ body {
text-align: center; text-align: center;
font-weight: bold; font-weight: bold;
font-size: 1.0cm; font-size: 1.0cm;
line-height: 1.4cm; line-height: 1.6cm;
} }
.type-icon { .type-icon {
position: relative; position: relative;
@ -797,8 +797,8 @@ body {
height: 2.1cm; height: 2.1cm;
text-align: center; text-align: center;
font-weight: bold; font-weight: bold;
font-size: 2.1cm; font-size: 1.8cm;
line-height: 2.1cm; line-height: 2.5cm;
background-image: url(https://images.weserv.nl/?url=www.iconsdb.com/icons/download/color/aaaaaa/contacts-256.png); background-image: url(https://images.weserv.nl/?url=www.iconsdb.com/icons/download/color/aaaaaa/contacts-256.png);
background-repeat: no-repeat; background-repeat: no-repeat;
-webkit-background-size: cover; -webkit-background-size: cover;

8
bookmarkletLoader.js Normal file
View File

@ -0,0 +1,8 @@
// tested for Chrome, IE
javascript:(function(){
var head = document.getElementsByTagName("head")[0];
var scriptElement = document.createElement("script");
scriptElement.src = <URL to Script>;
head.appendChild(scriptElement);
head.removeChild(scriptElement);
})();