1
0
Fork 0
mirror of synced 2024-07-01 12:40:34 +12:00
appwrite/app/views/console/index.phtml

86 lines
4.5 KiB
PHTML
Raw Normal View History

2019-08-24 19:27:11 +12:00
<?php
$home = $this->getParam('home', '');
?>
2020-02-19 11:12:40 +13:00
<div class="cover">
2019-05-09 18:54:39 +12:00
<div class="zone xl">
2020-02-23 21:57:51 +13:00
<h1 class="margin-bottom margin-top">Your Projects</h1>
2019-05-09 18:54:39 +12:00
2020-02-25 01:56:57 +13:00
<p class="margin-bottom margin-top-negative-small">Take advantage of the Appwrite APIs and tools.</p>
2019-05-09 18:54:39 +12:00
<ul class="margin-bottom-xl clear">
2020-03-09 08:27:21 +13:00
<li class="pull-start margin-end margin-bottom-small"><a href="<?php echo $home; ?>/" target="_blank"><i class="icon-lamp"></i> &nbsp;Learn more</a></li>
2020-02-25 01:56:57 +13:00
<li class="pull-start margin-end margin-bottom-small"><a href="<?php echo $home; ?>/docs" target="_blank"><i class="icon-book-open"></i> &nbsp;Docs</a></li>
<li class="pull-start margin-end margin-bottom-small"><a href="<?php echo $home; ?>/support" target="_blank"><i class="icon-lifebuoy"></i> &nbsp;Support</a></li>
2019-05-09 18:54:39 +12:00
</ul>
</div>
</div>
2020-02-21 09:44:35 +13:00
<section class="zone xl margin-bottom margin-top-negative-xl">
<div class="margin-bottom-xl"
2020-01-31 06:12:29 +13:00
data-service="projects.list"
2019-08-08 06:10:53 +12:00
data-scope="console"
2020-01-31 09:58:49 +13:00
data-event="load,projects.create"
2019-08-08 06:10:53 +12:00
data-name="console-projects"
data-success="trigger"
2020-01-31 09:58:49 +13:00
data-success-param-trigger-events="projects.list">
2019-05-09 18:54:39 +12:00
2019-08-10 17:41:27 +12:00
<div data-ls-if="0 == {{console-projects.length}}" class="box margin-bottom" style="display: none">
2020-02-25 02:47:35 +13:00
<h3 class="margin-bottom-small text-bold">Get Started</h3>
2019-05-13 01:03:30 +12:00
2019-08-10 17:41:27 +12:00
<p class="margin-bottom-no">No Projects Found, Create your first project now.</p>
2019-05-13 01:03:30 +12:00
</div>
2019-08-10 17:41:27 +12:00
<ul data-ls-loop="console-projects" data-ls-as="project" data-ls-append="" class="tiles cell-3" style="visibility: hidden">
2019-05-09 18:54:39 +12:00
<li class="margin-bottom">
2020-02-17 20:16:11 +13:00
<a data-ls-attrs="href=/console/home?project={{project.$id}}" class="box">
2020-02-05 10:00:34 +13:00
<div data-ls-bind="{{project.name}}" class="text-one-liner margin-bottom-large text-bold">&nbsp;</div>
2019-05-12 18:37:44 +12:00
2019-05-09 18:54:39 +12:00
<i class="icon-right-open"></i>
</a>
</li>
</ul>
2019-08-14 09:21:44 +12:00
<button data-ls-ui-trigger="create-project">Create Project</button>
2019-05-09 18:54:39 +12:00
</div>
2020-02-21 09:44:35 +13:00
<div class="row responsive">
<div class="col span-6 margin-bottom">
<div class="box line">
<h3 class="margin-bottom-small text-size-normal">Join The Community</h3>
<p class="text-fade">Join Appwrite growing developers community channels.</p>
<a href="<?php echo APP_SOCIAL_TWITTER; ?>" target="_blank" rel="noopener" title="<?php echo APP_NAME;?> on Twitter"
data-analytics-event="click"
data-analytics-category="console/home"
data-analytics-label="Twitter Link"><i class="icon-twitter"></i></a>
<a href="<?php echo APP_SOCIAL_FACEBOOK; ?>" target="_blank" rel="noopener" title="<?php echo APP_NAME;?> on Facebook"
data-analytics-event="click"
data-analytics-category="console/home"
data-analytics-label="Facebook Link"><i class="icon-facebook"></i></a>
<a href="<?php echo APP_SOCIAL_LINKEDIN; ?>" target="_blank" rel="noopener" title="<?php echo APP_NAME;?> on Linkedin"
data-analytics-event="click"
data-analytics-category="console/home"
data-analytics-label="Linkedin Link"><i class="icon-linkedin"></i></a>
<a href="<?php echo APP_SOCIAL_DISCORD; ?>" target="_blank" rel="noopener" title="<?php echo APP_NAME;?> Discord Server"
data-analytics-event="click"
data-analytics-category="console/home"
data-analytics-label="Discord Link"><i class="icon-discord"></i></a>
<a href="<?php echo APP_SOCIAL_GITHUB; ?>" target="_blank" rel="noopener" title="<?php echo APP_NAME;?> on Github"
data-analytics-event="click"
data-analytics-category="console/home"
data-analytics-label="GitHub Link"><i class="icon-github-circled"></i></a>
</div>
</div>
<div class="col span-6 margin-bottom">
<div class="box line">
<h3 class="margin-bottom-small text-size-normal">Read The Docs</h3>
<p class="text-fade">Take full advantage of Appwrite APIs and tools for your new project.</p>
2020-02-23 21:57:51 +13:00
<a data-ls-attrs="href={{env.HOME}}/docs" target="_blank" rel="noopener"><i class="icon-angle-circled-right margin-start-negative-tiny margin-end-tiny"></i> Full Documentation</a>
2020-02-21 09:44:35 +13:00
</div>
</div>
</div>
2019-05-09 18:54:39 +12:00
</section>