Create systray tooltip workaround for KDE
This commit is contained in:
41
data/html/oauthsuccess.html
Normal file
41
data/html/oauthsuccess.html
Normal file
@@ -0,0 +1,41 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<head>
|
||||
<link href="http://www.strawbs.org/favicon.ico" rel="shortcut icon">
|
||||
<title>tr("Return to Strawberry")</title>
|
||||
|
||||
<style>
|
||||
#container {
|
||||
margin: 6em auto 0px auto;
|
||||
max-width: 400px;
|
||||
font-family: 'arial regular', arial, sans-serif;
|
||||
}
|
||||
|
||||
#container img {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
float: left;
|
||||
margin-right: 0.5em;
|
||||
}
|
||||
|
||||
#container h1 {
|
||||
margin: 0px 0px 0.75em 0px;
|
||||
font-size: 16px;
|
||||
}
|
||||
|
||||
#container p {
|
||||
margin-top: 0px;
|
||||
margin-left: 10px;
|
||||
font-size: 13px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div id="container">
|
||||
<h1>tr("Success!")</h1>
|
||||
<img src="data:image/png;base64,@IMAGE_DATA@"/>
|
||||
<p>tr("Please close your browser and return to Strawberry.")</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
8
data/html/playing-tooltip-plain.html
Normal file
8
data/html/playing-tooltip-plain.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<h4>%appName</h4>
|
||||
<p>
|
||||
%image<br />
|
||||
%titleKey: %titleValue<br />
|
||||
%artistKey: %artistValue<br />
|
||||
%albumKey: %albumValue<br />
|
||||
%lengthKey: %lengthValue<br />
|
||||
</p>
|
||||
41
data/html/playing-tooltip-table.html
Normal file
41
data/html/playing-tooltip-table.html
Normal file
@@ -0,0 +1,41 @@
|
||||
<table cellspacing="5" cellpadding="5">
|
||||
<tr>
|
||||
<td colspan="%columns">
|
||||
<center><h4>%appName</h4></center>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
%image
|
||||
<td>
|
||||
<table cellspacing="1" cellpadding="1">
|
||||
<tr>
|
||||
<td>
|
||||
<p align="right">%titleKey</p>
|
||||
</td>
|
||||
<td>%titleValue</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p align="right">%artistKey</p>
|
||||
</td>
|
||||
<td>%artistValue</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p align="right">%albumKey</p>
|
||||
</td>
|
||||
<td>%albumValue</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2" height="20" />
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<p align="right">%lengthKey</p>
|
||||
</td>
|
||||
<td>%lengthValue</td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
Reference in New Issue
Block a user