2013-11-12 06:01:44 +08:00
|
|
|
<div class="adminSecurity">
|
|
|
|
<div class="row">
|
2014-05-22 09:08:47 +08:00
|
|
|
<div class="alert alert-info span10" style="margin-top: 10px;">
|
2013-11-12 06:01:44 +08:00
|
|
|
Detailed information on social integration is found at
|
|
|
|
<a href="http://rainloop.net/docs/social/" target="_blank">http://rainloop.net/docs/social/</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-12-11 04:14:59 +08:00
|
|
|
<div class="form-horizontal g-ui-user-select-none">
|
2013-11-12 06:01:44 +08:00
|
|
|
<div class="legend">
|
|
|
|
Google
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
|
|
|
<label data-bind="click: function () { googleEnable(!googleEnable()); }">
|
|
|
|
<i data-bind="css: googleEnable() ? 'icon-checkbox-checked' : 'icon-checkbox-unchecked'"></i>
|
|
|
|
Enable Google Integration
|
|
|
|
</label>
|
2014-10-19 01:24:00 +08:00
|
|
|
<div data-bind="visible: googleEnable">
|
|
|
|
<br />
|
|
|
|
<blockquote>
|
|
|
|
<label data-bind="click: function () { googleEnable.auth(!googleEnable.auth()); }">
|
|
|
|
<i data-bind="css: googleEnable.auth() ? 'icon-checkbox-checked' : 'icon-checkbox-unchecked'"></i>
|
|
|
|
Authentication
|
|
|
|
</label>
|
|
|
|
<label data-bind="click: function () { googleEnable.drive(!googleEnable.drive()); }" style="margin-top: 5px">
|
|
|
|
<i data-bind="css: googleEnable.drive() ? 'icon-checkbox-checked' : 'icon-checkbox-unchecked'"></i>
|
|
|
|
Google Drive Integration (Compose view)
|
|
|
|
</label>
|
|
|
|
</blockquote>
|
|
|
|
</div>
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
2014-07-28 23:55:22 +08:00
|
|
|
<label class="control-label">
|
|
|
|
Client ID
|
|
|
|
</label>
|
2013-11-12 06:01:44 +08:00
|
|
|
<div class="controls">
|
2014-04-29 23:31:49 +08:00
|
|
|
<input type="text" class="span5" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
|
|
|
data-bind="value: googleClientID, saveTrigger: googleTrigger1" />
|
2013-11-12 06:01:44 +08:00
|
|
|
<div data-bind="saveTrigger: googleTrigger1"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
2014-07-28 23:55:22 +08:00
|
|
|
<label class="control-label">
|
|
|
|
Client Secret
|
|
|
|
</label>
|
2013-11-12 06:01:44 +08:00
|
|
|
<div class="controls">
|
2014-04-29 23:31:49 +08:00
|
|
|
<input type="text" class="span5" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
|
|
|
data-bind="value: googleClientSecret, saveTrigger: googleTrigger2" />
|
2013-11-12 06:01:44 +08:00
|
|
|
<div data-bind="saveTrigger: googleTrigger2"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2014-07-30 16:48:59 +08:00
|
|
|
<br />
|
|
|
|
<div class="control-group">
|
|
|
|
<label class="control-label">
|
|
|
|
Api Key
|
|
|
|
</label>
|
|
|
|
<div class="controls">
|
|
|
|
<input type="text" class="span5" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
2014-10-19 01:24:00 +08:00
|
|
|
data-bind="value: googleApiKey, saveTrigger: googleTrigger3, enable: googleEnable.drive" />
|
2014-07-30 16:48:59 +08:00
|
|
|
<div data-bind="saveTrigger: googleTrigger3"></div>
|
|
|
|
<blockquote style="margin-top: 10px; margin-bottom: 0">
|
|
|
|
<p class="muted">
|
|
|
|
Required for Google Drive File Picker
|
|
|
|
</p>
|
|
|
|
</blockquote>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-11-12 06:01:44 +08:00
|
|
|
<div class="legend">
|
|
|
|
Facebook
|
2014-07-04 04:11:47 +08:00
|
|
|
<span style="color: #ccc; font-size: 14px;" data-bind="visible: !facebookSupported()">(requires PHP 5.4 or greater)</span>
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
2014-07-04 04:11:47 +08:00
|
|
|
<div data-bind="if: facebookSupported">
|
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
|
|
|
<label data-bind="click: function () { facebookEnable(!facebookEnable()); }">
|
|
|
|
<i data-bind="css: facebookEnable() ? 'icon-checkbox-checked' : 'icon-checkbox-unchecked'"></i>
|
2014-10-19 01:24:00 +08:00
|
|
|
Enable Facebook Integration (Authentication)
|
2014-07-04 04:11:47 +08:00
|
|
|
</label>
|
|
|
|
</div>
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
2014-07-04 04:11:47 +08:00
|
|
|
<div class="control-group">
|
2014-07-28 23:55:22 +08:00
|
|
|
<label class="control-label">
|
|
|
|
App ID
|
|
|
|
</label>
|
2014-07-04 04:11:47 +08:00
|
|
|
<div class="controls">
|
|
|
|
<input type="text" class="span5" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
|
|
|
data-bind="value: facebookAppID, saveTrigger: facebookTrigger1" />
|
|
|
|
<div data-bind="saveTrigger: facebookTrigger1"></div>
|
|
|
|
</div>
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
2014-07-04 04:11:47 +08:00
|
|
|
<div class="control-group">
|
2014-07-28 23:55:22 +08:00
|
|
|
<label class="control-label">
|
|
|
|
App Secret
|
|
|
|
</label>
|
2014-07-04 04:11:47 +08:00
|
|
|
<div class="controls">
|
|
|
|
<input type="text" class="span5" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
|
|
|
data-bind="value: facebookAppSecret, saveTrigger: facebookTrigger2" />
|
|
|
|
<div data-bind="saveTrigger: facebookTrigger2"></div>
|
|
|
|
</div>
|
2013-11-12 06:01:44 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="legend">
|
|
|
|
Twitter
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
|
|
|
<label data-bind="click: function () { twitterEnable(!twitterEnable()); }">
|
|
|
|
<i data-bind="css: twitterEnable() ? 'icon-checkbox-checked' : 'icon-checkbox-unchecked'"></i>
|
2014-10-19 01:24:00 +08:00
|
|
|
Enable Twitter Integration (Authentication)
|
2013-11-12 06:01:44 +08:00
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
2014-07-28 23:55:22 +08:00
|
|
|
<label class="control-label">
|
|
|
|
Consumer Key
|
|
|
|
</label>
|
2013-11-12 06:01:44 +08:00
|
|
|
<div class="controls">
|
2014-04-29 23:31:49 +08:00
|
|
|
<input type="text" class="span5" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
|
|
|
data-bind="value: twitterConsumerKey, saveTrigger: twitterTrigger1" />
|
2013-11-12 06:01:44 +08:00
|
|
|
<div data-bind="saveTrigger: twitterTrigger1"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
2014-07-28 23:55:22 +08:00
|
|
|
<label class="control-label">
|
|
|
|
Consumer Secret
|
|
|
|
</label>
|
2013-11-12 06:01:44 +08:00
|
|
|
<div class="controls">
|
2014-04-29 23:31:49 +08:00
|
|
|
<input type="text" class="span5" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
|
|
|
data-bind="value: twitterConsumerSecret, saveTrigger: twitterTrigger2" />
|
2013-11-12 06:01:44 +08:00
|
|
|
<div data-bind="saveTrigger: twitterTrigger2"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="legend">
|
|
|
|
Dropbox
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
|
|
|
<div class="controls">
|
|
|
|
<label data-bind="click: function () { dropboxEnable(!dropboxEnable()); }">
|
|
|
|
<i data-bind="css: dropboxEnable() ? 'icon-checkbox-checked' : 'icon-checkbox-unchecked'"></i>
|
2014-10-20 02:04:28 +08:00
|
|
|
Enable Dropbox Integration (Compose view)
|
2013-11-12 06:01:44 +08:00
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="control-group">
|
2014-07-28 23:55:22 +08:00
|
|
|
<label class="control-label">
|
|
|
|
Api Key
|
|
|
|
</label>
|
2013-11-12 06:01:44 +08:00
|
|
|
<div class="controls">
|
2014-04-29 23:31:49 +08:00
|
|
|
<input type="text" class="span5" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"
|
|
|
|
data-bind="value: dropboxApiKey, saveTrigger: dropboxTrigger1" />
|
2013-11-12 06:01:44 +08:00
|
|
|
<div data-bind="saveTrigger: dropboxTrigger1"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-09-25 03:04:44 +08:00
|
|
|
</div>
|