retina smart section icons
|
@ -51,6 +51,8 @@
|
||||||
text-align: center;
|
text-align: center;
|
||||||
margin: 17px 10px 0 20px;
|
margin: 17px 10px 0 20px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
|
height: 45px;
|
||||||
|
width: 45px;
|
||||||
}
|
}
|
||||||
|
|
||||||
> .details {
|
> .details {
|
||||||
|
@ -68,7 +70,7 @@
|
||||||
font-size: 0.7rem;
|
font-size: 0.7rem;
|
||||||
color: #cc9933;
|
color: #cc9933;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
margin-left: 10px;
|
margin-left: 10px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
<ul class="list">
|
<ul class="list">
|
||||||
{{#each sections as |section|}}
|
{{#each sections as |section|}}
|
||||||
<li class="item {{if section.selected "selected"}}" {{action 'setOption' section.id}}>
|
<li class="item {{if section.selected "selected"}}" {{action 'setOption' section.id}}>
|
||||||
<img class="img" src="{{section.iconFile}}" />
|
<img class="img" src="/sections/{{section.contentType}}.png" srcset="/sections/{{section.contentType}}@2x.png" />
|
||||||
<div class="details">
|
<div class="details">
|
||||||
<div class='title'>
|
<div class='title'>
|
||||||
{{section.title}}
|
{{section.title}}
|
||||||
|
|
|
@ -33,7 +33,7 @@ module.exports = function(environment) {
|
||||||
ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
|
ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
|
||||||
|
|
||||||
ENV.apiHost = "https://localhost:5001";
|
ENV.apiHost = "https://localhost:5001";
|
||||||
// ENV.apiHost = "https://demo1.dev:5001";
|
ENV.apiHost = "https://demo1.dev:5001";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (environment === 'test') {
|
if (environment === 'test') {
|
||||||
|
|
BIN
app/public/sections/asana@2x.png
Normal file
After Width: | Height: | Size: 9.9 KiB |
BIN
app/public/sections/code@2x.png
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
app/public/sections/docusign@2x.png
Normal file
After Width: | Height: | Size: 9.1 KiB |
BIN
app/public/sections/gemini@2x.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
app/public/sections/github@2x.png
Normal file
After Width: | Height: | Size: 7.2 KiB |
BIN
app/public/sections/intercom@2x.png
Normal file
After Width: | Height: | Size: 9.2 KiB |
BIN
app/public/sections/mailchimp@2x.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
app/public/sections/markdown@2x.png
Normal file
After Width: | Height: | Size: 2 KiB |
Before Width: | Height: | Size: 1.5 KiB |
BIN
app/public/sections/salesforce@2x.png
Normal file
After Width: | Height: | Size: 8.3 KiB |
BIN
app/public/sections/stripe@2x.png
Normal file
After Width: | Height: | Size: 5 KiB |
BIN
app/public/sections/suggest@2x.png
Normal file
After Width: | Height: | Size: 2.1 KiB |
BIN
app/public/sections/table@2x.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
BIN
app/public/sections/trello@2x.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
app/public/sections/wysiwyg@2x.png
Normal file
After Width: | Height: | Size: 2 KiB |
BIN
app/public/sections/zendesk@2x.png
Normal file
After Width: | Height: | Size: 9 KiB |
|
@ -29,7 +29,6 @@ func (*asana) Meta() TypeMeta {
|
||||||
section.Title = "Asana"
|
section.Title = "Asana"
|
||||||
section.Description = "Embed tasks and projects"
|
section.Description = "Embed tasks and projects"
|
||||||
section.ContentType = "asana"
|
section.ContentType = "asana"
|
||||||
section.IconFile = "sections/asana.png"
|
|
||||||
section.Preview = true
|
section.Preview = true
|
||||||
|
|
||||||
return section
|
return section
|
||||||
|
|
|
@ -29,7 +29,6 @@ func (*code) Meta() TypeMeta {
|
||||||
section.Title = "Code"
|
section.Title = "Code"
|
||||||
section.Description = "Formatted code samples supporting 50+ languages"
|
section.Description = "Formatted code samples supporting 50+ languages"
|
||||||
section.ContentType = "code"
|
section.ContentType = "code"
|
||||||
section.IconFile = "sections/code.png"
|
|
||||||
section.Order = 9997
|
section.Order = 9997
|
||||||
|
|
||||||
return section
|
return section
|
||||||
|
|
|
@ -29,7 +29,6 @@ func (*docusign) Meta() TypeMeta {
|
||||||
section.Title = "DocuSign"
|
section.Title = "DocuSign"
|
||||||
section.Description = "Sign and approve documents"
|
section.Description = "Sign and approve documents"
|
||||||
section.ContentType = "docusign"
|
section.ContentType = "docusign"
|
||||||
section.IconFile = "sections/docusign.png"
|
|
||||||
section.Preview = true
|
section.Preview = true
|
||||||
|
|
||||||
return section
|
return section
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
// Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved.
|
// Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved.
|
||||||
//
|
//
|
||||||
// This software (Documize Community Edition) is licensed under
|
// This software (Documize Community Edition) is licensed under
|
||||||
// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html
|
// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html
|
||||||
//
|
//
|
||||||
// You can operate outside the AGPL restrictions by purchasing
|
// You can operate outside the AGPL restrictions by purchasing
|
||||||
// Documize Enterprise Edition and obtaining a commercial license
|
// Documize Enterprise Edition and obtaining a commercial license
|
||||||
// by contacting <sales@documize.com>.
|
// by contacting <sales@documize.com>.
|
||||||
//
|
//
|
||||||
// https://documize.com
|
// https://documize.com
|
||||||
|
|
||||||
|
@ -66,7 +66,6 @@ func (*gemini) Meta() TypeMeta {
|
||||||
section.Title = "Gemini"
|
section.Title = "Gemini"
|
||||||
section.Description = "Display work items and tickets from workspaces"
|
section.Description = "Display work items and tickets from workspaces"
|
||||||
section.ContentType = "gemini"
|
section.ContentType = "gemini"
|
||||||
section.IconFile = "sections/gemini.png"
|
|
||||||
|
|
||||||
return section
|
return section
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,7 +29,6 @@ func (*github) Meta() TypeMeta {
|
||||||
section.Title = "GitHub"
|
section.Title = "GitHub"
|
||||||
section.Description = "Code commits and branches"
|
section.Description = "Code commits and branches"
|
||||||
section.ContentType = "github"
|
section.ContentType = "github"
|
||||||
section.IconFile = "sections/github.png"
|
|
||||||
section.Preview = true
|
section.Preview = true
|
||||||
|
|
||||||
return section
|
return section
|
||||||
|
|
|
@ -29,7 +29,6 @@ func (*intercom) Meta() TypeMeta {
|
||||||
section.Title = "Intercom"
|
section.Title = "Intercom"
|
||||||
section.Description = "Application events and metrics"
|
section.Description = "Application events and metrics"
|
||||||
section.ContentType = "intercom"
|
section.ContentType = "intercom"
|
||||||
section.IconFile = "sections/intercom.png"
|
|
||||||
section.Preview = true
|
section.Preview = true
|
||||||
|
|
||||||
return section
|
return section
|
||||||
|
|
|
@ -29,7 +29,6 @@ func (*mailchimp) Meta() TypeMeta {
|
||||||
section.Title = "Mailchimp"
|
section.Title = "Mailchimp"
|
||||||
section.Description = "Email campaigns and results"
|
section.Description = "Email campaigns and results"
|
||||||
section.ContentType = "mailchimp"
|
section.ContentType = "mailchimp"
|
||||||
section.IconFile = "sections/mailchimp.png"
|
|
||||||
section.Preview = true
|
section.Preview = true
|
||||||
|
|
||||||
return section
|
return section
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
// Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved.
|
// Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved.
|
||||||
//
|
//
|
||||||
// This software (Documize Community Edition) is licensed under
|
// This software (Documize Community Edition) is licensed under
|
||||||
// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html
|
// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html
|
||||||
//
|
//
|
||||||
// You can operate outside the AGPL restrictions by purchasing
|
// You can operate outside the AGPL restrictions by purchasing
|
||||||
// Documize Enterprise Edition and obtaining a commercial license
|
// Documize Enterprise Edition and obtaining a commercial license
|
||||||
// by contacting <sales@documize.com>.
|
// by contacting <sales@documize.com>.
|
||||||
//
|
//
|
||||||
// https://documize.com
|
// https://documize.com
|
||||||
|
|
||||||
|
@ -31,7 +31,6 @@ func (*markdown) Meta() TypeMeta {
|
||||||
section.Title = "Markdown"
|
section.Title = "Markdown"
|
||||||
section.Description = "CommonMark based markdown content with preview"
|
section.Description = "CommonMark based markdown content with preview"
|
||||||
section.ContentType = "markdown"
|
section.ContentType = "markdown"
|
||||||
section.IconFile = "sections/markdown.png"
|
|
||||||
section.Order = 9998
|
section.Order = 9998
|
||||||
|
|
||||||
return section
|
return section
|
||||||
|
|
|
@ -29,7 +29,6 @@ func (*salesforce) Meta() TypeMeta {
|
||||||
section.Title = "Salesforce"
|
section.Title = "Salesforce"
|
||||||
section.Description = "Customers, contacts and leads"
|
section.Description = "Customers, contacts and leads"
|
||||||
section.ContentType = "salesforce"
|
section.ContentType = "salesforce"
|
||||||
section.IconFile = "sections/salesforce.png"
|
|
||||||
section.Preview = true
|
section.Preview = true
|
||||||
|
|
||||||
return section
|
return section
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
// Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved.
|
// Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved.
|
||||||
//
|
//
|
||||||
// This software (Documize Community Edition) is licensed under
|
// This software (Documize Community Edition) is licensed under
|
||||||
// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html
|
// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html
|
||||||
//
|
//
|
||||||
// You can operate outside the AGPL restrictions by purchasing
|
// You can operate outside the AGPL restrictions by purchasing
|
||||||
// Documize Enterprise Edition and obtaining a commercial license
|
// Documize Enterprise Edition and obtaining a commercial license
|
||||||
// by contacting <sales@documize.com>.
|
// by contacting <sales@documize.com>.
|
||||||
//
|
//
|
||||||
// https://documize.com
|
// https://documize.com
|
||||||
|
|
||||||
|
@ -30,7 +30,6 @@ type TypeMeta struct {
|
||||||
ContentType string `json:"contentType"`
|
ContentType string `json:"contentType"`
|
||||||
Title string `json:"title"`
|
Title string `json:"title"`
|
||||||
Description string `json:"description"`
|
Description string `json:"description"`
|
||||||
IconFile string `json:"iconFile"`
|
|
||||||
Preview bool `json:"preview"` // coming soon!
|
Preview bool `json:"preview"` // coming soon!
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,6 @@ func (*stripe) Meta() TypeMeta {
|
||||||
section.Title = "Stripe"
|
section.Title = "Stripe"
|
||||||
section.Description = "Online and mobile payments, refunds and transfers"
|
section.Description = "Online and mobile payments, refunds and transfers"
|
||||||
section.ContentType = "stripe"
|
section.ContentType = "stripe"
|
||||||
section.IconFile = "sections/stripe.png"
|
|
||||||
section.Preview = true
|
section.Preview = true
|
||||||
|
|
||||||
return section
|
return section
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
// Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved.
|
// Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved.
|
||||||
//
|
//
|
||||||
// This software (Documize Community Edition) is licensed under
|
// This software (Documize Community Edition) is licensed under
|
||||||
// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html
|
// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html
|
||||||
//
|
//
|
||||||
// You can operate outside the AGPL restrictions by purchasing
|
// You can operate outside the AGPL restrictions by purchasing
|
||||||
// Documize Enterprise Edition and obtaining a commercial license
|
// Documize Enterprise Edition and obtaining a commercial license
|
||||||
// by contacting <sales@documize.com>.
|
// by contacting <sales@documize.com>.
|
||||||
//
|
//
|
||||||
// https://documize.com
|
// https://documize.com
|
||||||
|
|
||||||
|
@ -29,7 +29,6 @@ func (*table) Meta() TypeMeta {
|
||||||
section.Title = "Table"
|
section.Title = "Table"
|
||||||
section.Description = "Table with rows, columns and formatting"
|
section.Description = "Table with rows, columns and formatting"
|
||||||
section.ContentType = "table"
|
section.ContentType = "table"
|
||||||
section.IconFile = "sections/table.png"
|
|
||||||
section.Order = 9996
|
section.Order = 9996
|
||||||
|
|
||||||
return section
|
return section
|
||||||
|
|
|
@ -36,7 +36,6 @@ func (*trello) Meta() TypeMeta {
|
||||||
section.Title = "Trello"
|
section.Title = "Trello"
|
||||||
section.Description = "Embed cards from boards and lists"
|
section.Description = "Embed cards from boards and lists"
|
||||||
section.ContentType = "trello"
|
section.ContentType = "trello"
|
||||||
section.IconFile = "sections/trello.png"
|
|
||||||
|
|
||||||
return section
|
return section
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
// Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved.
|
// Copyright 2016 Documize Inc. <legal@documize.com>. All rights reserved.
|
||||||
//
|
//
|
||||||
// This software (Documize Community Edition) is licensed under
|
// This software (Documize Community Edition) is licensed under
|
||||||
// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html
|
// GNU AGPL v3 http://www.gnu.org/licenses/agpl-3.0.en.html
|
||||||
//
|
//
|
||||||
// You can operate outside the AGPL restrictions by purchasing
|
// You can operate outside the AGPL restrictions by purchasing
|
||||||
// Documize Enterprise Edition and obtaining a commercial license
|
// Documize Enterprise Edition and obtaining a commercial license
|
||||||
// by contacting <sales@documize.com>.
|
// by contacting <sales@documize.com>.
|
||||||
//
|
//
|
||||||
// https://documize.com
|
// https://documize.com
|
||||||
|
|
||||||
|
@ -33,7 +33,6 @@ func (*wysiwyg) Meta() TypeMeta {
|
||||||
section.Title = "Rich Text"
|
section.Title = "Rich Text"
|
||||||
section.Description = "WYSIWYG editing with cut-paste image support"
|
section.Description = "WYSIWYG editing with cut-paste image support"
|
||||||
section.ContentType = "wysiwyg"
|
section.ContentType = "wysiwyg"
|
||||||
section.IconFile = "sections/wysiwyg.png"
|
|
||||||
section.Order = 9999
|
section.Order = 9999
|
||||||
|
|
||||||
return section
|
return section
|
||||||
|
|
|
@ -29,7 +29,6 @@ func (*zendesk) Meta() TypeMeta {
|
||||||
section.Title = "Zendesk"
|
section.Title = "Zendesk"
|
||||||
section.Description = "Show customer support tickets"
|
section.Description = "Show customer support tickets"
|
||||||
section.ContentType = "zendesk"
|
section.ContentType = "zendesk"
|
||||||
section.IconFile = "sections/zendesk.png"
|
|
||||||
section.Preview = true
|
section.Preview = true
|
||||||
|
|
||||||
return section
|
return section
|
||||||
|
|