~tim-alwaysreformed/reformedchurcheslocator/rcl-backbone-test_for_directory_type

« back to all changes in this revision

Viewing changes to _attachments/index.html

  • Committer: Tim Black
  • Date: 2012-04-11 05:59:38 UTC
  • Revision ID: tim@alwaysreformed.com-20120411055938-ol24g07q32msyg2f
Re-include default couchapp login div, remove unnecessary templates, JavaScript files, and functions, install Evently

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
  </head>
7
7
  <body>
8
8
    <div id="header">
9
 
    <h2 style="text-align:center">
10
 
        <b>Reformed Churches Locator</b> <br> <br>
11
 
        <span class="subtitle">The Ultimate Directory of Reformed Churches Worldwide</span>
12
 
    </h2>
13
 
  </div>
14
 
  <ul id="mainmenu">
15
 
    <li class="first"><a href="index.html" class="active">Find a church</a></li>
16
 
    <li><a href="import_directory.html">Import a directory</a></li>
17
 
    <li id="login" class="loginlogout"><a href="login.html">Login</a></li>
18
 
  </ul>
 
9
            <h2 style="text-align:center">
 
10
                <b>Reformed Churches Locator</b> <br> <br>
 
11
                <span class="subtitle">The Ultimate Directory of Reformed Churches Worldwide</span>
 
12
            </h2>
 
13
    </div>
 
14
      <ul id="mainmenu">
 
15
            <li class="first"><a href="index.html" class="active">Find a church</a></li>
 
16
            <li><a href="import_directory.html">Import a directory</a></li>
 
17
      </ul>
 
18
 
19
19
  <div id="content">
20
20
      <div id="congregations">
 
21
        <div id="account" style="float:right"></div>
21
22
        <h2>Congregations</h2>
22
23
        <div class="ui-widget ui-widget-content ui-corner-all">
23
24
            <div>
24
 
            <div id="map_canvas" style="width: 900px; height: 500px;"></div>
 
25
            <div id="map_canvas" style="width: 918px; height: 500px;"></div>
25
26
            <form action="TODO: write this!">
26
27
            <span class="watermark_container" style="display: inline-block; position: relative; "><span class="watermark" style="position: absolute; font-family: Verdana, Arial, sans-serif; font-size: 18px; color: rgb(153, 153, 153); left: 6px; top: 2px; height: 28px; line-height: 28px; text-align: left; pointer-events: none; ">Enter location</span><input class="jq_watermark" title="Enter location" type="text" name="location" id="search_the_map"></span>
27
28
                Search within
131
132
    <script src="https://maps.googleapis.com/maps/api/js?sensor=false"></script>
132
133
        <script src="script/search_the_map.js"></script>
133
134
 
134
 
<!-- templates used by app.js -->
135
 
  <script id="new-message" type="text/x-mustache" charset="utf-8">
136
 
      <div class="avatar">
137
 
        {{#gravatar_url}}<img src="{{gravatar_url}}"/>{{/gravatar_url}}
138
 
        <div class="name">
139
 
          {{name}}
140
 
        </div>
141
 
      </div>
142
 
      <form id="create-message">
143
 
        <label>New message from {{nickname}}: <input type="text" name="message" size=60 value=""></label>
144
 
      </form>
145
 
      <div style="clear:left;"></div>
146
 
  </script>
147
135
 
148
 
  <script id="recent-messages" type="text/x-mustache" charset="utf-8">
149
 
        <h3>Recent Messages</h3>
150
 
        <ul id="items">
151
 
          {{#items}}
152
 
            <li>
153
 
              <div class="avatar">
154
 
                {{#gravatar_url}}<img src="{{gravatar_url}}" alt="{{name}}"/>{{/gravatar_url}}
155
 
                <div class="name">
156
 
                  {{nickname}}
157
 
                </div>
158
 
              </div>
159
 
              <p>{{message}}</p>
160
 
              <div style="clear:left;"></div>
161
 
            </li>
162
 
          {{/items}}
163
 
        </ul>
164
 
        <p><em>Protip:</em> If you setup continuous replication between this database and a remote one, this list will reflect remote changes in near real-time.</p>
165
 
        <p>This would be a good place to add pagination.</p>
166
 
  </script>
167
136
  <script src="script/app.js"></script>
168
137
 
169
138
</html>