简体   繁体   English

Ruby on Rails 3.1网页设计

[英]ruby on rails 3.1 web design

May I ask you how to make rails web design more efficient? 请问如何使Rails网页设计更有效率?

Is compass plus blueprint the perfect match? 指南针和蓝图是否完美匹配?

Is the current version of compass support rails3.1 罗盘支持rails3.1的当前版本

Are there any other frameworks that will make rails web deign easier? 还有其他框架可以使Rails Web设计更加容易吗?

Thanks 谢谢

Definitely a framework like compass is awesome, it includes a lot of helpers, and provides a good solid base. 像罗盘这样的框架肯定很棒,它包含许多帮助程序,并提供了良好的基础。

For form-styling I would recommend using a gem like [formtastic][1], which not only greatly simplifies making forms, but also provides a standard css file. 对于表单样式,我建议使用[formtastic] [1]之类的gem,它不仅可以大大简化表单的生成,而且还提供标准的CSS文件。 So all needed tags are then known (and can be overwritten if needed). 这样就知道了所有需要的标签(如果需要可以覆盖)。

There a few alternatives to kickstart your application's layout: 有几种方法可以启动应用程序的布局:

  • twitter-bootstrap : it is plainly awesome and provides a great start (it does not play nice with formtastic, but works perfectly well with simple_form). twitter-bootstrap :确实很棒,并且提供了一个很好的开始(它在formtastic中不能很好地发挥作用,但在simple_form中可以很好地发挥作用)。
  • web-app-theme provides generators, and a set of templates to style your application quickly web-app-theme提供了生成器和一组模板,可快速为您的应用程序设置样式
  • activo is a template that is contained in web-app-theme, but can also be used standalone activo是包含在web-app-theme中的模板,但也可以独立使用

Hope this helps. 希望这可以帮助。

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

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