2018-11-01 02:08:29 +04:00
|
|
|
@use super::{data_positions, page_base, photo_link};
|
2018-09-01 16:41:40 +04:00
|
|
|
@use crate::models::Coord;
|
|
|
|
@use crate::server::{Context, Link, PhotoLink};
|
2016-09-23 17:40:54 +03:00
|
|
|
|
2018-09-01 16:41:40 +04:00
|
|
|
@(context: &Context, title: &str, lpath: &[Link], photos: &[PhotoLink], coords: &[(Coord, i32)])
|
2016-09-23 17:40:54 +03:00
|
|
|
|
2018-09-01 16:41:40 +04:00
|
|
|
@:page_base(context, title, lpath, {}, {
|
2018-02-07 23:56:23 +04:00
|
|
|
<div class="group"@:data_positions(coords)>
|
2017-11-20 18:10:42 +04:00
|
|
|
@for p in photos {@:photo_link(p)}
|
2016-09-26 01:45:13 +03:00
|
|
|
</div>
|
|
|
|
})
|