forked from I2P_Developers/i2p.i2p
* susimail: add icons to buttons
arrow_left, arrow_up, email.png from Silk icons: See licenses/LICENSE-SilkIcons.txt
This commit is contained in:
@@ -129,4 +129,65 @@ form {
|
||||
.mailhead {
|
||||
font-size: 9pt;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
|
||||
input.cancel, input.clearselection, input.logout {
|
||||
background: #ddf url('/themes/console/images/cancel.png') no-repeat 2px center;
|
||||
padding: 2px 3px 2px 20px;
|
||||
min-height: 22px;
|
||||
}
|
||||
|
||||
input.delete, input.delete_attachment, input.really_delete {
|
||||
background: #ddf url('/themes/console/images/delete.png') no-repeat 2px center;
|
||||
padding: 2px 3px 2px 20px;
|
||||
min-height: 22px;
|
||||
}
|
||||
|
||||
input.download, input.lastpage {
|
||||
background: #ddf url('/themes/console/images/arrow_down.png') no-repeat 2px center;
|
||||
padding: 2px 3px 2px 20px;
|
||||
min-height: 22px;
|
||||
}
|
||||
|
||||
input.firstpage {
|
||||
background: #ddf url('/themes/console/images/arrow_up.png') no-repeat 2px center;
|
||||
padding: 2px 3px 2px 20px;
|
||||
min-height: 22px;
|
||||
}
|
||||
|
||||
input.forward, input.login, input.nextpage, input.send {
|
||||
background: #ddf url('/themes/console/images/arrow_right.png') no-repeat 2px center;
|
||||
padding: 2px 3px 2px 20px;
|
||||
min-height: 22px;
|
||||
}
|
||||
|
||||
input.invertselection, input.reload, input.refresh {
|
||||
background: #ddf url('/themes/console/images/arrow_refresh.png') no-repeat 2px center;
|
||||
padding: 2px 3px 2px 20px;
|
||||
min-height: 22px;
|
||||
}
|
||||
|
||||
input.markall, input.show {
|
||||
background: #ddf url('/themes/console/images/tick.png') no-repeat 2px center;
|
||||
padding: 2px 3px 2px 20px;
|
||||
min-height: 22px;
|
||||
}
|
||||
|
||||
input.new, input.reply, input.replyall {
|
||||
background: #ddf url('/themes/console/images/email.png') no-repeat 2px center;
|
||||
padding: 2px 3px 2px 20px;
|
||||
min-height: 22px;
|
||||
}
|
||||
|
||||
input.prevpage {
|
||||
background: #ddf url('/themes/console/images/arrow_left.png') no-repeat 2px center;
|
||||
padding: 2px 3px 2px 20px;
|
||||
min-height: 22px;
|
||||
}
|
||||
|
||||
input.send, input.setpagesize {
|
||||
background: #ddf url('/themes/console/images/accept.png') no-repeat 2px center;
|
||||
padding: 2px 3px 2px 20px;
|
||||
min-height: 22px;
|
||||
}
|
||||
|
||||
|
@@ -346,7 +346,7 @@ public class WebMail extends HttpServlet
|
||||
*/
|
||||
private static String button( String name, String label )
|
||||
{
|
||||
return "<input type=\"submit\" name=\"" + name + "\" value=\"" + label + "\">";
|
||||
return "<input type=\"submit\" class=\"" + name + "\" name=\"" + name + "\" value=\"" + label + "\">";
|
||||
}
|
||||
/**
|
||||
* returns html string of a disabled form button with name and label
|
||||
@@ -1601,7 +1601,7 @@ public class WebMail extends HttpServlet
|
||||
"<tr><td align=\"right\" width=\"30%\">" + _("SMTP-Port") + "</td><td width=\"40%\" align=\"left\"><input type=\"text\" size=\"5\" name=\"" + SMTP +"\" value=\"" + smtp + "\"" + ( fixed ? " disabled" : "" ) + "></td></tr>\n");
|
||||
}
|
||||
out.println(
|
||||
"<tr><td></td><td align=\"left\">" + button( LOGIN, _("Login") ) + " <input type=\"reset\" value=\"" + _("Reset") + "\"></td></tr>\n" +
|
||||
"<tr><td></td><td align=\"left\">" + button( LOGIN, _("Login") ) + " <input class=\"cancel\" type=\"reset\" value=\"" + _("Reset") + "\"></td></tr>\n" +
|
||||
"<tr><td></td><td align=\"left\"><a href=\"http://hq.postman.i2p/?page_id=14\">" + _("Learn about I2P mail") + "</a></td></tr>\n" +
|
||||
"<tr><td></td><td align=\"left\"><a href=\"http://hq.postman.i2p/?page_id=16\">" + _("Create Account") + "</a></td></tr>\n" +
|
||||
"</table>");
|
||||
|
BIN
installer/resources/themes/console/images/arrow_left.png
Normal file
BIN
installer/resources/themes/console/images/arrow_left.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 345 B |
BIN
installer/resources/themes/console/images/arrow_up.png
Normal file
BIN
installer/resources/themes/console/images/arrow_up.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 372 B |
BIN
installer/resources/themes/console/images/email.png
Normal file
BIN
installer/resources/themes/console/images/email.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 641 B |
Reference in New Issue
Block a user