summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2013-05-16 00:23:05 +0200
committerThomas Tanghus <thomas@tanghus.net>2013-05-16 13:41:04 +0200
commitc8bbf90feb5a874b9988198747b79c4f43708740 (patch)
tree3ba6aeb24868c25a59ea39d8c4191d0296c11d39 /core/templates
parent966c2231e33682a04961e76ef75129f5412a0b7c (diff)
downloadnextcloud-server-c8bbf90feb5a874b9988198747b79c4f43708740.tar.gz
nextcloud-server-c8bbf90feb5a874b9988198747b79c4f43708740.zip
Port OC.dialogs to use octemplate except for prompt() and form().
Also load octemplate per default.
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/filepicker.html11
-rw-r--r--core/templates/message.html3
2 files changed, 14 insertions, 0 deletions
diff --git a/core/templates/filepicker.html b/core/templates/filepicker.html
new file mode 100644
index 00000000000..f29de390ef8
--- /dev/null
+++ b/core/templates/filepicker.html
@@ -0,0 +1,11 @@
+<div id="{dialog_name}" title="{title}">
+ <button id="dirup">↑</button>
+ <select id="dirtree"></select>
+ <ul id="filelist">
+ <li data-entryname="{filename}" data-type="{type}" data-dcid="{dcid}">
+ <img src="{imgsrc}" />
+ <span class="filename">{filename}</span>
+ <span class="date">{date}</span>
+ </li>
+ </ul>
+</div>
diff --git a/core/templates/message.html b/core/templates/message.html
new file mode 100644
index 00000000000..59048100f32
--- /dev/null
+++ b/core/templates/message.html
@@ -0,0 +1,3 @@
+<div id="{dialog_name}" title="{title}">
+ <p><span class="ui-icon ui-icon-{type}"></span>{message}</p>
+</div>