-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
143 lines (127 loc) · 8.17 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
<!DOCTYPE html>
<html>
<head>
<title>MyRedditAll</title>
<meta charset="UTF-8" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="white" />
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0" />
<link rel="shortcut icon" href="images/favicon.ico" type="image/x-icon" />
<link href="css/styles.css" type="text/css" rel="stylesheet" media="screen" />
<link href="css/jquery.ad.gallery.css" type="text/css" rel="stylesheet" media="screen" />
<link href="css/colorpicker.css" type="text/css" rel="stylesheet" media="screen" />
<link href="css/colorbox.css" type="text/css" rel="stylesheet" media="screen" />
<link href="css/miniTip.css" type="text/css" rel="stylesheet" media="screen" />
<link href="css/photoswipe.css" type="text/css" rel="stylesheet" media="screen" />
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.js" type="text/javascript" charset="ISO-8859-1"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.16/jquery-ui.js" type="text/javascript" charset="ISO-8859-1"></script>
<script src="js/jquery.livequery.js" type="text/javascript"></script>
<script src="js/klass.min.js"></script>
<script src="js/code.photoswipe.jquery-3.0.4.js"></script>
<script src="js/mustache.js" type="text/javascript"></script>
<script src="js/knockout.js" type="text/javascript" charset="ISO-8859-1"></script>
<script src="js/ko.mustache.js" type="text/javascript"></script>
<script src="js/ZeroClipboard.js" type="text/javascript" charset="ISO-8859-1"></script>
<script src="js/jquery.ad.gallery.mod.js" type="text/javascript" charset="ISO-8859-1"></script>
<script src="js/colorpicker.js" type="text/javascript" charset="ISO-8859-1"></script>
<script src="js/jquery.colorbox.mod.js" type="text/javascript" charset="ISO-8859-1"></script>
<script src="js/jquery.miniTip.min.js" type="text/javascript" charset="ISO-8859-1"></script>
<script src="js/iScroll.js" type="text/javascript" charset="ISO-8859-1"></script>
<script src="js/jquery.json.js" type="text/javascript" charset="ISO-8859-1"></script>
<script src="js/jquery.jStorage.js" type="text/javascript" charset="ISO-8859-1"></script>
<script src="js/redditlive.js" type="text/javascript" charset="ISO-8859-1"></script>
<script src="js/main.js" type="text/javascript" charset="ISO-8859-1"></script>
<script src="js/jquery.mobile.js" type="text/javascript" charset="ISO-8859-1"></script>
</head>
<body data-bind="style: { backgroundColor: settings.background.isColorSet()? settings.background.color(): '', backgroundImage: !settings.background.isColorSet()? 'url(' + settings.background.image() + ')': '' }">
<div data-role="page" id="main-page">
<div id="container" data-role="none">
<div class="ad-gallery">
<div class="ad-nav">
<div class="ad-thumbs">
<div class="vertical" data-bind="visible: !imageBar.hasImages()">
<div class="loader"></div>
</div>
<ul class="ad-thumb-list" data-bind="template: { name: 'imageBarTemplate', foreach: imageBar.getImages(), visible: imageBar.hasImages() }"></ul>
</div>
</div>
</div>
<h2 id="customizeStrip" class="portlet ui-widget-content ui-helper-clearfix ui-corner-all" data-role="none">
<span class="cufonize">Live Dangerously?</span>
<a href="#customize" data-transition="pop" class="cufonize" style="color:#9F4">Customize This</a>
<div class="fg-buttonset fg-buttonset-single" style="float: right; margin-top:0px; margin-right:1px">
<span data-bind="template: { name: 'imageButtonTemplate', foreach: imageBar.menu.getFrontPage() }"></span>
<div data-bind="visible: imageBar.menu.populatedMenu()" class="buttonBackground" id="showMore">
<div style="background-color:#99FF44;"> </div>
</div>
</div>
</h2>
<div id="newsSection" data-bind="template: { name: 'subredditTemplate', foreach: subreddits.getPortlets() }, sortableList: subreddits.getSubreddits().getPortlets()" data-role="none"></div>
</div>
</div>
<div data-role="page" id="customize" data-theme="a" data-bind="style: { backgroundColor: settings.background.isColorSet()? settings.background.color(): '', backgroundImage: !settings.background.isColorSet()? 'url(' + settings.background.image() + ')': '' }">
<div data-role="header" data-theme="a" data-add-back-btn="true">
<a href="#main-page" data-theme="a" data-role="button" data-inline="true" data-icon="back">Go Back</a>
<h1>Customize MyRedditAll</h1>
</div>
<div data-role="content">
<div data-role="collapsible-set">
<div data-role="collapsible" data-collapsed="false" data-content-theme="a">
<h3>Browse or Add New Sections</h3>
<p>
<fieldset class="ui-grid-a">
<div class="ui-block-a">
<fieldset class="radioFieldset" data-role="controlgroup" data-type="horizontal" data-bind="template: { name: 'loadMetaButtonTemplate', foreach: metareddits.get() }">
</fieldset>
</div>
<div class="ui-block-b">
<div data-role="fieldcontain">
<input type="search" name="feedName" value="" data-theme="c"/>
</div>
</div>
</fieldset>
<ul class="jqmList" data-theme="a" data-role="listview" data-inset="true" data-bind="template: { name: 'metaTemplate', foreach: metareddits.activeList() }"></ul>
</p>
</div>
</div>
<ul class="jqmList" data-theme="a" data-role="listview" data-inset="true" data-bind="template: { name: 'orderPortletsTemplate', foreach: subreddits.getPortlets() }, sortableList: subreddits.getSubreddits().getPortlets()"></ul>
<ul class="jqmList" data-theme="a" data-role="listview" data-inset="true" data-bind="template: { name: 'orderImagebarsTemplate', foreach: imageBar.menu.getButtons() }, sortableList: imageBar.menu.getButtons()"></ul>
<ul data-theme="a" data-role="listview" data-inset="true">
<li data-role="list-divider" data-dividertheme="a">Choose Background</li>
<li>
<div data-role="controlgroup" data-type="horizontal" class="ui-grid-a">
<a href="#" onclick="App.settings.background.changePrev()" data-role="button" data-icon="arrow-u">Prev</a>
<a href="#" onclick="App.settings.background.changeNext()" data-role="button" data-icon="arrow-d">Next</a>
<a href="#" onclick="App.settings.background.changeNext()" data-role="button" data-icon="gear">Color</a>
</div>
</li>
</ul>
<p><a href="#main-page" data-theme="a" data-role="button" data-inline="true" data-icon="back">Go Back</a></p>
<div class="portlet ui-widget ui-widget-content ui-helper-clearfix ui-corner-all" data-bind="visible: adder.isActive" id="popupAdd" style="display:none;">
<div class="portlet-header ui-widget-header ui-corner-all">
<span class="ui-icon ui-icon-closethick" data-bind="click: adder.disable" style="margin-top:2px;"></span>
<a style="font-size:16px;">Add To Squares or Image Bar</a>
</div>
<div class="portlet-content" style="padding-top:2px;">
<a href="#" data-bind="click: adder.pick" data-role="button">News</a>
<a href="#" data-bind="click: adder.pick" data-role="button">Pics</a>
<a href="#" data-bind="click: adder.pick" data-role="button">Cancel</a>
</div>
</div>
</div>
</div>
<div style="display:none;">
<div id="fb-root"></div>
<span id="activeImageButtons" data-bind="template: { name: 'imageButtonsTemplate', value: imageBar.activeImage() }">
</span>
<div id="showMoreList">
<ul id="showMoreUL" data-bind="template: { name: 'moreImageButtonTemplate', foreach: imageBar.menu.get() }"></ul>
</div>
<div id="viewMoreList" style="display:none;">
<div data-bind="template: { name: 'newsButtonTemplate', foreach: subreddits.activeButtons() }" class="viewMoreList"></div>
</div>
</div>
</body>
</html>