diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-19 08:41:01 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2018-10-19 08:41:01 +0200 |
commit | c43e0d6e283773b5c531d55fbd652879849b9f4d (patch) | |
tree | 1a9da376cb5218d9d7e2026c00e42b83d3f6d719 /apps/files_external/js/templates | |
parent | a1ea504edf529a364be9b66fda5d100d62dcc0b9 (diff) | |
download | nextcloud-server-c43e0d6e283773b5c531d55fbd652879849b9f4d.tar.gz nextcloud-server-c43e0d6e283773b5c531d55fbd652879849b9f4d.zip |
Move files_external to compiled handlebars
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/files_external/js/templates')
-rw-r--r-- | apps/files_external/js/templates/credentialsDialog.handlebars | 8 | ||||
-rw-r--r-- | apps/files_external/js/templates/mountOptionsDropDown.handlebars | 48 |
2 files changed, 56 insertions, 0 deletions
diff --git a/apps/files_external/js/templates/credentialsDialog.handlebars b/apps/files_external/js/templates/credentialsDialog.handlebars new file mode 100644 index 00000000000..c04ceef096b --- /dev/null +++ b/apps/files_external/js/templates/credentialsDialog.handlebars @@ -0,0 +1,8 @@ +<div id="files_external_div_form"><div> + <div>{{credentials_text}}</div> + <form> + <input type="text" name="username" placeholder="{{placeholder_username}}"/> + <input type="password" name="password" placeholder="{{placeholder_password}}"/> + </form> + </div> +</div> diff --git a/apps/files_external/js/templates/mountOptionsDropDown.handlebars b/apps/files_external/js/templates/mountOptionsDropDown.handlebars new file mode 100644 index 00000000000..09b0d708958 --- /dev/null +++ b/apps/files_external/js/templates/mountOptionsDropDown.handlebars @@ -0,0 +1,48 @@ +<div class="popovermenu open"> + <ul> + <li class="optionRow"> + <span class="menuitem"> + <input id="mountOptionsEncrypt" class="checkbox" name="encrypt" type="checkbox" value="true" checked="checked"/> + <label for="mountOptionsEncrypt">{{mountOptionsEncryptLabel}}</label> + </span> + </li> + <li class="optionRow"> + <span class="menuitem"> + <input id="mountOptionsPreviews" class="checkbox" name="previews" type="checkbox" value="true" checked="checked"/> + <label for="mountOptionsPreviews">{{mountOptionsPreviewsLabel}}</label> + </span> + </li> + <li class="optionRow"> + <span class="menuitem"> + <input id="mountOptionsSharing" class="checkbox" name="enable_sharing" type="checkbox" value="true"/> + <label for="mountOptionsSharing">{{mountOptionsSharingLabel}}</label> + </span> + </li> + <li class="optionRow"> + <span class="menuitem icon-search"> + <label for="mountOptionsFilesystemCheck">{{mountOptionsFilesystemCheckLabel}}</label> + <select id="mountOptionsFilesystemCheck" name="filesystem_check_changes" data-type="int"> + <option value="0">{{mountOptionsFilesystemCheckOnce}}</option> + <option value="1" selected="selected">{{mountOptionsFilesystemCheckDA}}</option> + </select> + </span> + </li> + <li class="optionRow"> + <span class="menuitem"> + <input id="mountOptionsEncoding" class="checkbox" name="encoding_compatibility" type="checkbox" value="true"/> + <label for="mountOptionsEncoding">{{mountOptionsEncodingLabel}}</label> + </span> + </li> + <li class="optionRow"> + <span class="menuitem"> + <input id="mountOptionsReadOnly" class="checkbox" name="readonly" type="checkbox" value="true"/> + <label for="mountOptionsReadOnly">{{mountOptionsReadOnlyLabel}}</label> + </span> + </li> + <li class="optionRow persistent"> + <a href="#" class="menuitem remove icon-delete"> + <span>{{deleteLabel}}</span> + </a> + </li> + </ul> +</div> |