简体   繁体   English

使用Heroku自定义望远镜应用

[英]Customizing Telescope app with Heroku

My simple question is: how do I link a logo to the title of my app. 我的简单问题是:如何将徽标链接到应用程序的标题。

Which begs the greater question: How exactly do I interact with the telescope template in the best way through heroku. 这就引出了一个更大的问题:如何通过heroku以最佳方式与望远镜模板进行精确交互。 Linking with dropbox has left me with a folder with only 2 code files that simply link to the a page on how to launch your telescope app wit heroku and git. 与dropbox的链接给我留了一个只有2个代码文件的文件夹,这些文件仅链接到有关如何使用heroku和git启动望远镜应用程序的页面。

In short, How exactly do best I interact with my telescope app. 简而言之,我如何最好地与望远镜应用程序进行交互。 I have an understanding on html/css and some javascript/php/python 我对html / css和一些javascript / php / python有了解

I only want to make simple aesthetic changes, but I really just want to know how to communicate. 我只想进行简单的美学更改,但是我真的只想知道如何交流。

In order to make aesthetic changes you need to change the templates and add CSS files as needed. 为了进行美学更改,您需要更改模板并根据需要添加CSS文件。 To interact with the templates look into adding HTML classes and IDs to your elements and then make the aesthetic changes in a CSS file to the elements with the CSS selectors . 要与模板进行交互,请考虑在元素中添加HTML ID ,然后使用CSS选择器在CSS文件中对元素进行美观更改。

You should not need to change anything in Heroku because it should already be set up to serve the files that already exist. 您不需要在Heroku中进行任何更改,因为应该已经对其进行了设置以提供已经存在的文件。

After you make the changes perhaps you should look into deploying with meteor itself rather than using Heroku. 进行更改后,也许您应该考虑使用流星本身进行部署,而不是使用Heroku。

If you're just looking to change the logo on the top banner you should actually be able to do that fairly easily through the Settings panel without needing any code. 如果您只是想更改顶部横幅上的徽标,则实际上应该可以在“设置”面板中轻松完成此操作,而无需任何代码。 Log in on an admin account, then at top right go to Settings, then Logo. 登录一个管理员帐户,然后在右上角依次单击“设置”和“徽标”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM