Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding a settings category for editing Freegle groups.

  • Loading branch information...
commit aaa2e806085a3abecdbe401bc3ae8ca3387b2842 1 parent 77f01da
@evolverine authored
View
1  index.html
@@ -28,6 +28,7 @@
<script src="js/library/jquery.dateFormat-1.0.js"></script>
<script src="js/offerList.js"></script>
<script src="js/settingsPage.js"></script>
+<script src="js/settings_freegleGroups.js"></script>
</body>
View
5 js/settings_freegleGroups.js
@@ -0,0 +1,5 @@
+$('#settings_freegleGroupsPage').live('pageshow', init);
+function init(event) {
+ $("#freegleGroupsList").append('<li>Walthamstow</li>');
+ $("#freegleGroupsList").append('<li>Islington</li>');
+}
View
26 settings_freegleGroups.html
@@ -0,0 +1,26 @@
+<!DOCTYPE HTML>
+<html>
+<head>
+</head>
+
+<body>
+
+<div id="settingsPage" data-role="page" data-add-back-btn="true">
+
+ <div data-role="header" data-theme="e">
+ <h1>Freegle groups</h1>
+ </div>
+
+ <div data-role="content">
+
+ <ul id="freegleGroupsList" data-role="listview" data-inset="true">
+ <li><a href="#settings_freegleGroupsPage">Freegle groups</a></li>
+ </ul>
+
+ </div>
+
+</div>
+
+</body>
+
+</html>
Please sign in to comment.
Something went wrong with that request. Please try again.