aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
Diffstat (limited to 'view')
-rw-r--r--view/event_form.tpl4
-rw-r--r--view/jot-header.tpl16
-rw-r--r--view/photo_drop.tpl4
-rw-r--r--view/theme/duepuntozero/style.css48
-rw-r--r--view/theme/loozah/style.css55
-rw-r--r--view/wall_item_drop.tpl2
6 files changed, 129 insertions, 0 deletions
diff --git a/view/event_form.tpl b/view/event_form.tpl
index 6401f16d0..5f3510bef 100644
--- a/view/event_form.tpl
+++ b/view/event_form.tpl
@@ -6,6 +6,10 @@ $e_desc
<form action="$post" method="post" >
+<input type="hidden" name="event_id" value="$eid" />
+<input type="hidden" name="cid" value="$cid" />
+<input type="hidden" name="uri" value="$uri" />
+
<div id="event-start-text">$s_text</div>
$s_dsel $s_tsel
diff --git a/view/jot-header.tpl b/view/jot-header.tpl
index 77e5bc4bc..61c80702e 100644
--- a/view/jot-header.tpl
+++ b/view/jot-header.tpl
@@ -109,6 +109,22 @@ tinyMCE.init({
});
+ function deleteCheckedItems() {
+ var checkedstr = '';
+
+ $('.item-select').each( function() {
+ if($(this).is(':checked')) {
+ if(checkedstr.length != 0)
+ checkedstr = checkedstr + ',' + $(this).val();
+ else
+ checkedstr = $(this).val();
+ }
+ });
+ $.post('item', { dropitems: checkedstr }, function(data) {
+ window.location.reload();
+ });
+ }
+
function jotGetLink() {
reply = prompt("$linkurl");
if(reply && reply.length) {
diff --git a/view/photo_drop.tpl b/view/photo_drop.tpl
new file mode 100644
index 000000000..b4ea62b45
--- /dev/null
+++ b/view/photo_drop.tpl
@@ -0,0 +1,4 @@
+<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$id" >
+ <a href="item/drop/$id" onclick="return confirmDelete();" class="icon drophide" title="$delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>
+</div>
+<div class="wall-item-delete-end"></div>
diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css
index 4aad4339f..2c3700c43 100644
--- a/view/theme/duepuntozero/style.css
+++ b/view/theme/duepuntozero/style.css
@@ -2228,10 +2228,29 @@ a.mail-list-link {
font-size: 20px;
}
+.vevent {
+ border: 1px solid #CCCCCC;
+}
+.vevent .event-description, .vevent .event-location {
+ margin-left: 10px;
+ margin-right: 10px;
+}
+.vevent .event-start {
+ margin-left: 10px;
+ margin-right: 10px;
+}
+
#new-event-link {
margin-bottom: 10px;
}
+.edit-event-link, .plink-event-link {
+ float: left;
+ margin-top: 4px;
+ margin-right: 4px;
+ margin-bottom: 15px;
+}
+
.event-description:before {
content: url('../../../images/calendar.png');
margin-right: 15px;
@@ -2247,6 +2266,10 @@ a.mail-list-link {
float: right;
}
+.event-list-date {
+ margin-bottom: 10px;
+}
+
.prevcal, .nextcal {
float: left;
margin-left: 32px;
@@ -2262,6 +2285,7 @@ a.mail-list-link {
font-family: Courier, monospace;
}
.today {
+ font-weight: bold;
color: #FF0000;
}
@@ -2465,8 +2489,32 @@ a.mail-list-link {
margin-top: 10px;
}
+.item-select {
+ opacity: 0.3;
+ filter:alpha(opacity=30);
+ float: right;
+ margin-right: 10px;
+}
+.item-select:hover {
+ opacity: 1;
+ filter:alpha(opacity=100);
+}
+#item-delete-selected {
+ margin-top: 30px;
+}
+
+#item-delete-selected-end {
+ clear: both;
+}
+#item-delete-selected-icon, #item-delete-selected-desc {
+ float: left;
+ margin-right: 5px;
+}
+#item-delete-selected-desc:hover {
+ text-decoration: underline;
+}
#lang-select-icon {
cursor: pointer;
diff --git a/view/theme/loozah/style.css b/view/theme/loozah/style.css
index 947b76fec..9ab3bb6bc 100644
--- a/view/theme/loozah/style.css
+++ b/view/theme/loozah/style.css
@@ -2428,15 +2428,42 @@ a.mail-list-link {
font-size: 20px;
}
+
+.vevent {
+ border: 1px solid #CCCCCC;
+}
+.vevent .event-description, .vevent .event-location {
+ margin-left: 10px;
+ margin-right: 10px;
+}
+.vevent .event-start {
+ margin-left: 10px;
+ margin-right: 10px;
+}
+
+
#new-event-link {
margin-bottom: 10px;
}
+
+.edit-event-link, .plink-event-link {
+ float: left;
+ margin-top: 4px;
+ margin-right: 4px;
+ margin-bottom: 15px;
+}
+
+
.event-description:before {
content: url('../../../images/calendar.png');
margin-right: 15px;
}
+.event-list-date {
+ margin-bottom: 10px;
+}
+
.event-start, .event-end {
margin-left: 10px;
width: 330px;
@@ -2461,6 +2488,7 @@ a.mail-list-link {
font-family: Courier, monospace;
}
.today {
+ font-weight: bold;
color: #FF0000;
}
@@ -2490,6 +2518,33 @@ a.mail-list-link {
}
+.item-select {
+ opacity: 0.3;
+ filter:alpha(opacity=30);
+ float: right;
+ margin-right: 10px;
+
+}
+.item-select:hover {
+ opacity: 1;
+ filter:alpha(opacity=100);
+}
+
+#item-delete-selected {
+ margin-top: 30px;
+}
+
+#item-delete-selected-end {
+ clear: both;
+}
+#item-delete-selected-icon, #item-delete-selected-desc {
+ float: left;
+ margin-right: 5px;
+}
+#item-delete-selected-desc:hover {
+ text-decoration: underline;
+}
+
#lang-select-icon {
cursor: pointer;
position: absolute;
diff --git a/view/wall_item_drop.tpl b/view/wall_item_drop.tpl
index b4ea62b45..b10c21093 100644
--- a/view/wall_item_drop.tpl
+++ b/view/wall_item_drop.tpl
@@ -1,4 +1,6 @@
<div class="wall-item-delete-wrapper" id="wall-item-delete-wrapper-$id" >
+
<a href="item/drop/$id" onclick="return confirmDelete();" class="icon drophide" title="$delete" onmouseover="imgbright(this);" onmouseout="imgdull(this);" ></a>
</div>
+<input type="checkbox" class="item-select" name="itemselected[]" value="$id" />
<div class="wall-item-delete-end"></div>