From 9c5df51141d68e50d3c1f5d3097160408debce48 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 17 Jun 2018 16:58:12 +0200 Subject: some work on mod group --- view/tpl/group_edit.tpl | 48 ++++++++++++++++++++++++--------------------- view/tpl/groupeditor.tpl | 26 +++++++++++------------- view/tpl/micropro_card.tpl | 6 ++++++ view/tpl/privacy_groups.tpl | 28 ++++++++++++++++++++++++++ 4 files changed, 71 insertions(+), 37 deletions(-) create mode 100644 view/tpl/micropro_card.tpl create mode 100644 view/tpl/privacy_groups.tpl (limited to 'view/tpl') diff --git a/view/tpl/group_edit.tpl b/view/tpl/group_edit.tpl index d9412a6f7..88f037abe 100755 --- a/view/tpl/group_edit.tpl +++ b/view/tpl/group_edit.tpl @@ -1,26 +1,30 @@ -
-

{{$title}}

- - -
-
- - - {{include file="field_input.tpl" field=$gname}} - {{include file="field_checkbox.tpl" field=$public}} - {{if $drop}}{{$drop}}{{/if}} -
- +
+
+
+ + +
-
- -
- +

{{$title}}

+
-{{if $groupeditor}} -
- {{include file="groupeditor.tpl"}} + + +
+
+ {{include file="groupeditor.tpl"}} +
-{{/if}} -{{if $desc}}
{{$desc}}
{{/if}}
diff --git a/view/tpl/groupeditor.tpl b/view/tpl/groupeditor.tpl index c79bb0a2a..94c275c7e 100755 --- a/view/tpl/groupeditor.tpl +++ b/view/tpl/groupeditor.tpl @@ -1,16 +1,12 @@ -
-

{{$groupeditor.label_members}}

-
-{{foreach $groupeditor.members as $c}} {{$c}} {{/foreach}} -
-
-
-
- -
-

{{$groupeditor.label_contacts}}

-
-{{foreach $groupeditor.contacts as $m}} {{$m}} {{/foreach}} -
-
+
+

{{$groupeditor.label_contacts}}

+
+ {{foreach $groupeditor.contacts as $m}} {{$m}} {{/foreach}} +
+
+
+

{{$groupeditor.label_members}}

+
+ {{foreach $groupeditor.members as $c}} {{$c}} {{/foreach}} +
diff --git a/view/tpl/micropro_card.tpl b/view/tpl/micropro_card.tpl new file mode 100644 index 000000000..c1b621349 --- /dev/null +++ b/view/tpl/micropro_card.tpl @@ -0,0 +1,6 @@ + + {{if $oneway}}{{/if}} + {{$name}} + {{$addr}} + {{$network}} + diff --git a/view/tpl/privacy_groups.tpl b/view/tpl/privacy_groups.tpl new file mode 100644 index 000000000..b4e27ef2c --- /dev/null +++ b/view/tpl/privacy_groups.tpl @@ -0,0 +1,28 @@ +
+
+ +

{{$title}}

+
+ + + + + + + + + {{foreach $entries as $group}} + + + + + {{/foreach}} +
{{$name_label}}{{$count_label}}
{{$group.name}}{{$group.count}}
+
-- cgit v1.2.3