user settings, users management, project settings, bug fixes
This commit is contained in:
@@ -179,6 +179,9 @@
|
||||
<a href="/project/{{Name}}/documents">Документы</a>
|
||||
<a href="/project/{{Name}}/payments">Оплата</a>
|
||||
<a href="/project/{{Name}}/tests">Тесты</a>
|
||||
{{#if IsAdmin}}
|
||||
<a href="/project/{{Name}}/settings">Настройки</a>
|
||||
{{/if}}
|
||||
</nav>
|
||||
|
||||
<section class="content-bg">
|
||||
@@ -205,6 +208,8 @@
|
||||
<h2>последние 7 записей</h2>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{#if Releases}}
|
||||
<table>
|
||||
<tbody>
|
||||
{{#each Releases}}
|
||||
@@ -222,19 +227,31 @@
|
||||
{{/each}}
|
||||
</tbody>
|
||||
</table>
|
||||
{{else}}
|
||||
<div class="empty-span-area">
|
||||
<span class="empty-span">История обновлений пуста</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
<div class="small">
|
||||
|
||||
<div class="project-info">
|
||||
<a href="http://{{Project.domain}}" target="_blank">
|
||||
<img id="page-preview" src="{{API_SERVER}}/{{Project.preview}}">
|
||||
{{#if Project.preview}}
|
||||
<a href="http://{{Project.domain}}" target="_blank">
|
||||
<img id="page-preview" src="{{API_SERVER}}/{{Project.preview}}">
|
||||
</a>
|
||||
{{else}}
|
||||
<video id="page-preview" src="../img/krbl-square.mp4" autoplay loop muted playsinline preload="auto"></video>
|
||||
{{/if}}
|
||||
<div class="info-sections">
|
||||
{{#if Releases.[0].tag_name}}
|
||||
<div id="info-version" class="info-section large">
|
||||
<h1>Версия</h1>
|
||||
<h2>{{Releases.[0].tag_name}}</h2>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if Project.domain}}
|
||||
<div id="info-domain" class="info-section large">
|
||||
<h1>Домен</h1>
|
||||
<a id="projectDomainLink" href="http://{{Project.domain}}" target="_blank">
|
||||
@@ -246,6 +263,8 @@
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if Releases.[0].published_at}}
|
||||
<div class="info-section small">
|
||||
<h1>Статус</h1>
|
||||
<h2 class="work-status" data-status="stable">Работает</h2>
|
||||
@@ -254,6 +273,8 @@
|
||||
<h1>Обновлено</h1>
|
||||
<h2>{{Releases.[0].published_at}} / {{Releases.[0].author.full_name}} <img src="{{Releases.[0].author.avatar_url}}"></h2>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if Releases.[0].target_commitish}}
|
||||
<div class="info-section large">
|
||||
<h1>Источник</h1>
|
||||
<h2>
|
||||
@@ -263,6 +284,7 @@
|
||||
{{Releases.[0].target_commitish}}
|
||||
</h2>
|
||||
</div>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -287,11 +309,15 @@
|
||||
</div>
|
||||
|
||||
<div class="project-payments-content">
|
||||
<table id="paymentsTable">
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
<circle-progress text-format='percent' value="{{Project.procent}}" max="100"></circle-progress>
|
||||
{{#if Payments}}
|
||||
<table id="paymentsTable">
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
<circle-progress text-format='percent' value="{{Project.procent}}" max="100"></circle-progress>
|
||||
{{else}}
|
||||
<span class="empty-span">Платежи по проекту отсутствуют</span>
|
||||
{{/if}}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
@@ -316,11 +342,21 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{#if Documents}}
|
||||
|
||||
<table id="documentsTable">
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{{else}}
|
||||
|
||||
<div class="empty-span-area">
|
||||
<span class="empty-span">Нет доступных документов</span>
|
||||
</div>
|
||||
|
||||
{{/if}}
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user