summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorTom Needham <tom@owncloud.com>2016-03-26 14:26:18 +0000
committerTom Needham <tom@owncloud.com>2016-03-26 14:26:18 +0000
commit813bc771fd8185d76aebb73c51a0d9ac22ad4380 (patch)
treec7c10b4d141424f54fed1e79cd529f81fb225d6d /templates
parent781f83e6b846c4a0bca05da070e2f93e816e1d4c (diff)
WIP import progress indicator
Diffstat (limited to 'templates')
-rw-r--r--templates/contactImport.html5
-rw-r--r--templates/main.php6
2 files changed, 6 insertions, 5 deletions
diff --git a/templates/contactImport.html b/templates/contactImport.html
new file mode 100644
index 00000000..59c8f86c
--- /dev/null
+++ b/templates/contactImport.html
@@ -0,0 +1,5 @@
+<input type="file" id="contact-import" class="hidden-visually"/>
+<label for="contact-import" class="button" id="upload">
+ <span class="text">Import</span>
+ <span class="icon-upload"></span>
+</label>
diff --git a/templates/main.php b/templates/main.php
index cfba3215..fe4e9299 100644
--- a/templates/main.php
+++ b/templates/main.php
@@ -37,11 +37,7 @@ vendor_style('select2/select2');
</div>
<div id="app-settings-content">
<addressBookList></addressBookList>
- <input type="file" id="contact-import" class="hidden-visually" contactimport />
- <label for="contact-import" class="button" id="upload">
- <?php p($l->t('Import'));?>
- <span class="icon-upload"></span>
- </label>
+ <contactImport></contactImport>
</div>
</div>
</div>