-
Notifications
You must be signed in to change notification settings - Fork 4
/
main.html
143 lines (137 loc) · 6.88 KB
/
main.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>
<head>
<meta charset="utf-8">
<title>Do Share</title>
<link rel="icon" href="icon128.png" />
<link rel="stylesheet" href="roboto/roboto.css" />
<link rel="stylesheet" href="style.css" />
<script src="opera_wysiwyg/utils.js"></script>
<script src="opera_wysiwyg/editor.js"></script>
<script src="opera_wysiwyg/editlib.js"></script>
<script src="gp_editor.js"></script>
<script src="libs/jquery-1.8.0.min.js"></script>
<script src="libs/jquery-ui-1.8.23.custom.min.js"></script>
<link rel="stylesheet" type="text/css" href="jqueryui_css/ui-lightness/jquery-ui-1.8.19.custom.css">
<script src="libs/jquery-ui-timepicker-addon.js"></script>
<link rel="stylesheet" href="libs/jquery-ui-timepicker-addon.css" />
<script src="libs/moment.min.js"></script>
<script src="settings.js"></script>
<script src="main.js"></script>
</head>
<body>
<div id="bodyWrap">
<div id="appWrap">
<div id="settingsWrap">
<div id="settings">
<p>Add <em>"Shared via #DoShare"</em> to
<select id="settingPromoText">
<option value='all'>All posts</option>
<option value='shares'>Shares only</option>
<option value='none'>No posts</option>
</select></p>
<p>Use alternate Google account (advanced) <select id="settingAlternateAccount">
<option value='0'>No (default)</option>
<option value='1'>Yes (/u/1)</option></select></p>
<div id="postNumberingContainer"></div>
<p>Share current tab when clicking Do Share<select id="settingAlwaysShare">
<option value='0'>Offer me</option>
<option value='1'>Always share</option></select></p>
<p>Log out and reconnect to Google<button id="refreshLogin">Refresh login</button></p>
</div>
</div>
<div id="top">
<header><h1><img src="img/logo.png" /></h1></header>
</div>
<div id="newsBulletin">Do Share's media sharing services were fixed, and you should be able to share links and videos without issues.<br><br>Thanks for the patience while this issue was being fixed, and please Send Feedback (↗) if you have a link that Do Share fails at sharing.<br><br><em><strong>--Tzafrir Rehan</strong></em><br><br>
<em>Click to dismiss</em></div>
<div id="collapseEditbox" title="Hide editor"></div>
<div id="writingArea">
<div id="editbox">
<div class="titleBar"><div id="titlePlaceholder" class="gp-e-container"></div><div id="title"></div></div>
<div class="hideWhenCollapsed">
<div id="content" class="editbox"></div>
<div id="postActions">
<div class="postModifier" id="postingAs"><span id="postingAsAction" class="enabled"></span></div>
<div class="postAction" id="addLink"><span id="addLinkAction" class="enabled"></span></div>
<div class="postAction" id="addPhoto"><span id="addPhotoAction" class="enabled"></span></div>
<div class="postModifier" id="addPoll"><span id="addPollAction" class="enabled"></span></div>
</div>
<div id="attachments">
<div id="reshare"></div>
<div id="linkBar">
<input id="linkInput" placeholder="link" />
<button id="submitLink">add url</button>
</div>
<div id="postMedia"></div>
</div>
</div>
<input type="hidden" id="link" />
<input type="hidden" id="time" />
<input type="hidden" id="image_id" />
<input type="hidden" id="share_id" />
<input type="hidden" id="write_time_stamp" />
<input type="hidden" id="share_as_id" />
<input type="hidden" id="share_as_name" />
<input type="hidden" id="share_as_image" />
<input type="file" id="photo_file" accept="image/*" style="opacity: 0; position: absolute; top: -1000px;" />
</div>
<div id="identityChooserBar"></div>
<div id="shareUrlContainer"></div>
<div id="pollContainer" class="hideWhenCollapsed">
<div id="pollBox">
<p id="pollWhatsThis"><em><small><a href="https://plus.google.com/+TzafrirRehan/posts/N4uvdqF5F9w" target="_blank">What's this?</a></small></em></p>
<div id="pollOptions"><div></div></div>
<div id="addPollOption"></div>
<div id="cancelPollWrapper"><button id="buttonCancelPoll">remove poll</button></div>
<div class="clearFix"></div>
</div>
</div>
<div id="barContainer" class="hideWhenCollapsed">
<div id="circleChooserBar">
<input tabindex=6 id="circleChooser" placeholder="+ Add more people…">
<div id="closeCircleChooser"></div>
</div>
<div id="communityCategoryBar"></div>
<div id="buttonBar">
<div><button tabindex=5 id="buttonDelete" class="buttonNotSchedule">delete post :(</button></div>
<div><button tabindex=4 id="buttonDraft" class="buttonNotSchedule">send to drafts</button></div>
<div><button tabindex=3 id="buttonSchedule" class="closed">schedule</button></div>
<div><button tabindex=2 id="buttonPost" class="buttonNotSchedule">share now</button></div>
</div>
</div>
<div class="clearFix"></div>
<div id="scheduleBar">
<p>
<span>Share at <input id="dateTimeInput" placeholder="mm/dd/yyyy HH:MM" /></span>
<button id="buttonScheduleStepTwo">schedule</button>
</p>
</div>
<div id="posts">
<div class="column drafts">
<div class="columnHead">drafts</div>
<div class="postsList"></div>
</div>
<div class="column scheduled">
<div class="columnHead">scheduled</div>
<div class="postsList"></div>
</div>
<div class="clearFix"></div>
</div>
</div>
</div>
<footer>
Created by <a href="https://plus.google.com/115470071077898720170/">Tzafrir Rehan</a>.
Designed by <a href="https://twitter.com/joeltwits">Joel Califa</a>.
</footer>
</div>
<div id="sendFeedback" class="topTab">send feedback</div>
<div id="tellOthers" class="topTab">tell others!</div>
<div id="community" class="topTab"><a target="_blank" href="https://plus.google.com/communities/106730501086111938938">Join the community</a></div>
<div id="openSettings"></div>
<div id="information" style="display: none">
<h2>IMMA LET YOU FINISH SCHEDULING, BUT</h2>
<p>Do Share is a <span>Chrome application<span> that runs <span><strong>only on your computer</strong></span>.<br>
Posts are saved <span>in your browser</span>, and are <span>sent to Google+</span> at the <span>scheduled time.</span></p>
<p>Scheduled posts will be successfully sent to Google+ if <span>Chrome is running</span>, and <span>logged into Google+ at that time.</span></p>
<button id="iUnderstand">I got this. Chrome has to be running and connected to the internet, for Do Share to be able to send posts to Google+.<br><br><span class="iUnderstand">I understand!</span></button>
</div>