-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from sulu/feature/authored-date
added authored date and settings tab
- Loading branch information
Showing
16 changed files
with
544 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
Resources/public/dist/components/articles/edit/settings/form.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<form id="settings-form" class="grid"> | ||
<div class="grid-row"> | ||
<div class="grid-col-6 form-group"> | ||
<label for="authored"><%= translations.authored %></label> | ||
|
||
<div id="authored" | ||
data-mapper-property="authored" | ||
data-aura-component="input@husky" | ||
data-aura-skin="date" | ||
data-aura-instance-name="authored" | ||
data-aura-input-id="authored" | ||
data-type="husky-input" | ||
data-form="true" | ||
class="trigger-save-button"/> | ||
</div> | ||
</div> | ||
<div class="grid-row"> | ||
<div class="grid-col-12 form-group"> | ||
<label for="authors"><%= translations.authors %></label> | ||
|
||
<div id="authors" | ||
data-mapper-property="authors" | ||
data-form="true" | ||
data-type="contact-selection" | ||
data-type-instance-name="authors" | ||
data-aura-component="contact-selection@sulucontact" | ||
data-aura-instance-name="authors" | ||
data-aura-contact="true" | ||
data-aura-account="false" | ||
data-aura-url="/admin/api/customers" | ||
data-aura-contact-url="/admin/api/contacts?flat=true&sortBy=lastName"/> | ||
</div> | ||
</div> | ||
|
||
<div class="grid-row section m-top-40" id="changelog-container" style="display: none;"> | ||
<h2 class="divider m-bottom-20" title="Shadow Section"> | ||
<%= translations.changelog %> | ||
</h2> | ||
|
||
<div class="grid"> | ||
<div class="grid-row"> | ||
<div class="grid-col-2"><%= translations.changed %></div> | ||
<div class="grid-col-10" id="changed"> | ||
<span class="name">...</span> (<span class="date">...</span>) | ||
</div> | ||
</div> | ||
|
||
<div class="grid-row"> | ||
<div class="grid-col-2"><%= translations.created %></div> | ||
<div class="grid-col-10" id="created"> | ||
<span class="name">...</span> (<span class="date">...</span>) | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</form> |
1 change: 1 addition & 0 deletions
1
Resources/public/dist/components/articles/edit/settings/main.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
56 changes: 56 additions & 0 deletions
56
Resources/public/js/components/articles/edit/settings/form.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
<form id="settings-form" class="grid"> | ||
<div class="grid-row"> | ||
<div class="grid-col-6 form-group"> | ||
<label for="authored"><%= translations.authored %></label> | ||
|
||
<div id="authored" | ||
data-mapper-property="authored" | ||
data-aura-component="input@husky" | ||
data-aura-skin="date" | ||
data-aura-instance-name="authored" | ||
data-aura-input-id="authored" | ||
data-type="husky-input" | ||
data-form="true" | ||
class="trigger-save-button"/> | ||
</div> | ||
</div> | ||
<div class="grid-row"> | ||
<div class="grid-col-12 form-group"> | ||
<label for="authors"><%= translations.authors %></label> | ||
|
||
<div id="authors" | ||
data-mapper-property="authors" | ||
data-form="true" | ||
data-type="contact-selection" | ||
data-type-instance-name="authors" | ||
data-aura-component="contact-selection@sulucontact" | ||
data-aura-instance-name="authors" | ||
data-aura-contact="true" | ||
data-aura-account="false" | ||
data-aura-url="/admin/api/customers" | ||
data-aura-contact-url="/admin/api/contacts?flat=true&sortBy=lastName"/> | ||
</div> | ||
</div> | ||
|
||
<div class="grid-row section m-top-40" id="changelog-container" style="display: none;"> | ||
<h2 class="divider m-bottom-20" title="Shadow Section"> | ||
<%= translations.changelog %> | ||
</h2> | ||
|
||
<div class="grid"> | ||
<div class="grid-row"> | ||
<div class="grid-col-2"><%= translations.changed %></div> | ||
<div class="grid-col-10" id="changed"> | ||
<span class="name">...</span> (<span class="date">...</span>) | ||
</div> | ||
</div> | ||
|
||
<div class="grid-row"> | ||
<div class="grid-col-2"><%= translations.created %></div> | ||
<div class="grid-col-10" id="created"> | ||
<span class="name">...</span> (<span class="date">...</span>) | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</form> |
Oops, something went wrong.