2018-10-01 21:46:29 +03:00
|
|
|
<div class="popovermenu menu">
|
|
|
|
<ul>
|
2018-10-31 12:28:18 +03:00
|
|
|
<li class="hidden linkTextMenu">
|
|
|
|
<span class="menuitem icon-link-text">
|
|
|
|
<input id="linkText-{{cid}}" class="linkText" type="text" readonly="readonly" value="{{shareLinkURL}}" />
|
|
|
|
</span>
|
2018-10-01 21:46:29 +03:00
|
|
|
</li>
|
|
|
|
{{#if publicUpload}}
|
|
|
|
<li>
|
2018-10-31 13:43:05 +03:00
|
|
|
<span class="menuitem">
|
2018-10-01 21:46:29 +03:00
|
|
|
<span class="icon-loading-small hidden"></span>
|
|
|
|
<input type="radio" name="publicUpload" value="{{publicUploadRValue}}" id="sharingDialogAllowPublicUpload-r-{{cid}}" class="radio publicUploadRadio" {{{publicUploadRChecked}}} />
|
|
|
|
<label for="sharingDialogAllowPublicUpload-r-{{cid}}">{{publicUploadRLabel}}</label>
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
2018-10-31 13:43:05 +03:00
|
|
|
<span class="menuitem">
|
2018-10-01 21:46:29 +03:00
|
|
|
<span class="icon-loading-small hidden"></span>
|
|
|
|
<input type="radio" name="publicUpload" value="{{publicUploadRWValue}}" id="sharingDialogAllowPublicUpload-rw-{{cid}}" class="radio publicUploadRadio" {{{publicUploadRWChecked}}} />
|
|
|
|
<label for="sharingDialogAllowPublicUpload-rw-{{cid}}">{{publicUploadRWLabel}}</label>
|
2018-11-01 04:36:05 +03:00
|
|
|
</span>
|
|
|
|
</li>
|
2018-10-01 21:46:29 +03:00
|
|
|
<li>
|
2018-10-31 13:43:05 +03:00
|
|
|
<span class="menuitem">
|
2018-10-01 21:46:29 +03:00
|
|
|
<span class="icon-loading-small hidden"></span>
|
|
|
|
<input type="radio" name="publicUpload" value="{{publicUploadWValue}}" id="sharingDialogAllowPublicUpload-w-{{cid}}" class="radio publicUploadRadio" {{{publicUploadWChecked}}} />
|
|
|
|
<label for="sharingDialogAllowPublicUpload-w-{{cid}}">{{publicUploadWLabel}}</label>
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
|
|
|
{{#if publicEditing}}
|
|
|
|
<li id="allowPublicEditingWrapper">
|
2018-10-31 13:43:05 +03:00
|
|
|
<span class="menuitem">
|
2018-10-01 21:46:29 +03:00
|
|
|
<span class="icon-loading-small hidden"></span>
|
|
|
|
<input type="checkbox" name="allowPublicEditing" id="sharingDialogAllowPublicEditing-{{cid}}" class="checkbox publicEditingCheckbox" {{{publicEditingChecked}}} />
|
|
|
|
<label for="sharingDialogAllowPublicEditing-{{cid}}">{{publicEditingLabel}}</label>
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
2018-11-01 04:36:05 +03:00
|
|
|
<li>
|
|
|
|
<span class="menuitem">
|
|
|
|
<span class="icon-loading-small hidden"></span>
|
|
|
|
<input type="checkbox" name="hideDownload" id="sharingDialogHideDownload-{{cid}}" class="checkbox hideDownloadCheckbox"
|
|
|
|
{{#if hideDownload}}checked="checked"{{/if}} />
|
|
|
|
<label for="sharingDialogHideDownload-{{cid}}">{{hideDownloadLabel}}</label>
|
|
|
|
</span>
|
|
|
|
</li>
|
2018-10-01 21:46:29 +03:00
|
|
|
<li>
|
2018-10-31 13:43:05 +03:00
|
|
|
<span class="menuitem">
|
2018-10-01 21:46:29 +03:00
|
|
|
<input type="checkbox" name="showPassword" id="showPassword-{{cid}}" class="checkbox showPasswordCheckbox"
|
|
|
|
{{#if isPasswordSet}}checked="checked"{{/if}} {{#if isPasswordEnforced}}disabled="disabled"{{/if}} value="1" />
|
|
|
|
<label for="showPassword-{{cid}}">{{enablePasswordLabel}}</label>
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
<li class="{{#unless isPasswordSet}}hidden{{/unless}} linkPassMenu">
|
2018-10-31 13:43:05 +03:00
|
|
|
<span class="menuitem icon-share-pass">
|
2018-10-01 21:46:29 +03:00
|
|
|
<input id="linkPassText-{{cid}}" class="linkPassText" type="password" placeholder="{{passwordPlaceholder}}" autocomplete="new-password" />
|
2018-11-16 18:19:13 +03:00
|
|
|
<input type="submit" class="icon-confirm share-pass-submit" value="" />
|
2018-10-01 21:46:29 +03:00
|
|
|
<span class="icon icon-loading-small hidden"></span>
|
|
|
|
</span>
|
|
|
|
</li>
|
2018-10-15 18:09:46 +03:00
|
|
|
{{#if showPasswordByTalkCheckBox}}
|
|
|
|
<li>
|
|
|
|
<span class="shareOption menuitem">
|
|
|
|
<span class="icon-loading-small hidden"></span>
|
|
|
|
<input type="checkbox" name="passwordByTalk" id="passwordByTalk-{{cid}}" class="checkbox passwordByTalkCheckbox"
|
|
|
|
{{#if isPasswordByTalkSet}}checked="checked"{{/if}} />
|
|
|
|
<label for="passwordByTalk-{{cid}}">{{passwordByTalkLabel}}</label>
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
{{/if}}
|
2018-10-01 21:46:29 +03:00
|
|
|
<li>
|
2018-10-31 13:43:05 +03:00
|
|
|
<span class="menuitem">
|
2018-10-01 21:46:29 +03:00
|
|
|
<input id="expireDate-{{cid}}" type="checkbox" name="expirationDate" class="expireDate checkbox"
|
2018-10-29 15:58:14 +03:00
|
|
|
{{#if hasExpireDate}}checked="checked"{{/if}} {{#if isExpirationEnforced}}disabled="disabled"{{/if}} />
|
2018-10-01 21:46:29 +03:00
|
|
|
<label for="expireDate-{{cid}}">{{expireDateLabel}}</label>
|
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
<li class="{{#unless hasExpireDate}}hidden{{/unless}}">
|
|
|
|
<span class="menuitem icon-expiredate expirationDateContainer-{{cid}}">
|
|
|
|
<label for="expirationDatePicker-{{cid}}" class="hidden-visually" value="{{expirationDate}}">{{expirationLabel}}</label>
|
2018-10-31 13:22:47 +03:00
|
|
|
<!-- do not use the datepicker if enforced -->
|
|
|
|
<input id="expirationDatePicker-{{cid}}" class="{{#unless isExpirationEnforced}}datepicker{{/unless}}" type="text"
|
|
|
|
placeholder="{{expirationDatePlaceholder}}" value="{{#if hasExpireDate}}{{expireDate}}{{else}}{{defaultExpireDate}}{{/if}}"
|
|
|
|
data-max-date="{{maxDate}}" {{#if isExpirationEnforced}}readonly{{/if}} />
|
2018-10-01 21:46:29 +03:00
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#" class="share-add">
|
|
|
|
<span class="icon-loading-small hidden"></span>
|
|
|
|
<span class="icon icon-edit"></span>
|
|
|
|
<span>{{addNoteLabel}}</span>
|
2018-10-31 12:49:06 +03:00
|
|
|
<input type="button" class="share-note-delete icon-delete {{#unless hasNote}}hidden{{/unless}}">
|
2018-10-01 21:46:29 +03:00
|
|
|
</a>
|
|
|
|
</li>
|
2018-10-29 15:58:14 +03:00
|
|
|
<li class="share-note-form share-note-link {{#unless hasNote}}hidden{{/unless}}">
|
2018-10-01 21:46:29 +03:00
|
|
|
<span class="menuitem icon-note">
|
|
|
|
<textarea class="share-note">{{shareNote}}</textarea>
|
|
|
|
<input type="submit" class="icon-confirm share-note-submit" value="" id="add-note-{{shareId}}" />
|
2018-10-31 12:49:06 +03:00
|
|
|
</span>
|
2018-10-01 21:46:29 +03:00
|
|
|
</li>
|
|
|
|
{{#each social}}
|
|
|
|
<li>
|
2018-10-31 13:43:05 +03:00
|
|
|
<a href="#" class="menuitem pop-up" data-url="{{url}}" data-window="{{newWindow}}">
|
2018-10-01 21:46:29 +03:00
|
|
|
<span class="icon {{iconClass}}"></span>
|
|
|
|
<span>{{label}}</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
{{/each}}
|
2018-10-29 15:58:14 +03:00
|
|
|
<li>
|
2018-11-01 04:36:05 +03:00
|
|
|
<a href="#" class="unshare"><span class="icon-loading-small hidden"></span><span class="icon icon-delete"></span><span>{{unshareLinkLabel}}</span></a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#" class="new-share">
|
|
|
|
<span class="icon-loading-small hidden"></span>
|
|
|
|
<span class="icon icon-add"></span>
|
|
|
|
<span>{{newShareLabel}}</span>
|
|
|
|
</a>
|
2018-10-29 15:58:14 +03:00
|
|
|
</li>
|
2018-10-01 21:46:29 +03:00
|
|
|
</ul>
|
|
|
|
</div>
|