1
0
Fork 0
mirror of synced 2024-06-26 10:10:57 +12:00

Work in progress

This commit is contained in:
Eldad Fux 2020-04-21 22:52:32 +03:00
parent 2db1671cf0
commit 976a843d20
6 changed files with 18 additions and 5 deletions

View file

@ -2,7 +2,7 @@
$home = $this->getParam('home', '');
$version = $this->getParam('version', '');
?>
<footer class="clear margin-top-xl">
<footer class="clear margin-top-large">
<ul class="copyright pull-start">
<li>
<a

View file

@ -20,7 +20,7 @@
</label>
</div>
<button style="overflow: visible;" class="project-only setup-new tooltip round down" aria-label="Quick Start" data-tooltip="Create a new project"><i class="icon-plus"></i></button>
<button style="overflow: visible;" class="project-only setup-new tooltip round down pull-end" aria-label="Quick Start" data-tooltip="Create a new project"><i class="icon-plus"></i></button>
</div>
<div class="account-box pull-end"

View file

@ -12,12 +12,21 @@ $namespace = $this->getParam('namespace', 'project-document');
<?php if($parent): ?>
<input name="documentId" type="hidden" data-ls-bind="{{router.params.id}}" />
<input name="collectionId" type="hidden" data-ls-bind="{{router.params.collection}}" />
<?php else: ?>
<div class="margin-bottom-small text-size-small" data-ls-if="({{<?php echo $this->escape($namespace); ?>.$id}})">
<span data-ls-bind="Document #{{<?php echo $this->escape($namespace); ?>.$id}}"></span> &nbsp;
<a data-ls-attrs="href=/console/database/document?id={{<?php echo $this->escape($namespace); ?>.$id}}&collection={{<?php echo $this->escape($namespace); ?>.$collection}}&project={{router.params.project}}" class="pull-end" target="_blank">Edit in a new window <i class="icon-link-ext"></i></a>
</div>
<div class="margin-bottom-small text-size-small" data-ls-if="(!{{<?php echo $this->escape($namespace); ?>.$id}})">
Create a new child document
</div>
<hr class="margin-top-small margin-bottom-small" />
<?php endif; ?>
<fieldset name="<?php echo $this->escape($key); ?>" data-cast-to="object">
<?php if(!$parent): ?>
<input name="$id" type="hidden" data-ls-bind="{{<?php echo $this->escape($namespace); ?>.$id}}" />
<input name="$collection" type="hidden" data-ls-bind="{{<?php echo $this->escape($namespace); ?>.$collection}}" />
<input name="$collection" type="hidden" data-ls-bind="<?php echo $this->escape($collection->getId()); ?>" />
<input name="$permissions" type="hidden" data-ls-bind="{{<?php echo $this->escape($namespace); ?>.$permissions}}" data-cast-to="json" />
<?php endif; ?>
<ul>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -220,6 +220,10 @@
color: var(--config-modal-note-color);
border-top: solid 1px var(--config-modal-note-border);
border-bottom: solid 1px var(--config-modal-note-border);
hr {
background: var(--config-modal-note-border)!important;
}
}
@media @phones, @tablets {