summaryrefslogtreecommitdiff
path: root/project/templates
diff options
context:
space:
mode:
Diffstat (limited to 'project/templates')
-rw-r--r--project/templates/bye_popup.tpl6
-rw-r--r--project/templates/chat_page.tpl20
-rw-r--r--project/templates/choose_page.tpl10
-rw-r--r--project/templates/keyboard_page.tpl16
-rw-r--r--project/templates/left_bubble.tpl3
-rw-r--r--project/templates/message_popup.tpl6
-rw-r--r--project/templates/right_bubble.tpl3
-rw-r--r--project/templates/server_row.tpl7
8 files changed, 71 insertions, 0 deletions
diff --git a/project/templates/bye_popup.tpl b/project/templates/bye_popup.tpl
new file mode 100644
index 0000000..69bc1bf
--- /dev/null
+++ b/project/templates/bye_popup.tpl
@@ -0,0 +1,6 @@
+<div id="byePopup" data-role="popup" class="center_basic_2btn">
+ <div class="ui-popup-text" id="byeMessage"></div>
+ <div class="ui-popup-button-bg">
+ <a data-role="button" data-inline="true" id="byeOK">Ok</a>
+ </div>
+</div>
diff --git a/project/templates/chat_page.tpl b/project/templates/chat_page.tpl
new file mode 100644
index 0000000..57ae3aa
--- /dev/null
+++ b/project/templates/chat_page.tpl
@@ -0,0 +1,20 @@
+<div id="chat" data-role="page" data-footer-exist="true">
+ <div id="chat-header" data-role="header" data-position="fixed">
+ <h1><span id="chat-header-type"></span><span id="chat-header-name"></span></h1>
+ </div>
+
+ <div id="chat-content" data-role="content">
+ <ul data-role="listview"></ul>
+ </div>
+
+ <div id="chat-footer" data-role="footer" data-position="fixed">
+ <div id="ui-textArea">
+ <div id="ui-textArea-text">
+ <textarea id="text" placeholder="Your message" data-role="none"></textarea>
+ </div>
+ <div id="ui-textArea-button">
+ <a data-role="button" id="ui-mySend">Send</a>
+ </div>
+ </div>
+ </div>
+</div> \ No newline at end of file
diff --git a/project/templates/choose_page.tpl b/project/templates/choose_page.tpl
new file mode 100644
index 0000000..102d358
--- /dev/null
+++ b/project/templates/choose_page.tpl
@@ -0,0 +1,10 @@
+<div data-role="page" id="choose">
+ <div data-role="header" id="choose-header" data-position="fixed">
+ <h1>Choose your server</h1>
+ <div data-role="progress" data-style="circle" id="discovering"></div>
+ </div>
+
+ <div data-role="content" id="choose-content">
+ <ul data-role="listview"></ul>
+ </div>
+</div> \ No newline at end of file
diff --git a/project/templates/keyboard_page.tpl b/project/templates/keyboard_page.tpl
new file mode 100644
index 0000000..1722089
--- /dev/null
+++ b/project/templates/keyboard_page.tpl
@@ -0,0 +1,16 @@
+<div data-role="page" id="keyboard">
+ <div data-role="header" id="keyboard-header" data-position="fixed">
+ <h1></h1>
+ </div>
+
+ <div data-role="content" id="keyboard-content">
+ <input type="text" id="keyboard-text" maxlength="20"/>
+ </div>
+ <div data-role="footer" data-position="fixed">
+ <div data-role="tabbar" data-style="tabbar">
+ <ul>
+ <li id="keyboard-ok-button"><a href="#">OK</a></li>
+ </ul>
+ </div>
+ </div>
+</div> \ No newline at end of file
diff --git a/project/templates/left_bubble.tpl b/project/templates/left_bubble.tpl
new file mode 100644
index 0000000..2d20b1b
--- /dev/null
+++ b/project/templates/left_bubble.tpl
@@ -0,0 +1,3 @@
+<li class="ui-li-bubble-left">
+ %text%
+</li> \ No newline at end of file
diff --git a/project/templates/message_popup.tpl b/project/templates/message_popup.tpl
new file mode 100644
index 0000000..d69aafd
--- /dev/null
+++ b/project/templates/message_popup.tpl
@@ -0,0 +1,6 @@
+<div id="messagePopup" data-role="popup" class="center_basic_2btn">
+ <div class="ui-popup-text"></div>
+ <div class="ui-popup-button-bg">
+ <a data-role="button" data-inline="true" id="messageOK">OK</a>
+ </div>
+</div>
diff --git a/project/templates/right_bubble.tpl b/project/templates/right_bubble.tpl
new file mode 100644
index 0000000..507e30f
--- /dev/null
+++ b/project/templates/right_bubble.tpl
@@ -0,0 +1,3 @@
+<li class="ui-li-bubble-right">
+ %text%
+</li> \ No newline at end of file
diff --git a/project/templates/server_row.tpl b/project/templates/server_row.tpl
new file mode 100644
index 0000000..7780cc4
--- /dev/null
+++ b/project/templates/server_row.tpl
@@ -0,0 +1,7 @@
+<li class="ui-li-has-multiline" address="%deviceAddress%" name="%deviceName%">
+ <a href="#">
+ <div class="server-row-name">%deviceName%</div>
+ <span class="ui-li-text-sub">%deviceAddress%</span>
+ <span class="ui-li-text-sub2"></span>
+ </a>
+</li> \ No newline at end of file