fix invalid recipient error on reply. small fix to message list css
[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/switches.css">
36                 <link rel="stylesheet" type="text/css" href="bower_components/Building-Blocks/style/progress_activity.css">
37                 <link rel="stylesheet" type="text/css" href="bower_components/Building-Blocks/style/tabs.css">
38                 <link rel="stylesheet" type="text/css" href="bower_components/Building-Blocks/style/action_menu.css">
39                 
40                 <link rel="stylesheet" type="text/css" href="bower_components/Building-Blocks/transitions.css">
41                 <link rel="stylesheet" type="text/css" href="bower_components/Building-Blocks/util.css">
42
43                 <link rel="stylesheet" type="text/css" href="css/index.css">
44                 <title>Friendica Messenger</title>
45     </head>
46     <body>
47                 <section id="inboxPage" data-position="current">
48                         <section data-type="sidebar">
49                                 <header>
50                                         <menu type="toolbar">
51                                                 <a href="#">done</a>
52                                         </menu>
53                                         <h1></h1>
54                                 </header>
55                                 <nav>
56                                         <ul>
57                                         <li><a href="#">Inbox</a></li>
58                                         </ul>
59                                         <ul>
60                                         <li><a href="#settings">Settings</a></li>
61                                         </ul>
62                                 </nav>
63                         </section>    
64                                 
65                 
66                         <section id="messageListPage" role="region">
67                                 <header class="fixed">
68                                         <a href="#"><span class="icon icon-menu">hide sidebar</span></a>
69                                         <a href="#messageListPage"><span class="icon icon-menu">show sidebar</span></a>
70                                         <menu type="toolbar">
71                                                 <a href="#compose"><span class="icon icon-add">add</span></a>
72                                         </menu>
73                                         <h1>~F Messenger <em>inbox</em></h1>
74                                         <progress class="pack-activity" value="0" max="100"></progress>
75                                 </header>
76                                 <article class="scrollable header">
77                                         <section data-type="list">
78                                                 <ul id="messageList">
79                                                         
80                                                 </ul>
81                                         </section>
82                                 </article>
83                         </section>
84                 </section>
85                 
86                 <section id="messagePage" data-position="right" role="region">
87                         <header class="fixed">
88                                 <a href="#"><span class="icon icon-back">back</span></a>
89                                 <h1>Messages <em id='contact_screen_name'>.</em></h1>
90                                 <progress class="pack-activity" value="0" max="100"></progress>
91                         </header>
92                         <article class="scrollable header footer">
93                                 <section data-type="list" class="fullmessage">
94                                         <ul id="messages">
95                                                 
96                                         </ul>
97                                 </section>
98                         </article>
99                         <ul role="tablist" class="bb-tablist">
100                                 <li class="inputbox">
101                                         <input class="message_text" type="text"/>
102                                 </li>
103                                 <li>
104                                         <a id="reply_send" href=""><span class="icon action-icon email-send"></span></a>
105                                 </li>
106             </ul>
107                 </section>
108
109                 <section id="newMessagePage" data-position="right" role="region">
110                         <header>
111                                 <a href="#"><span class="icon icon-back">back</span></a>
112                                 <menu type="toolbar">
113                                         <a id="message_send" href=""><span class="icon action-icon email-send">send</span></a>
114                                 </menu>                         
115                                 <h1>New message</h1>
116                                 <progress class="pack-activity light" value="0" max="100"></progress>
117                         </header>
118
119                         <article class="content">
120                                 <header><h2>Send new message</h2></header>
121                                 <form>
122                                         <p><img class="pack contact_photo" src='img/unknow.png'><input class="message_to" type="text" placeholder="User" list="contacts" /></p>
123                                         <p><input class="message_reply" type="hidden" /></p>
124                                         <p><textarea class="message_body"></textarea></p>
125                                         <datalist id="contacts"></datalist>
126                                 </form>
127                         </article>
128
129                         <form role="dialog" data-type="action" id="select_contact">
130                           <menu>
131                                 <button type="button" class="cancel">Cancel</button>
132                           </menu>
133                         </form>
134                         
135                 </section>
136                 
137
138                 
139                 <section id="settingsPage" data-position="right" role="region" class="skin-organic">
140                         <header>
141                                 <menu type="toolbar">
142                                         <a href="#">done</a>
143                                 </menu> 
144                                 <h1>Settings</h1>
145                                 <progress class="pack-activity light" value="0" max="100"></progress>
146                         </header>
147                         <article class="content">
148                                 <header><h2>Connection settings</h2></header>
149                                 <form>
150                                         <p><input id="host" type="text" placeholder="Host" required="" value="" class="autoupdate" /></p>
151                                         <p><label class="pack-switch"><input id="secure" type="checkbox"  required class="autoupdate" /><span>Use secure connection</span></label></p>
152                                         <p><input id="user" type="text" placeholder="Username" required="" value="" class="autoupdate" /></p>
153                                         <p><input id="pass" type="password" placeholder="Password" required="" value="" class="autoupdate" /></p>
154                                 </form>
155                         </article>
156                 </section>              
157                 
158                 <script type="text/javascript" src="bower_components/zepto/zepto.js"></script>
159         <script type="text/javascript" src="bower_components/routie/dist/routie.min.js"></script>
160         <!-- <script type="text/javascript" src="cordova.js"></script> -->
161         <script type="text/javascript" src="js/index.js"></script>
162     </body>
163 </html>