Feature #3495

Add custom template logos

Added by EOLE Team over 6 years ago. Updated over 5 years ago.

Status:ClosedStart date:01/09/2015
Priority:HighDue date:
Assignee:-% Done:

100%

Category:Sunstone
Target version:Release 5.0
Resolution:fixed Pull request:

Description

Hello,

I wanted to add some custom logos for templates and found that after installing my images in /usr/lib/one/sunstone/public/images/logos/ I need to modify /usr/lib/one/sunstone/public/js/plugins/templates-tab.js.

It could be interesting if users could upload their own logos to be used in templates.

I first thought about something similar to view configuration, a user logo directory and a logo.yaml configuration file.

Now I'm wondering if we could use the Files & Kernel to upload a file of a new image type.

This new type could be used:

  • in templates: the list of usable logos could come from a static list defined in a logo.yaml (to move it out of templates-tab.js) and a dynamic list of files with type image where the user has USE on it
  • in view configuration files: with a syntax similar to file_ds in CONTEXT

Regards.


Related issues

Related to Feature #4203: Show VM logo in more places Closed 11/25/2015
Duplicated by Backlog #4150: Add custom template logo option for VM templates Closed 11/12/2015

Associated revisions

Revision af380ac6
Added by Carlos Martín over 5 years ago

Feature #3495: Add a new sunstone-logos.yaml file to define VM logos

History

#1 Updated by Daniel Molina over 6 years ago

  • Tracker changed from Request to Feature
  • Status changed from Pending to New
  • Priority changed from Normal to High

#2 Updated by Daniel Molina over 6 years ago

  • Tracker changed from Feature to Backlog

#3 Updated by EOLE Team over 5 years ago

Hello,

With version 4.14, just modifying /usr/lib/one/sunstone/public/app/tabs/templates-tab/form-panels/create/wizard-tabs/general.js is not enought.

I needed to install Javascript developpement tools and rebuild /usr/lib/one/sunstone/public/dist/main.js as explained in /usr/lib/one/sunstone/public/README.md

Regards.

#4 Updated by Carlos Martín over 5 years ago

  • Duplicated by Backlog #4150: Add custom template logo option for VM templates added

#5 Updated by Carlos Martín over 5 years ago

#6 Updated by Ruben S. Montero over 5 years ago

  • Tracker changed from Backlog to Feature
  • Target version set to Release 5.0

#7 Updated by Daniel Molina over 5 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
  • Resolution set to fixed

Also available in: Atom PDF