framadate/tpl/index.tpl
Thomas Citharel 0e90422b3d
Require php 7.1 and upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-11-11 12:56:01 +01:00

122 lines
5.3 KiB
Smarty

{extends file='page.tpl'}
{block name=main}
<div class="row">
<div class="col-xs-12 col-md-6 text-center">
<p class="home-choice">
<a href="{$SERVER_URL}create_poll.php?type=date" class="opacity" role="button">
<img class="img-responsive center-block" src="{'images/date.png'|resource}" alt=""/>
<br/>
<span class="btn btn-primary btn-lg">
<i class="fa fa-calendar" aria-hidden="true"></i>
{t('Homepage', 'Schedule an event')}
</span>
</a>
</p>
</div>
<div class="col-xs-12 col-md-6 text-center">
<p class="home-choice">
<a href="{$SERVER_URL}create_poll.php?type=autre" class="opacity" role="button">
<img alt="" class="img-responsive center-block" src="{'images/classic.png'|resource}"/>
<br/>
<span class="btn btn-info btn-lg">
<i class="fa fa-th-list" aria-hidden="true"></i>
{t('Homepage', 'Make a standard poll')}
</span>
</a>
</p>
</div>
<div class="col-xs-12 col-md-6 col-md-offset-3 text-center">
<p class="home-choice">
<a href="{$SERVER_URL}find_polls.php" class="opacity" role="button">
<span class="btn btn-warning btn-lg">
<i class="fa fa-search" aria-hidden="true"></i>
{t('Homepage', 'Where are my polls?')}
</span>
</a>
</p>
</div>
</div>
<hr role="presentation"/>
<div class="row">
{if $show_what_is_that}
<div class="col-md-{$col_size}">
<h3>{t('1st section', 'What is Framadate?')}</h3>
<p class="text-center" aria-hidden="true">
<i class="fa fa-4x fa-question-circle"></i>
</p>
<p>{t('1st section', 'Framadate is an online service for planning an appointment or making a decision quickly and easily. No registration is required.')}</p>
<p>{t('1st section', 'Here is how it works:')}</p>
<ol>
<li>{t('1st section', 'Create a poll')}</li>
<li>{t('1st section', 'Define dates or subjects to choose from')}</li>
<li>{t('1st section', 'Send the poll link to your friends or colleagues')}</li>
<li>{t('1st section', 'Discuss and make a decision')}</li>
</ol>
{if $demo_poll_url}
<p>
{t('1st section', 'Do you want to')}
<a href="{$demo_poll_url|html}">{t('1st section', 'view an example?')}</a>
</p>
{/if}
</div>
{/if}
{if $show_the_software}
<div class="col-md-{$col_size}">
<h3>{t('2nd section', 'The software')}</h3>
<p class="text-center" aria-hidden="true">
<i class="fa fa-4x fa-cloud"></i>
</p>
<p>{t('2nd section', 'Framadate was initially based on')}
<a href="https://sourcesup.cru.fr/projects/studs/">Studs</a>
{t('2nd section', 'software developed by the University of Strasbourg. These days, it is developed by the Framasoft association.')}
</p>
<p>{t('2nd section', 'This software needs javascript and cookies enabled. It is compatible with the following web browsers:')}</p>
<ul>
<li>Microsoft Internet Explorer 9+</li>
<li>Google Chrome 19+</li>
<li>Firefox 12+</li>
<li>Safari 5+</li>
<li>Opera 11+</li>
</ul>
<p>
{t('2nd section', 'Framadate is licensed under the')}
<a href="http://www.cecill.info">{t('2nd section', 'CeCILL-B license')}</a>.
</p>
</div>
{/if}
{if $show_cultivate_your_garden}
<div class="col-md-{$col_size}">
<h3>{t('3rd section', 'Grow your own')}</h3>
<p class="text-center" aria-hidden="true">
<i class="fa fa-4x fa-leaf"></i>
</p>
<p>
{t('3rd section', 'To participate in the software development, suggest improvements or simply download it, please visit')}
<a href="https://framagit.org/framasoft/framadate">{t('3rd section', 'the development site')}</a>.
</p>
<br/>
<p>{t('3rd section', 'If you want to install the software for your own use and thus increase your independence, we can help you at:')}</p>
<p class="text-center">
<a href="https://framacloud.org/fr/cultiver-son-jardin/framadate.html"
class="btn btn-success">
<i class="fa fa-leaf" aria-hidden="true"></i>
framacloud.org
</a>
</p>
</div>
{/if}
</div>
{/block}