diff options
author | friendica <info@friendica.com> | 2014-07-06 23:13:17 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-07-06 23:13:17 -0700 |
commit | 0764b78da3927b2acda9447d853f2762e125e3a6 (patch) | |
tree | f3860bc944dff949ee0db9882cfbab29153d6310 /view | |
parent | 913fd1d22ecdf847c45ec498cfc302e0f4572415 (diff) | |
download | volse-hubzilla-0764b78da3927b2acda9447d853f2762e125e3a6.tar.gz volse-hubzilla-0764b78da3927b2acda9447d853f2762e125e3a6.tar.bz2 volse-hubzilla-0764b78da3927b2acda9447d853f2762e125e3a6.zip |
event render improvements
Diffstat (limited to 'view')
-rw-r--r-- | view/theme/redbasic/css/style.css | 6 | ||||
-rwxr-xr-x | view/tpl/event.tpl | 6 | ||||
-rwxr-xr-x | view/tpl/event_head.tpl | 2 |
3 files changed, 10 insertions, 4 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 50e698e48..99c11c8be 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -935,7 +935,11 @@ aside li { } #event-summary { - width: 400px; + min-width: 400px; +} + +.event-wrapper { + padding: 25px; } .vevent { diff --git a/view/tpl/event.tpl b/view/tpl/event.tpl index e0977e262..c6e36c3cb 100755 --- a/view/tpl/event.tpl +++ b/view/tpl/event.tpl @@ -1,10 +1,12 @@ {{foreach $events as $event}} + <div class="event-wrapper" style="padding: 25px;"> <div class="event"> {{if $event.item.author.xchan_name}}<a href="{{$event.item.author.xchan_url}}" ><img src="{{$event.item.author.xchan_photo_s}}" height="32" width="32" />{{$event.item.author.xchan_name}}</a>{{/if}} {{$event.html}} - {{if $event.item.plink}}<a href="{{$event.plink.0}}" title="{{$event.plink.1}}" class="plink-event-link"><i class="icon-external-link" ></i></a>{{/if}} - {{if $event.edit}}<a href="{{$event.edit.0}}" title="{{$event.edit.1}}" class="edit-event-link"><i class="icon-pencil"></i></a>{{/if}} + {{if $event.item.plink}}<a href="{{$event.plink.0}}" title="{{$event.plink.1}}" class="plink-event-link"><i class="icon-external-link btn btn-default" ></i></a>{{/if}} + {{if $event.edit}}<a href="{{$event.edit.0}}" title="{{$event.edit.1}}" class="edit-event-link"><i class="icon-pencil btn btn-default"></i></a>{{/if}} </div> <div class="clear"></div> + </div> {{/foreach}} diff --git a/view/tpl/event_head.tpl b/view/tpl/event_head.tpl index d6b34b33e..ae80d930a 100755 --- a/view/tpl/event_head.tpl +++ b/view/tpl/event_head.tpl @@ -7,7 +7,7 @@ $.get( '{{$baseurl}}/events/?id='+eventid, function(data){ - $.fancybox(data); + $.colorbox({ maxWidth: "50%", maxHeight: "75%", html: data }); } ); } |