From a50706317435d09cacb95cad0a6ccaf8ae5b5f6c Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 26 Mar 2016 18:43:38 +0100 Subject: move link to /locs to settings menu if we have more than one location and some template work on locs --- view/tpl/channel.tpl | 4 --- view/tpl/locmanage.tpl | 77 ++++++++++++++++++++++++++------------------------ 2 files changed, 40 insertions(+), 41 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/channel.tpl b/view/tpl/channel.tpl index 17713aef4..d306f0aa0 100755 --- a/view/tpl/channel.tpl +++ b/view/tpl/channel.tpl @@ -44,10 +44,6 @@ {{if $channel.intros != 0}}{{/if}}{{$channel.intros|string_format:$intros_format}}{{if $channel.intros != 0}}{{/if}} - {{/if}} diff --git a/view/tpl/locmanage.tpl b/view/tpl/locmanage.tpl index c94cf60a7..95847d559 100644 --- a/view/tpl/locmanage.tpl +++ b/view/tpl/locmanage.tpl @@ -1,38 +1,41 @@ -
-

{{$header}}

- - - -
{{$sync_text}}
-
-
{{$drop_text}}
-
{{$last_resort}}
-
- - - - - - -{{foreach $hubs as $hub}} -{{if ! $hub.deleted }} - - - - -{{/if}} -{{/foreach}} -
{{$loc}}{{$mkprm}}{{$drop}}
-{{$hub.hubloc_url}} ({{$hub.hubloc_addr}}) -{{if $hub.primary}}{{else}}{{/if}} -
+
+
+ + +

{{$header}}

+
+
+
+ {{$sync_text}} +
+ + + + + + + + + {{foreach $hubs as $hub}} + {{if ! $hub.deleted }} + + + + + + + {{/if}} + {{/foreach}} +
{{$loc}}{{$addr}}{{$mkprm}}{{$drop}}
{{$hub.hubloc_url}}{{$hub.hubloc_addr}}{{if $hub.primary}}{{else}}{{/if}}
+
-
- -- cgit v1.2.3 From 97eef2b88c5e2e709b8efdb2ea597a5803783e24 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sat, 26 Mar 2016 19:34:38 +0100 Subject: removed link to connected apps by accident --- view/tpl/locmanage.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/locmanage.tpl b/view/tpl/locmanage.tpl index 95847d559..6d8e90ad2 100644 --- a/view/tpl/locmanage.tpl +++ b/view/tpl/locmanage.tpl @@ -21,16 +21,16 @@
- + {{foreach $hubs as $hub}} {{if ! $hub.deleted }} - + -- cgit v1.2.3 From ba0812c4477fcae0b910f63de8134529797d51dc Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 27 Mar 2016 22:37:07 +0200 Subject: highlight table row on hover --- view/tpl/locmanage.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'view/tpl') diff --git a/view/tpl/locmanage.tpl b/view/tpl/locmanage.tpl index 6d8e90ad2..89d5295ad 100644 --- a/view/tpl/locmanage.tpl +++ b/view/tpl/locmanage.tpl @@ -28,7 +28,7 @@ {{foreach $hubs as $hub}} {{if ! $hub.deleted }} - + -- cgit v1.2.3 From 5462453bf2bde50166c68f90b08d24826dd07ba8 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 30 Mar 2016 14:31:55 +0200 Subject: some work on mod chat --- view/tpl/chat.tpl | 2 +- view/tpl/chatroom_new.tpl | 24 +++++++++++------------- view/tpl/chatroomlist.tpl | 16 ++++++++-------- view/tpl/chatrooms.tpl | 47 +++++++++++++++++++++++++++++++++++++---------- 4 files changed, 57 insertions(+), 32 deletions(-) (limited to 'view/tpl') diff --git a/view/tpl/chat.tpl b/view/tpl/chat.tpl index 18576fd56..5ea1ae22e 100644 --- a/view/tpl/chat.tpl +++ b/view/tpl/chat.tpl @@ -5,7 +5,7 @@
- + {{/if}} diff --git a/view/tpl/chatroom_new.tpl b/view/tpl/chatroom_new.tpl index c64f21c97..8acff2ff5 100644 --- a/view/tpl/chatroom_new.tpl +++ b/view/tpl/chatroom_new.tpl @@ -1,14 +1,12 @@ -
-

{{$header}}

- -
-{{include file="field_input.tpl" field=$name}} -{{include file="field_input.tpl" field=$chat_expire}} - -{{$acl}} -
-
-
- - +
+
+ {{include file="field_input.tpl" field=$name}} + {{include file="field_input.tpl" field=$chat_expire}} + {{$acl}} +
+ + +
+
+
diff --git a/view/tpl/chatroomlist.tpl b/view/tpl/chatroomlist.tpl index 71fec8200..ac0f7cf9b 100644 --- a/view/tpl/chatroomlist.tpl +++ b/view/tpl/chatroomlist.tpl @@ -1,11 +1,11 @@
-

{{$header}}

-{{if $items}} -
{{$loc}} {{$addr}} {{$mkprm}} {{$drop}}
{{$hub.hubloc_url}} {{$hub.hubloc_addr}} {{if $hub.primary}}{{else}}{{/if}}
{{$hub.hubloc_addr}} {{if $hub.primary}}{{else}}{{/if}}
-{{foreach $items as $item}} - -{{/foreach}} -
{{$item.cr_name}}{{$item.cr_inroom}}
-{{/if}} +

{{$header}}

+ {{if $items}} + + {{/if}} diff --git a/view/tpl/chatrooms.tpl b/view/tpl/chatrooms.tpl index 570aef1c7..c7333efcf 100644 --- a/view/tpl/chatrooms.tpl +++ b/view/tpl/chatrooms.tpl @@ -1,12 +1,39 @@ -
-

{{$header}}

- -{{if $is_owner}} -

-{{$newroom}} -

-{{/if}} - -{{$rooms}} +
+
+ {{if $is_owner}} + + {{/if}} +

{{$header}}

+
+ {{if $is_owner}} + {{$chatroom_new}} + {{/if}} + {{if $rooms}} +
+ + + + + + + {{foreach $rooms as $room}} + + + + + + {{/foreach}} +
name
{{$room.cr_name}}{{$room.cr_inroom}}
+
+ {{else}} +
+ {{$norooms}} +
+ {{/if}}
-- cgit v1.2.3 From 08461c7049ee5c9788e815537b540b9987a5eace Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Wed, 30 Mar 2016 14:44:03 +0200 Subject: more on mod chat --- view/tpl/chatroomlist.tpl | 1 + view/tpl/chatrooms.tpl | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'view/tpl') diff --git a/view/tpl/chatroomlist.tpl b/view/tpl/chatroomlist.tpl index ac0f7cf9b..dfdce8afb 100644 --- a/view/tpl/chatroomlist.tpl +++ b/view/tpl/chatroomlist.tpl @@ -2,6 +2,7 @@

{{$header}}

{{if $items}}