Mercurial > hg > reproctool-df
comparison reproctool.cgi @ 4:4351c0bf33d4
Improving IGB formatting
author | Dominic Cleal <dominic@computerkb.co.uk> |
---|---|
date | Sat, 24 Jan 2009 17:35:31 +0000 |
parents | e640eb6cefc3 |
children | 42268fc087a9 |
comparison
equal
deleted
inserted
replaced
3:e640eb6cefc3 | 4:4351c0bf33d4 |
---|---|
103 { | 103 { |
104 border: 2px #FF0000 solid; | 104 border: 2px #FF0000 solid; |
105 } | 105 } |
106 .item | 106 .item |
107 { | 107 { |
108 width: 64px; | 108 text-align: center; |
109 } | 109 } |
110 </style> | 110 </style> |
111 </head> | 111 </head> |
112 | |
112 <body> | 113 <body> |
113 <table> | 114 <table> |
114 END | 115 END |
115 | 116 |
116 for my $item (@output) | 117 for my $item (@output) |
140 { | 141 { |
141 $text = 'Unknown item'; | 142 $text = 'Unknown item'; |
142 $img = "icons/icons_items_png/64_64/icon07_15.png"; | 143 $img = "icons/icons_items_png/64_64/icon07_15.png"; |
143 } | 144 } |
144 | 145 |
145 print "<td class='item $style'>"; | 146 print "<td width='64' class='item $style'>"; |
146 print "<img src='$img_http_path/$img' width='64' height='64' alt='$item->{name}' /><br />$text"; | 147 print "<img src='$img_http_path/$img' width='64' height='64' border='1' alt='$item->{name}' /><br />$text"; |
147 print "</td>\n"; | 148 print "</td>\n"; |
148 | 149 |
149 $col++; | 150 $col++; |
150 } | 151 } |
151 | 152 |