summaryrefslogtreecommitdiff
path: root/plugins/managesieve/skins/default
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/managesieve/skins/default')
-rw-r--r--plugins/managesieve/skins/default/filter_add_act.pngbin1391 -> 0 bytes
-rw-r--r--plugins/managesieve/skins/default/filter_add_pas.pngbin1409 -> 0 bytes
-rw-r--r--plugins/managesieve/skins/default/filter_add_sel.pngbin1305 -> 0 bytes
-rw-r--r--plugins/managesieve/skins/default/filter_del_act.pngbin1337 -> 0 bytes
-rw-r--r--plugins/managesieve/skins/default/filter_del_pas.pngbin1339 -> 0 bytes
-rw-r--r--plugins/managesieve/skins/default/filter_del_sel.pngbin1230 -> 0 bytes
-rw-r--r--plugins/managesieve/skins/default/filter_down_act.pngbin1327 -> 0 bytes
-rw-r--r--plugins/managesieve/skins/default/filter_down_pas.pngbin1350 -> 0 bytes
-rw-r--r--plugins/managesieve/skins/default/filter_down_sel.pngbin1231 -> 0 bytes
-rw-r--r--plugins/managesieve/skins/default/filter_up_act.pngbin1321 -> 0 bytes
-rw-r--r--plugins/managesieve/skins/default/filter_up_pas.pngbin1333 -> 0 bytes
-rw-r--r--plugins/managesieve/skins/default/filter_up_sel.pngbin1192 -> 0 bytes
-rw-r--r--plugins/managesieve/skins/default/managesieve.css108
-rw-r--r--plugins/managesieve/skins/default/managesieve_toolbar.pngbin0 -> 9535 bytes
-rw-r--r--plugins/managesieve/skins/default/templates/filteredit.html (renamed from plugins/managesieve/skins/default/templates/managesieveedit.html)2
-rw-r--r--plugins/managesieve/skins/default/templates/managesieve.html18
-rw-r--r--plugins/managesieve/skins/default/templates/setedit.html24
17 files changed, 144 insertions, 8 deletions
diff --git a/plugins/managesieve/skins/default/filter_add_act.png b/plugins/managesieve/skins/default/filter_add_act.png
deleted file mode 100644
index d8915dc89..000000000
--- a/plugins/managesieve/skins/default/filter_add_act.png
+++ /dev/null
Binary files differ
diff --git a/plugins/managesieve/skins/default/filter_add_pas.png b/plugins/managesieve/skins/default/filter_add_pas.png
deleted file mode 100644
index b5be80618..000000000
--- a/plugins/managesieve/skins/default/filter_add_pas.png
+++ /dev/null
Binary files differ
diff --git a/plugins/managesieve/skins/default/filter_add_sel.png b/plugins/managesieve/skins/default/filter_add_sel.png
deleted file mode 100644
index 8cb0593e0..000000000
--- a/plugins/managesieve/skins/default/filter_add_sel.png
+++ /dev/null
Binary files differ
diff --git a/plugins/managesieve/skins/default/filter_del_act.png b/plugins/managesieve/skins/default/filter_del_act.png
deleted file mode 100644
index 1974417c8..000000000
--- a/plugins/managesieve/skins/default/filter_del_act.png
+++ /dev/null
Binary files differ
diff --git a/plugins/managesieve/skins/default/filter_del_pas.png b/plugins/managesieve/skins/default/filter_del_pas.png
deleted file mode 100644
index 9f17e38ec..000000000
--- a/plugins/managesieve/skins/default/filter_del_pas.png
+++ /dev/null
Binary files differ
diff --git a/plugins/managesieve/skins/default/filter_del_sel.png b/plugins/managesieve/skins/default/filter_del_sel.png
deleted file mode 100644
index 483ffc08e..000000000
--- a/plugins/managesieve/skins/default/filter_del_sel.png
+++ /dev/null
Binary files differ
diff --git a/plugins/managesieve/skins/default/filter_down_act.png b/plugins/managesieve/skins/default/filter_down_act.png
deleted file mode 100644
index 7a24a4f3c..000000000
--- a/plugins/managesieve/skins/default/filter_down_act.png
+++ /dev/null
Binary files differ
diff --git a/plugins/managesieve/skins/default/filter_down_pas.png b/plugins/managesieve/skins/default/filter_down_pas.png
deleted file mode 100644
index ac65239e6..000000000
--- a/plugins/managesieve/skins/default/filter_down_pas.png
+++ /dev/null
Binary files differ
diff --git a/plugins/managesieve/skins/default/filter_down_sel.png b/plugins/managesieve/skins/default/filter_down_sel.png
deleted file mode 100644
index b7a9e670c..000000000
--- a/plugins/managesieve/skins/default/filter_down_sel.png
+++ /dev/null
Binary files differ
diff --git a/plugins/managesieve/skins/default/filter_up_act.png b/plugins/managesieve/skins/default/filter_up_act.png
deleted file mode 100644
index fd9689bb5..000000000
--- a/plugins/managesieve/skins/default/filter_up_act.png
+++ /dev/null
Binary files differ
diff --git a/plugins/managesieve/skins/default/filter_up_pas.png b/plugins/managesieve/skins/default/filter_up_pas.png
deleted file mode 100644
index c60226cdc..000000000
--- a/plugins/managesieve/skins/default/filter_up_pas.png
+++ /dev/null
Binary files differ
diff --git a/plugins/managesieve/skins/default/filter_up_sel.png b/plugins/managesieve/skins/default/filter_up_sel.png
deleted file mode 100644
index de4c5c3a6..000000000
--- a/plugins/managesieve/skins/default/filter_up_sel.png
+++ /dev/null
Binary files differ
diff --git a/plugins/managesieve/skins/default/managesieve.css b/plugins/managesieve/skins/default/managesieve.css
index ce2493626..d446a3a42 100644
--- a/plugins/managesieve/skins/default/managesieve.css
+++ b/plugins/managesieve/skins/default/managesieve.css
@@ -6,7 +6,7 @@
position: absolute;
left: 20px;
width: 220px;
- top: 130px;
+ top: 120px;
bottom: 30px;
border: 1px solid #999999;
background-color: #F9F9F9;
@@ -32,13 +32,113 @@
{
position: absolute;
left: 20px;
- top: 95px;
+ top: 85px;
+}
+
+#filtersetsbuttons
+{
+ position: absolute;
+ left: 250px;
+ top: 85px;
+}
+
+#filtersbuttons a,
+#filtersetsbuttons a
+{
+ display: block;
+ float: left;
+}
+
+#filtersbuttons a.button,
+#filtersbuttons a.buttonPas,
+#filtersetsbuttons a.button,
+#filtersetsbuttons a.buttonPas
+{
+ display: block;
+ float: left;
+ width: 32px;
+ height: 32px;
+ padding: 0;
+ margin-right: 3px;
+ overflow: hidden;
+ background: url('managesieve_toolbar.png') 0 0 no-repeat transparent;
+ opacity: 0.99; /* this is needed to make buttons appear correctly in Chrome */
+}
+
+#filtersbuttons a.buttonPas,
+#filtersetsbuttons a.buttonPas
+{
+ filter: alpha(opacity=35);
+ opacity: 0.35;
+}
+
+#filtersbuttons a.add {
+ background-position: 0px 0px;
+}
+
+#filtersbuttons a.addsel {
+ background-position: 0 -32px;
+}
+
+#filtersbuttons a.del {
+ background-position: -32px 0px;
+}
+
+#filtersbuttons a.delsel {
+ background-position: -32px -32px;
+}
+
+#filtersbuttons a.up {
+ background-position: -64px 0px;
+}
+
+#filtersbuttons a.upsel {
+ background-position: -64px -32px;
+}
+
+#filtersbuttons a.down {
+ background-position: -96px 0px;
+}
+
+#filtersbuttons a.downsel {
+ background-position: -96px -32px;
+}
+
+#filtersetsbuttons a.setadd {
+ background-position: -128px 0px;
+}
+
+#filtersetsbuttons a.setaddsel {
+ background-position: -128px -32px;
+}
+
+#filtersetsbuttons a.setdel {
+ background-position: -160px 0px;
+}
+
+#filtersetsbuttons a.setdelsel {
+ background-position: -160px -32px;
+}
+
+#filtersetsbuttons a.setset {
+ background-position: -192px 0px;
+}
+
+#filtersetsbuttons a.setsetsel {
+ background-position: -192px -32px;
+}
+
+#filtersetselect
+{
+ position: absolute;
+ left: 380px;
+ top: 90px;
}
#filter-box
{
position: absolute;
- top: 95px;
+ top: 120px;
left: 250px;
right: 20px;
bottom: 30px;
@@ -46,7 +146,7 @@
overflow: hidden;
/* css hack for IE */
width: expression((parseInt(document.documentElement.clientWidth)-30-parseInt(document.getElementById('filterslist').offsetLeft)-parseInt(document.getElementById('filterslist').offsetWidth))+'px');
- height: expression((parseInt(document.documentElement.clientHeight)-120)+'px');
+ height: expression((parseInt(document.documentElement.clientHeight)-155)+'px');
}
#filter-frame
diff --git a/plugins/managesieve/skins/default/managesieve_toolbar.png b/plugins/managesieve/skins/default/managesieve_toolbar.png
new file mode 100644
index 000000000..3f96a9681
--- /dev/null
+++ b/plugins/managesieve/skins/default/managesieve_toolbar.png
Binary files differ
diff --git a/plugins/managesieve/skins/default/templates/managesieveedit.html b/plugins/managesieve/skins/default/templates/filteredit.html
index 2302073b6..164b91ca8 100644
--- a/plugins/managesieve/skins/default/templates/managesieveedit.html
+++ b/plugins/managesieve/skins/default/templates/filteredit.html
@@ -94,6 +94,8 @@ function rule_join_radio(value)
}
</script>
+<div id="filter-title" class="boxtitle"><roundcube:label name="managesieve.filterdef" /></div>
+
<div id="filter-form">
<roundcube:object name="filterform" />
diff --git a/plugins/managesieve/skins/default/templates/managesieve.html b/plugins/managesieve/skins/default/templates/managesieve.html
index d5dd6c454..0913ef5fc 100644
--- a/plugins/managesieve/skins/default/templates/managesieve.html
+++ b/plugins/managesieve/skins/default/templates/managesieve.html
@@ -13,10 +13,20 @@
<roundcube:include file="/includes/settingstabs.html" />
<div id="filtersbuttons">
-<roundcube:button command="plugin.managesieve-add" imageSel="/this/filter_add_sel.png" imagePas="/this/filter_add_pas.png" imageAct="/this/filter_add_act.png" width="32" height="32" title="managesieve.filteradd" />
-<roundcube:button command="plugin.managesieve-del" imageSel="/this/filter_del_sel.png" imagePas="/this/filter_del_pas.png" imageAct="/this/filter_del_act.png" width="32" height="32" title="managesieve.filterdel" />
-<roundcube:button command="plugin.managesieve-up" imageSel="/this/filter_up_sel.png" imagePas="/this/filter_up_pas.png" imageAct="/this/filter_up_act.png" width="32" height="32" title="managesieve.moveup" />
-<roundcube:button command="plugin.managesieve-down" imageSel="/this/filter_down_sel.png" imagePas="/this/filter_down_pas.png" imageAct="/this/filter_down_act.png" width="32" height="32" title="managesieve.movedown" />
+<roundcube:button command="plugin.managesieve-add" type="link" class="buttonPas add" classSel="button addsel" classAct="button add" title="managesieve.filteradd" content=" " />
+<roundcube:button command="plugin.managesieve-del" type="link" class="buttonPas del" classSel="button delsel" classAct="button del" title="managesieve.filterdel" content=" " />
+<roundcube:button command="plugin.managesieve-up" type="link" class="buttonPas up" classSel="button upsel" classAct="button up" title="managesieve.moveup" content=" " />
+<roundcube:button command="plugin.managesieve-down" type="link" class="buttonPas down" classSel="button downsel" classAct="button down" title="managesieve.movedown" content=" " />
+</div>
+
+<div id="filtersetsbuttons">
+<roundcube:button command="plugin.managesieve-setadd" type="link" class="buttonPas setadd" classSel="button setaddsel" classAct="button setadd" title="managesieve.filtersetadd" content=" " />
+<roundcube:button command="plugin.managesieve-setdel" type="link" class="buttonPas setdel" classSel="button setdelsel" classAct="button setdel" title="managesieve.filtersetdel" content=" " />
+<roundcube:button command="plugin.managesieve-setact" type="link" class="buttonPas setset" classSel="button setsetsel" classAct="button setset" title="managesieve.filtersetact" content=" " />
+</div>
+<div id="filtersetselect">
+<roundcube:label name="managesieve.filterset" />:
+<roundcube:object name="filtersetslist" id="filtersets-select" />
</div>
<div id="filterslist">
diff --git a/plugins/managesieve/skins/default/templates/setedit.html b/plugins/managesieve/skins/default/templates/setedit.html
new file mode 100644
index 000000000..343fe4e63
--- /dev/null
+++ b/plugins/managesieve/skins/default/templates/setedit.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title><roundcube:object name="pagetitle" /></title>
+<roundcube:include file="/includes/links.html" />
+<link rel="stylesheet" type="text/css" href="/this/managesieve.css" />
+</head>
+<body class="iframe">
+
+<div id="filter-title" class="boxtitle"><roundcube:label name="managesieve.newfilterset" /></div>
+
+<div id="filter-form">
+<roundcube:object name="filtersetform" />
+
+<p>
+<roundcube:button command="plugin.managesieve-save" type="input" class="button mainaction" label="save" />
+</p>
+
+</form>
+</div>
+
+
+</body>
+</html>