summaryrefslogtreecommitdiff
path: root/skins
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-09-19 17:56:14 +0200
committerThomas Bruederli <thomas@roundcube.net>2013-09-19 17:56:14 +0200
commit9c41ba3c9ebbb14d01abe961c420f71f9463e61a (patch)
tree43c2d4c12bbb24a05c7edea7a91f0e01c375c543 /skins
parentcc041fe11c1997902f68f4ca8e95577e963a0053 (diff)
Allow sysadmins to define static responses which are immutable for the user
Diffstat (limited to 'skins')
-rw-r--r--skins/classic/settings.css5
-rw-r--r--skins/classic/templates/responseedit.html2
-rw-r--r--skins/larry/settings.css4
-rw-r--r--skins/larry/templates/responseedit.html2
4 files changed, 11 insertions, 2 deletions
diff --git a/skins/classic/settings.css b/skins/classic/settings.css
index 0e4f796a4..acd0b9fd0 100644
--- a/skins/classic/settings.css
+++ b/skins/classic/settings.css
@@ -34,6 +34,11 @@
height: 18px;
}
+#identities-table tbody tr.readonly td
+{
+ font-style: italic;
+}
+
#subscription-table tr.virtual td
{
color: #666;
diff --git a/skins/classic/templates/responseedit.html b/skins/classic/templates/responseedit.html
index fbc5f663d..67ba35bac 100644
--- a/skins/classic/templates/responseedit.html
+++ b/skins/classic/templates/responseedit.html
@@ -15,7 +15,7 @@
<div id="formfooter">
<div class="footerindent">
- <roundcube:button command="save" type="input" class="button mainaction" label="save" />
+ <roundcube:button command="save" type="input" class="button mainaction" label="save" condition="!env:readonly" />
</div>
</div>
</div>
diff --git a/skins/larry/settings.css b/skins/larry/settings.css
index 8deb24716..920376a96 100644
--- a/skins/larry/settings.css
+++ b/skins/larry/settings.css
@@ -194,6 +194,10 @@
text-overflow: ellipsis;
}
+#identities-table tbody tr.readonly td {
+ font-style: italic;
+}
+
#folder-details,
#identity-details {
position: absolute;
diff --git a/skins/larry/templates/responseedit.html b/skins/larry/templates/responseedit.html
index d2f031b34..8f180fe7f 100644
--- a/skins/larry/templates/responseedit.html
+++ b/skins/larry/templates/responseedit.html
@@ -13,7 +13,7 @@
</div>
<div class="footerleft formbuttons">
- <roundcube:button command="save" type="input" class="button mainaction" label="save" />
+ <roundcube:button command="save" type="input" class="button mainaction" label="save" condition="!env:readonly" />
</div>
<roundcube:include file="/includes/footer.html" />