New functions: new message and reply
[progetti-gl-como:friendica-messenger.git] / www / index.html
1 <!DOCTYPE html>
2 <!--
3     Licensed to the Apache Software Foundation (ASF) under one
4     or more contributor license agreements.  See the NOTICE file
5     distributed with this work for additional information
6     regarding copyright ownership.  The ASF licenses this file
7     to you under the Apache License, Version 2.0 (the
8     "License"); you may not use this file except in compliance
9     with the License.  You may obtain a copy of the License at
10
11     http://www.apache.org/licenses/LICENSE-2.0
12
13     Unless required by applicable law or agreed to in writing,
14     software distributed under the License is distributed on an
15     "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16      KIND, either express or implied.  See the License for the
17     specific language governing permissions and limitations
18     under the License.
19 -->
20 <html>
21     <head>
22                 <meta charset="utf-8" />
23                 <meta name="format-detection" content="telephone=no" />
24                 <meta name="msapplication-tap-highlight" content="no" />
25                 <!-- WARNING: for iOS 7, remove the width=device-width and height=device-height attributes. See https://issues.apache.org/jira/browse/CB-4323 -->
26                 <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" />
27
28                 <!-- building blocks -->
29                 <link rel="stylesheet" type="text/css" href="bower_components/Building-Blocks/icons/styles/action_icons.css">
30                 <link rel="stylesheet" type="text/css" href="bower_components/Building-Blocks/style/headers.css">
31                 <link rel="stylesheet" type="text/css" href="bower_components/Building-Blocks/style/toolbars.css">
32                 <link rel="stylesheet" type="text/css" href="bower_components/Building-Blocks/style/drawer.css">
33                 <link rel="stylesheet" type="text/css" href="bower_components/Building-Blocks/style/lists.css">
34                 <link rel="stylesheet" type="text/css" href="bower_components/Building-Blocks/style/input_areas.css">
35                 <link rel="stylesheet" type="text/css" href="bower_components/Building-Blocks/style/progress_activity.css">
36                 <link rel="stylesheet" type="text/css" href="bower_components/Building-Blocks/style/tabs.css">
37                 
38                 <link rel="stylesheet" type="text/css" href="bower_components/Building-Blocks/transitions.css">
39                 <link rel="stylesheet" type="text/css" href="bower_components/Building-Blocks/util.css">
40
41                 <link rel="stylesheet" type="text/css" href="css/index.css" />
42                 <title>Friendica Messenger</title>
43     </head>
44     <body>
45                 <section id="inboxPage" data-position="current">
46                         <section data-type="sidebar">
47                                 <header>
48                                         <menu type="toolbar">
49                                         <a href="#">Done</a>
50                                         </menu>
51                                         <h1></h1>
52                                 </header>
53                                 <nav>
54                                         <ul>
55                                         <li><a href="#">Inbox</a></li>
56                                         </ul>
57                                         <ul>
58                                         <li><a href="#settings">Settings</a></li>
59                                         </ul>
60                                 </nav>
61                         </section>    
62                                 
63                 
64                         <section id="messageListPage" role="region">
65                                 <header class="fixed">
66                                         <a href="#"><span class="icon icon-menu">hide sidebar</span></a>
67                                         <a href="#messageListPage"><span class="icon icon-menu">show sidebar</span></a>
68                                         <menu type="toolbar">
69                                                 <a href="#compose"><span class="icon icon-add">add</span></a>
70                                         </menu>
71                                         <h1>~F Messenger <em>inbox</em></h1>
72                                         <progress class="pack-activity" value="0" max="100"></progress>
73                                 </header>
74                                 <article class="scrollable header">
75                                         <section data-type="list">
76                                                 <ul id="messageList">
77                                                         
78                                                 </ul>
79                                         </section>
80                                 </article>
81                         </section>
82                 </section>
83                 
84                 <section id="messagePage" data-position="right" role="region">
85                         <header class="fixed">
86                                 <a href="#"><span class="icon icon-back">back</span></a>
87                                 <h1>Messages <em id='contact_screen_name'>.</em></h1>
88                                 <progress class="pack-activity" value="0" max="100"></progress>
89                         </header>
90                         <article class="scrollable header footer">
91                                 <section data-type="list" class="fullmessage">
92                                         <ul id="messages">
93                                                 
94                                         </ul>
95                                 </section>
96                         </article>
97                         <ul role="tablist" class="bb-tablist">
98                                 <li class="inputbox">
99                                         <input class="message_text" type="text"/>
100                                 </li>
101                                 <li>
102                                         <a id="reply_send" href=""><span class="icon action-icon email-send"></span></a>
103                                 </li>
104                                 
105                         </li>
106                 </section>
107
108                 <section id="newMessagePage" data-position="right" role="region">
109                         <header>
110                                 <a href="#"><span class="icon icon-back">back</span></a>
111                                 <menu type="toolbar">
112                                         <a id="message_send" href=""><span class="icon action-icon email-send">send</span></a>
113                                 </menu>                         
114                                 <h1>New message</h1>
115                                 <progress class="pack-activity light" value="0" max="100"></progress>
116                         </header>
117                         <article class="content">
118                                 <header><h2>Send new message</h2></header>
119                                 <form>
120                                         <p><img class="pack contact_photo" src='img/unknow.png'><input class="message_to" type="text" placeholder="User" list="contacts" /></p>
121                                         <p><input class="message_reply" type="hidden" /></p>
122                                         <p><textarea class="message_body"></textarea></p>
123                                         <datalist id="contacts"></datalist>
124                                 </form>
125                                 
126                         </article>
127                 </section>
128                 
129                 <section id="settingsPage" data-position="right" role="region" class="skin-organic">
130                         <header>
131                                 <a href="#"><span class="icon icon-back">back</span></a>
132                                 <h1>Settings</h1>
133                                 <progress class="pack-activity light" value="0" max="100"></progress>
134                         </header>
135                         <article class="content">
136                                 <header><h2>Connection settings</h2></header>
137                                 <form>
138                                         <p><input id="host" type="text" placeholder="Host" required="" value="" class="autoupdate" /></p>
139                                         <p><input id="user" type="text" placeholder="Username" required="" value="" class="autoupdate" /></p>
140                                         <p><input id="pass" type="password" placeholder="Password" required="" value="" class="autoupdate" /></p>
141                                 </form>
142                         </article>
143                 </section>              
144                 
145                 <script type="text/javascript" src="bower_components/zepto/zepto.js"></script>
146         <script type="text/javascript" src="bower_components/routie/dist/routie.min.js"></script>
147         <!-- <script type="text/javascript" src="cordova.js"></script> -->
148         <script type="text/javascript" src="js/index.js"></script>
149     </body>
150 </html>