1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-07 14:35:28 +02:00

retina smart section icons

This commit is contained in:
Harvey Kandola 2016-05-20 09:30:15 -07:00
parent 2d7f6e7e10
commit 434358088d
34 changed files with 15 additions and 28 deletions

View file

@ -51,6 +51,8 @@
text-align: center;
margin: 17px 10px 0 20px;
display: inline-block;
height: 45px;
width: 45px;
}
> .details {
@ -68,7 +70,7 @@
font-size: 0.7rem;
color: #cc9933;
display: inline-block;
margin-left: 10px;
margin-left: 10px;
}
}

View file

@ -18,7 +18,7 @@
<ul class="list">
{{#each sections as |section|}}
<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='title'>
{{section.title}}

View file

@ -33,7 +33,7 @@ module.exports = function(environment) {
ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
ENV.apiHost = "https://localhost:5001";
// ENV.apiHost = "https://demo1.dev:5001";
ENV.apiHost = "https://demo1.dev:5001";
}
if (environment === 'test') {

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9 KiB

View file

@ -29,7 +29,6 @@ func (*asana) Meta() TypeMeta {
section.Title = "Asana"
section.Description = "Embed tasks and projects"
section.ContentType = "asana"
section.IconFile = "sections/asana.png"
section.Preview = true
return section

View file

@ -29,7 +29,6 @@ func (*code) Meta() TypeMeta {
section.Title = "Code"
section.Description = "Formatted code samples supporting 50+ languages"
section.ContentType = "code"
section.IconFile = "sections/code.png"
section.Order = 9997
return section

View file

@ -29,7 +29,6 @@ func (*docusign) Meta() TypeMeta {
section.Title = "DocuSign"
section.Description = "Sign and approve documents"
section.ContentType = "docusign"
section.IconFile = "sections/docusign.png"
section.Preview = true
return section

View file

@ -1,11 +1,11 @@
// 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
//
// You can operate outside the AGPL restrictions by purchasing
// Documize Enterprise Edition and obtaining a commercial license
// by contacting <sales@documize.com>.
// by contacting <sales@documize.com>.
//
// https://documize.com
@ -66,7 +66,6 @@ func (*gemini) Meta() TypeMeta {
section.Title = "Gemini"
section.Description = "Display work items and tickets from workspaces"
section.ContentType = "gemini"
section.IconFile = "sections/gemini.png"
return section
}

View file

@ -29,7 +29,6 @@ func (*github) Meta() TypeMeta {
section.Title = "GitHub"
section.Description = "Code commits and branches"
section.ContentType = "github"
section.IconFile = "sections/github.png"
section.Preview = true
return section

View file

@ -29,7 +29,6 @@ func (*intercom) Meta() TypeMeta {
section.Title = "Intercom"
section.Description = "Application events and metrics"
section.ContentType = "intercom"
section.IconFile = "sections/intercom.png"
section.Preview = true
return section

View file

@ -29,7 +29,6 @@ func (*mailchimp) Meta() TypeMeta {
section.Title = "Mailchimp"
section.Description = "Email campaigns and results"
section.ContentType = "mailchimp"
section.IconFile = "sections/mailchimp.png"
section.Preview = true
return section

View file

@ -1,11 +1,11 @@
// 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
//
// You can operate outside the AGPL restrictions by purchasing
// Documize Enterprise Edition and obtaining a commercial license
// by contacting <sales@documize.com>.
// by contacting <sales@documize.com>.
//
// https://documize.com
@ -31,7 +31,6 @@ func (*markdown) Meta() TypeMeta {
section.Title = "Markdown"
section.Description = "CommonMark based markdown content with preview"
section.ContentType = "markdown"
section.IconFile = "sections/markdown.png"
section.Order = 9998
return section

View file

@ -29,7 +29,6 @@ func (*salesforce) Meta() TypeMeta {
section.Title = "Salesforce"
section.Description = "Customers, contacts and leads"
section.ContentType = "salesforce"
section.IconFile = "sections/salesforce.png"
section.Preview = true
return section

View file

@ -1,11 +1,11 @@
// 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
//
// You can operate outside the AGPL restrictions by purchasing
// Documize Enterprise Edition and obtaining a commercial license
// by contacting <sales@documize.com>.
// by contacting <sales@documize.com>.
//
// https://documize.com
@ -30,7 +30,6 @@ type TypeMeta struct {
ContentType string `json:"contentType"`
Title string `json:"title"`
Description string `json:"description"`
IconFile string `json:"iconFile"`
Preview bool `json:"preview"` // coming soon!
}

View file

@ -29,7 +29,6 @@ func (*stripe) Meta() TypeMeta {
section.Title = "Stripe"
section.Description = "Online and mobile payments, refunds and transfers"
section.ContentType = "stripe"
section.IconFile = "sections/stripe.png"
section.Preview = true
return section

View file

@ -1,11 +1,11 @@
// 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
//
// You can operate outside the AGPL restrictions by purchasing
// Documize Enterprise Edition and obtaining a commercial license
// by contacting <sales@documize.com>.
// by contacting <sales@documize.com>.
//
// https://documize.com
@ -29,7 +29,6 @@ func (*table) Meta() TypeMeta {
section.Title = "Table"
section.Description = "Table with rows, columns and formatting"
section.ContentType = "table"
section.IconFile = "sections/table.png"
section.Order = 9996
return section

View file

@ -36,7 +36,6 @@ func (*trello) Meta() TypeMeta {
section.Title = "Trello"
section.Description = "Embed cards from boards and lists"
section.ContentType = "trello"
section.IconFile = "sections/trello.png"
return section
}

View file

@ -1,11 +1,11 @@
// 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
//
// You can operate outside the AGPL restrictions by purchasing
// Documize Enterprise Edition and obtaining a commercial license
// by contacting <sales@documize.com>.
// by contacting <sales@documize.com>.
//
// https://documize.com
@ -33,7 +33,6 @@ func (*wysiwyg) Meta() TypeMeta {
section.Title = "Rich Text"
section.Description = "WYSIWYG editing with cut-paste image support"
section.ContentType = "wysiwyg"
section.IconFile = "sections/wysiwyg.png"
section.Order = 9999
return section

View file

@ -29,7 +29,6 @@ func (*zendesk) Meta() TypeMeta {
section.Title = "Zendesk"
section.Description = "Show customer support tickets"
section.ContentType = "zendesk"
section.IconFile = "sections/zendesk.png"
section.Preview = true
return section