snappymail/rainloop/v/0.0.0/app/templates/Views/Admin/AdminSettingsSocial.html

218 lines
5.1 KiB
HTML
Raw Normal View History

<div class="adminSecurity">
<div class="row">
<div class="alert alert-info span8" style="margin-top: 10px;">
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>
<div class="form-horizontal g-ui-user-select-none">
<div class="legend">
Google
</div>
<div class="control-group">
<div class="controls">
2014-10-29 06:05:50 +08:00
<div data-bind="component: {
name: 'Checkbox',
params: { value: googleEnable, label: 'Enable Google Integration' }
}"></div>
<div data-bind="visible: googleEnable">
<br />
<blockquote>
2014-10-29 06:05:50 +08:00
<div data-bind="component: {
name: 'Checkbox',
params: {
value: googleEnableAuth,
label: 'Authentication'
}
2014-10-29 06:05:50 +08:00
}"></div>
<div data-bind="component: {
name: 'Checkbox',
params: {
value: googleEnableDrive,
label: 'Google Drive Integration (Compose view)'
}
}"></div>
<div data-bind="component: {
name: 'Checkbox',
params: {
value: googleEnablePreview,
label: 'Google Viewer Integration (Preview for Microsoft Word, Excel and PowerPoint files)'
}
2014-10-29 06:05:50 +08:00
}"></div>
</blockquote>
</div>
</div>
</div>
<div class="control-group">
2014-07-28 23:55:22 +08:00
<label class="control-label">
Client ID
</label>
<div class="controls">
<div data-bind="component: {
name: 'Input',
params: {
name: 'xx',
value: googleClientID,
trigger: googleTrigger1,
enable: googleEnableRequireClientSettings,
size: 5
}
}"></div>
</div>
</div>
<div class="control-group">
2014-07-28 23:55:22 +08:00
<label class="control-label">
Client Secret
</label>
<div class="controls">
<div data-bind="component: {
name: 'Input',
params: {
value: googleClientSecret,
trigger: googleTrigger2,
enable: googleEnableRequireClientSettings,
size: 5
}
}"></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">
2014-10-29 06:05:50 +08:00
<div data-bind="component: {
name: 'Input',
params: {
value: googleApiKey,
trigger: googleTrigger3,
size: 5,
enable: googleEnableRequireApiKey
2014-10-29 06:05:50 +08:00
}
}"></div>
2014-07-30 16:48:59 +08:00
<blockquote style="margin-top: 10px; margin-bottom: 0">
<p class="muted">
Required for Google Drive File Picker
</p>
</blockquote>
</div>
</div>
<div class="legend">
Facebook
<span style="color: #ccc; font-size: 14px;" data-bind="visible: !facebookSupported()">(requires PHP 5.4 or greater)</span>
</div>
<div data-bind="if: facebookSupported">
<div class="control-group">
<div class="controls">
2014-10-29 06:05:50 +08:00
<div data-bind="component: {
name: 'Checkbox',
params: { value: facebookEnable, label: 'Enable Facebook Integration (Authentication)' }
}"></div>
</div>
</div>
<div class="control-group">
2014-07-28 23:55:22 +08:00
<label class="control-label">
App ID
</label>
<div class="controls">
<div data-bind="component: {
name: 'Input',
params: {
value: facebookAppID,
trigger: facebookTrigger1,
enable: facebookEnable,
size: 5
}
}"></div>
</div>
</div>
<div class="control-group">
2014-07-28 23:55:22 +08:00
<label class="control-label">
App Secret
</label>
<div class="controls">
<div data-bind="component: {
name: 'Input',
params: {
value: facebookAppSecret,
trigger: facebookTrigger2,
enable: facebookEnable,
size: 5
}
}"></div>
</div>
</div>
</div>
<div class="legend">
Twitter
</div>
<div class="control-group">
<div class="controls">
2014-10-29 06:05:50 +08:00
<div data-bind="component: {
name: 'Checkbox',
params: { value: twitterEnable, label: 'Enable Twitter Integration (Authentication)' }
}"></div>
</div>
</div>
<div class="control-group">
2014-07-28 23:55:22 +08:00
<label class="control-label">
Consumer Key
</label>
<div class="controls">
<div data-bind="component: {
name: 'Input',
params: {
value: twitterConsumerKey,
trigger: twitterTrigger1,
enable: twitterEnable,
size: 5
}
}"></div>
</div>
</div>
<div class="control-group">
2014-07-28 23:55:22 +08:00
<label class="control-label">
Consumer Secret
</label>
<div class="controls">
<div data-bind="component: {
name: 'Input',
params: {
value: twitterConsumerSecret,
trigger: twitterTrigger2,
enable: twitterEnable,
size: 5
}
}"></div>
</div>
</div>
<div class="legend">
Dropbox
</div>
<div class="control-group">
<div class="controls">
2014-10-29 06:05:50 +08:00
<div data-bind="component: {
name: 'Checkbox',
params: { value: dropboxEnable, label: 'Enable Dropbox Integration (Compose view)' }
}"></div>
</div>
</div>
<div class="control-group">
2014-07-28 23:55:22 +08:00
<label class="control-label">
Api Key
</label>
<div class="controls">
<div data-bind="component: {
name: 'Input',
params: {
value: dropboxApiKey,
trigger: dropboxTrigger1,
enable: dropboxEnable,
size: 5
}
}"></div>
</div>
</div>
</div>
2013-09-25 03:04:44 +08:00
</div>