7 changed files with 66 additions and 22 deletions
-
1CHANGELOG.md
-
5app/User.php
-
7app/Views/explore.tpl
-
26app/Widgets/CommunitiesServers/CommunitiesServers.php
-
16app/Widgets/CommunitiesServers/_communitiesservers.tpl
-
29app/Widgets/CommunitiesServers/_communitiesservers_discover_server.tpl
-
4app/Widgets/CommunitiesServers/communitiesservers.js
@ -0,0 +1,29 @@ |
|||
|
|||
|
|||
<section class="scroll"> |
|||
<ul class="list thick"> |
|||
<li class="block large"> |
|||
<span class="primary icon"> |
|||
<i class="material-symbols">search</i> |
|||
</span> |
|||
<form name="communitiesservers_discover_server"> |
|||
<div> |
|||
<input placeholder="pubsub.server.com" name="server"> |
|||
<label>{$c->__('communities.search_server')}</label> |
|||
</div> |
|||
</form> |
|||
</li> |
|||
</ul> |
|||
</section> |
|||
<footer> |
|||
<button onclick="Dialog_ajaxClear()" class="button flat"> |
|||
{$c->__('button.close')} |
|||
</button> |
|||
<button |
|||
type="button" |
|||
onclick="CommunitiesServers_ajaxDisco(MovimUtils.formToJson('communitiesservers_discover_server'))" |
|||
class="button flat" |
|||
> |
|||
{$c->__('button.search')} |
|||
</button> |
|||
</footer> |
@ -1 +1,5 @@ |
|||
MovimWebsocket.initiate(() => CommunitiesServers_ajaxHttpGet()); |
|||
|
|||
MovimWebsocket.attach(function () { |
|||
Notif.current('explore'); |
|||
}); |
Write
Preview
Loading…
Cancel
Save
Reference in new issue