-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
206 lines (196 loc) · 7.63 KB
/
index.html
File metadata and controls
206 lines (196 loc) · 7.63 KB
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
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<html>
<head>
<title>MacWrite</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="http://fargo.io/code/jquery-1.9.1.min.js"></script>
<link href="http://fargo.io/code/bootstrap.css" rel="stylesheet">
<script src="http://fargo.io/code/bootstrap.min.js"></script>
<link rel="stylesheet" href="http://fargo.io/code/fontAwesome/css/font-awesome.min.css"/>
<link href="http://fargo.io/code/ubuntuFont.css" rel="stylesheet" type="text/css">
<link href="http://fargo.io/code/ranchoFont.css" rel="stylesheet" type="text/css">
<script src="http://fargo.io/code/node/shared/utils.js"></script>
<script src="http://fargo.io/code/node/shared/alertdialog.js"></script>
<script src="http://fargo.io/code/node/shared/confirmdialog.js"></script>
<script src="http://fargo.io/code/node/shared/askdialog.js"></script>
<script src="http://fargo.io/code/strftime.js"></script>
<script src="http://fargo.io/code/shared/ga.js"></script>
<script src="http://fargo.io/code/shared/app.js"></script>
<link href="http://fargo.io/code/shared/app.css" rel="stylesheet" type="text/css">
<script src="http://fargo.io/code/shared/appprefs.js"></script>
<script src="http://fargo.io/code/shared/menus.js"></script>
<link href="http://fargo.io/code/shared/menus.css" rel="stylesheet" type="text/css">
<script src="http://fargo.io/code/storage/api.js"></script>
<script src="macwrite.js"></script>
<style>
body {
font-family: Ubuntu;
font-size: 18px;
background-color: whitesmoke;
}
.divPageBody {
width: 60%;
margin-top: 90px;
margin-left: auto;
margin-right: auto;
}
.divEditorAndButtons {
width: 80%;
margin-left: auto;
margin-right: auto;
}
.myTextArea {
width: 100%;
height: 400px;
margin-top: 15px;
border: 1px solid silver;
}
.divVersionNumber {
font-size: 12px;
color: #777777;
float: right;
padding: 19px;
}
.btnSave {
float: right;
width: 120px;
}
</style>
</head>
<body>
<div class="divMenubar" id="idMenubar">
<div class="topbar-wrapper" style="z-index: 5;">
<div class="navbar navbar-fixed-top" data-dropdown="dropdown">
<div class="divVersionNumber" id="idVersionNumber">
</div>
<div class="navbar-inner">
<div class="container">
<a class="brand" href="/"><span id="idMenuProductName"></span></a>
<ul class="nav" id="idMainMenuList">
<li class="dropdown" id="idTestMenu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Testing <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a onclick="aboutTestingMenu ();">About this menu...</a></li>
<li class="divider"></li>
<li><a onclick="sendATweet ();">Send tweet...</a></li>
<li><a onclick="getUserInfo ();">Get user info...</a></li>
<li><a onclick="howManyTweets ();">How many tweets...</a></li>
<li><a onclick="getMyMostRecentTweet ();">My most recent tweet...</a></li>
<li><a onclick="viewEmbeddedTweet ('545288223870951425', 'idWhereToDisplayTweet');">View embedded tweet...</a></li>
</ul>
</li>
<li class="dropdown" id="idReposMenu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Repos <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="https://github.com/scripting/macwrite" target="_blank">MacWrite</a></li>
<li><a href="https://github.com/scripting/nodestorage" target="_blank">NodeStorage</a></li>
</ul>
</li>
</ul>
<ul class="nav pull-right">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><span id="idTwitterIcon"></span><span id="idTwitterUsername"></span> <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a onclick="aboutDialog ();">About <span id="idMenuAboutProductName"></span>...</a></li>
<li class="divider"></li>
<li><a onclick="settingsCommand ();">Settings...</a></li>
<li class="divider"></li>
<li><a onclick="twToggleConnectCommand (confirmDialog);" id="idTwitterConnectMenuItem"></a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="divTweetViewer" comment="This is where we display an embedded tweet.">
<div id="idTweetViewer" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="attEditorLabel" aria-hidden="true">
<div class="modal-body">
<center>
<div id="idWhereToDisplayTweet">
</div>
</center>
</div>
<div class="modal-footer">
<a href="#" class="btn btn-primary" onclick="closeEmbeddedTweetViewer ();">Close</a>
</div>
</div>
</div>
<div class="divPrefsDialog" comment="This is the Settings dialog.">
<div id="idPrefsDialog" class="modal hide fade" tabindex="-1" role="dialog" aria-labelledby="windowTitleLabel" aria-hidden="true">
<div class="modal-body">
<div class="divDialogElements">
<form method="POST">
<div class="divTabsFromOutline">
<div class="tabbable">
<ul class="nav nav-tabs" data-tabs="tabs">
<li class="active" ><a href="#idFont77" data-toggle="tab">Font</a></li>
</ul>
<div id="my-tab-content" class="tab-content">
<div class="active tab-pane" id="idFont77">
<fieldset>
<div class="divPrefs"> <p>You can set the font and size we use to display text.</p><div class="clearfix"> <label for="textFont">Font:</label> <div class="input"> <input class="xlarge prefsInput" id="textFont" name="textFont" size="50" type="text" value="" placeholder="Text display font" /> </div> </div><div class="clearfix"> <label for="textFontSize">Font-size:</label> <div class="input"> <input class="xlarge numberPrefsInput" id="textFontSize" name="textFontSize" size="7" type="text" value="" /><span class="textToRight"> (pixels)</span> </div> </div><div class="clearfix"> <label for="textLineHeight">Line-height:</label> <div class="input"> <input class="xlarge numberPrefsInput" id="textLineHeight" name="textLineHeight" size="7" type="text" value="" /><span class="textToRight"> (pixels)</span> </div> </div> </div>
</fieldset>
</div>
</div>
</div>
</div>
</form>
</div>
</div>
<div class="modal-footer">
<a href="#" class="btn" onclick="prefsCloseDialog ();">Cancel</a>
<a href="#" class="btn btn-primary" onclick="prefsOkClicked ();">OK</a>
</div>
</div>
</div>
<div class="divPageBody">
<div class="divWholePageMessage" id="idEditor" style="display: none;">
<div class="divEditorAndButtons">
<div><textarea class="myTextArea" id="idTextArea" onKeyUp="keyupTextArea ()" placeholder="Obviously this is a good place to write something."></textarea></div>
<button id="idSaveButton" class="btn btn-large btnSave" type="button" onclick="saveButtonClick ();">Save</button>
</div>
</div>
<div class="divWholePageMessage" id="idLogonMessage" style="display: none;">
<div class="divLogonMessage">
<center>
Please sign on to Twitter to access your stuff.<br><br>
</center>
</div>
</div>
<div class="divWholePageMessage" id="idStartupFailBody" style="display: none;">
<div class="divLogonMessage">
<center>
There was a problem connecting with the server.
Please wait a moment and reload the page.
</center>
</div>
</div>
</div>
<script>
$(document).ready (function () {
startup ();
});
</script>
</body>
</html>