[英]FIWARE Wirecloud: which template files are actually used?
We are customizing a Wirecloud installation to provide our own branding, text and header links. 我们正在定制Wirecloud安装,以提供我们自己的品牌,文本和标题链接。 We have created a subtheme to the 'defaulttheme' and are overlaying our own template, images and sccs files to accomplish our customization. 我们已经为'defaulttheme'创建了一个子主题,并覆盖了我们自己的模板,图像和sccs文件来完成我们的自定义。
We have managed to change the header image, landing page and a few other bits, but are hampered by the following: 我们设法更改了标题图片,着陆页和其他一些内容,但受到以下因素的限制:
Does anyone have a completed custom theme we can look at? 有没有人有我们可以看到的完整自定义主题? Or can someone point out which template files / sccs files are used for branding and overall look-and-feel? 或者有人可以指出哪些模板文件/ sccs文件用于品牌和整体外观?
Remember that you have to include a "Powered by WireCloud" to comply with the WireCloud license. 请记住,您必须包含“Powered by WireCloud”以符合WireCloud许可证。 In the other hand, the "get more components" button can be removed by editing the wirecloud/workspace/wallet/wallet.html
template, by removing the following code: 另一方面,通过删除以下代码,可以通过编辑wirecloud/workspace/wallet/wallet.html
模板来删除“获取更多组件”按钮:
<s:southcontainer> <t:addmore/> </s:southcontainer>
Well, this can also be discussed and documented. 嗯,这也可以讨论和记录。 We usually don't use ids because those elements are better located using some kind of selector. 我们通常不使用id,因为使用某种选择器可以更好地定位这些元素。
Anyway, we are working to improve the documentation about themes ASAP. 无论如何,我们正在努力尽快改进主题文档。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.