Browse Source

- Add a .gitignore file

- Add a README
- Add the _group_ticker view
pull/16/head
Jaussoin Timothée 10 years ago
parent
commit
be4b898ade
  1. 5
      .gitignore
  2. 37
      README.md
  3. 39
      app/widgets/Group/_group_ticker.tpl

5
.gitignore

@ -0,0 +1,5 @@
/vendor
/log
/users
/cache
*~

37
README.md

@ -0,0 +1,37 @@
Movim - Kickass Social Network
==================================================
Movim is a decentralized social network, written in PHP and HTML5 and based on the XMPP standard protocol.
![movim logo](https://movim.eu/sites/default/files/mainc.png)
Installation
------------
Please refer to the installation instructions that are available on the official Wiki : https://wiki.movim.eu .
Translations
------------
Help us translate Movim on https://www.transifex.com/projects/p/movim/.
Links
-----
* Movim official website: https://movim.eu/
* Twitter : https://twitter.com/MovimNetwork
* XMPP Chatroom : movim@conference.movim.eu
### Pods
You can also use Movim on our official Pods :
* https://pod.movim.eu/ server hosted in France
* https://nl.movim.eu/ server hosted in The Netherlands
Support Us
----------
You can support us on :
* Flattr : https://flattr.com/thing/568092/Movim
* Bountysource : https://www.bountysource.com/teams/movim
License
-------
Jappix is released under the terms of the AGPL license. See COPYING for more details.

39
app/widgets/Group/_group_ticker.tpl

@ -0,0 +1,39 @@
<article>
<header>
<ul class="thick">
<li class="condensed">
{if="(float)$ticker->change < 0"}
<span class="icon color bubble red">
<i class="md md-trending-down"></i>
</span>
{elseif="(float)$ticker->change > 0"}
<span class="icon color bubble green">
<i class="md md-trending-up"></i>
</span>
{else}
<span class="icon color bubble gray">
<i class="md md-trending"></i>
</span>
{/if}
</span>
<h2>
{$ticker->name}
</h2>
<p>{$ticker->symbol} - {$ticker->time|strtotime|prepareDate}</p>
</li>
</ul>
</header>
<section>
<ul class="middle simple">
<li class="condensed">
<span><h3>{$ticker->value}</h3></span>
<p>
{$ticker->change}({$ticker->percent})
</p>
</li>
<li>
<img src="http://chart.finance.yahoo.com/t?s={$ticker->symbol}%3dX&lang=en-US&region=US&width=500&height=280"/>
</li>
</ul>
</section>
</article>
Loading…
Cancel
Save