Remove HTML content from a css file. The html part is now moved into Java.
This issue had been reported at http://sourceforge.net/tracker/?func=detail&atid=879335&aid=2874694&group_id=176962
This commit is contained in:
parent
46bbb4ddbb
commit
ad5916d7c1
|
@ -119,8 +119,10 @@ public class HtmlDashboard extends JPanel implements MouseListener,
|
|||
ins = new InputStreamReader(url.openStream());
|
||||
BufferedReader bufferedReader = new BufferedReader( ins );
|
||||
String cssLine;
|
||||
result += "<style type=\"text/css\">";
|
||||
while ((cssLine = bufferedReader.readLine()) != null)
|
||||
result += cssLine + "\n";
|
||||
result += "</style>";
|
||||
} catch (IOException e1) {
|
||||
log.log(Level.SEVERE, e1.getLocalizedMessage(), e1);
|
||||
}
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
<style><!--
|
||||
body {
|
||||
margin-top: 0px;
|
||||
margin-left: 0px;
|
||||
|
@ -50,4 +49,3 @@ body {
|
|||
.tdcontent {
|
||||
background-color: #D6E1DD;
|
||||
}
|
||||
--></style>
|
Loading…
Reference in New Issue