[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7975":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":17,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":18,"rankGlobal":10,"rankLanguage":10,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":22,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":24,"readmeContent":25,"aiSummary":26,"trendingCount":16,"starSnapshotCount":16,"syncStatus":27,"lastSyncTime":28,"discoverSource":29},7975,"web-app-theme","gravityblast\u002Fweb-app-theme","gravityblast","A simple theme for web apps","",null,"Ruby",2440,384,61,26,0,1,29.76,"Other",false,"master",true,[],"2026-06-12 02:01:47","# Web App Theme\n\nWeb App Theme is a rails generator by [Andrea Franz](http:\u002F\u002Fgravityblast.com) that you can use to generate admin panels quickly.\nInspired by cool themes like [Lighthouse](http:\u002F\u002Flighthouseapp.com\u002F), [Basecamp](http:\u002F\u002Fbasecamphq.com\u002F), [RadiantCMS](http:\u002F\u002Fradiantcms.org\u002F) and others,\nit wants to be an idea to start developing a complete web application layout.\n\n![Web App Theme screenshot](http:\u002F\u002Fimg.skitch.com\u002F20091109-c2k618qerx1ysw5ytxsighuf3f.jpg)\n\n\n\n\n## Installation\n\n\n#### Rails >= 3.1.0\nFor this version, all the stylesheets are stored inside the gems assets path. They don't need to be copied to the to the application, unless you want to customize them (using the web_app_theme:assets generator). There only css file generated when you run the theme generator is the web_app_theme.css that includes the theme of your choice.\nAdd to your gemfile:\n\n    gem 'web-app-theme', '~> 0.8.0'\n\n\n#### Other versions\nYou can use web-app-theme >= 0.6.2 with Rails 3. If you want to use it with rails 2, use web-app-theme 0.5.3\nSpecify the web-app-theme gem in your Gemfile, only for :development and :test\n\n    group :development, :test do\n      gem 'web-app-theme', '>= 0.6.2'\n    end\n\n\n\n\n## Usage\n\n\n\n### Theme Generator\n\nUsed without parameters, it generates the layout inside the application.html.erb file using the default theme.\n\n    rails g web_app_theme:theme\n\nYou can specify the layout file name in the first parameter:\n\n    rails g web_app_theme:theme admin # it will generate a layout called `admin.html.erb`\n\nIf you want to use another theme, instead of the default, you can use the `--theme` option:\n\n    rails g web_app_theme:theme admin --theme=\"drastic-dark\"\n\nYou can specify the template engine with `--engine=name` option, where name can be erb (default) or haml:\n\n    rails g web_app_theme:theme --engine=haml # you must specify haml in your Gemfile\n\nIf you want to generate the stylesheets of a specific theme without changing the previously generated layout you can pass the `--no-layout` option:\n\n    rails g web_app_theme:theme --theme=bec --no-layout\n\n\nYou can specify the text used in the header with the `--app-name` option:\n\n    rails g web_app_theme:theme --app-name=\"My New Application\"\n  \nIf you need a layout for login and signup pages, you can use the `--type` option with `sign` as value. Ìf not specified, the default value is `administration`\n\n    rails g web_app_theme:theme sign --layout-type=sign\n\n\n\n### Assets Generator\n\nUsed to copy a theme of your choice from the gem to your application, without parameters it will copy the 'default' theme\n  \n  rails g web_app_theme:assets --theme=red\n\nThis will copy the theme files on your app\u002Fassets\u002Fstylesheets\u002Fweb-app-theme path.\nAlso this will copy theme's images to app\u002Fassets\u002Fimages\u002Fweb-app-theme path\n\n\n\n### Themed Generator\n\nStart creating your controllers manually or with a scaffold, and then use the `themed generator` to overwrite the previously generated views.\n\nIf you have a controller named like the plural of the used model you can specify just the first parameter:\n\n    rails g web_app_theme:themed posts # you have a model named Post and a controller named PostsController\n    \n    rails g web_app_theme:themed admin\u002Fgallery_pictures # you have a model named GalleryPicture and a controller named Admin::GalleryPicturesController\n\nUse the `--layout` option specifying the previously generated layout to add a link to the controller you are working on:\n\n    rails g web_app_theme:themed posts --layout=admin # you will see the `Posts` link in the navigation\n\nIf the controller has a name different to the model used, specify the controller path in the first parameter and the model name in the second one:\n\n    rails g web_app_theme:themed items post\n    \n    rails g web_app_theme:themed admin\u002Fitems post\n\nIf you use `will_paginate` for pagination use the `--will-paginate`:\n\n    rails g web_app_theme:themed items post --will-paginate\n\nYou can specify the template engine with `--engine=name` option, where name can be erb (default) or haml:\n\n    rails g web_app_theme:themed posts --engine=haml\n\nIf you have something like `map.resource :dashboard` in your `routes.rb` file, you can use the `--type=text` to generate a view with just text:\n    \n    rails g web_app_theme:themed dashboards --themed-type=text\n\nIf you want to show form error messages inside the generated forms, use the following code inside your `environment.rb`\n\n    ActionView::Base.field_error_proc = Proc.new do |html_tag, instance| \n      if html_tag =~ \u002F\u003Clabel\u002F\n        %|\u003Cdiv class=\"fieldWithErrors\">#{html_tag} \u003Cspan class=\"error\">#{[instance.error_message].join(', ')}\u003C\u002Fspan>\u003C\u002Fdiv>|.html_safe\n      else\n        html_tag\n      end\n    end\n\nIf you want to have translated pages, simple create in your locale.yml the keys just like config\u002Flocales\u002Fen_us.yml example.\n\n\ten_us:\n\t  web-app-theme: \n\t    save: Save\n\t    cancel: Cancel\n\t    list: List\n\t    edit: Edit\n\t    new: New\n\t    show: Show\n\t    delete: Delete\n\t    confirm: Are you sure?\n\t    created_at: Created at\n\t    all: All\n\n\n\n\n## Contributing\n\n* Fork this repository.\n* Duplicate the  'themes\u002Fdefault' folder and rename it.\n* Modify the style.css file adding your favorite colors.\n* Add a link to your theme in the 'Switch Theme' block inside the index.html file.\n* Send a pull request.\n\n\n\n\n## Links\n\n* Repository: git:\u002F\u002Fgithub.com\u002Fpilu\u002Fweb-app-theme.git\n* List: \u003Chttp:\u002F\u002Fgroups.google.com\u002Fgroup\u002Fweb-app-theme-generator>\n* Issues: \u003Chttp:\u002F\u002Fgithub.com\u002Fpilu\u002Fweb-app-theme\u002Fissues>\n* Gem: \u003Chttp:\u002F\u002Fgemcutter.org\u002Fgems\u002Fweb-app-theme>\n* Themes: \u003Chttp:\u002F\u002Fpilu.github.com\u002Fweb-app-theme>\n\n\n\n\n## Author\n\nAndrea Franz - [http:\u002F\u002Fgravityblast.com](http:\u002F\u002Fgravityblast.com)\n\n\n\n\n## Contributors\n\n* Nelson Fernandez\n* Giovanni Intini\n* Jeremy Durham\n* Wouter de Vries\n* Marco Borromeo\n* rick mckay\n* Peter Sarnacki\n* Garret Alfert\n* Mikkel Hoegh\n* Juan Maria Martinez Arce\n* Stas SUSHKOV\n* Daniel Cukier\n* Roberto Klein\n* Bryan Woods\n* Sandro Duarte\n* David Francisco\n\n\n\n\n## Credits\n\n* Icons: FAMFAMFAM Silk icons \u003Chttp:\u002F\u002Fwww.famfamfam.com\u002Flab\u002Ficons\u002Fsilk\u002F>\n* Buttons: Particletree - Rediscovering the Button Element \u003Chttp:\u002F\u002Fparticletree.com\u002Ffeatures\u002Frediscovering-the-button-element\u002F>\n","Web App Theme 是一个基于 Ruby 的 Rails 生成器，用于快速创建管理面板。其核心功能包括通过命令行生成带有预设主题的布局文件，支持多种模板引擎（如 ERB 和 HAML），并允许自定义主题样式。用户可以通过简单的命令指定主题、布局类型以及应用名称等参数，从而快速搭建出美观且功能齐全的后台管理系统界面。此项目特别适合需要快速开发或原型设计时使用，能够显著提高前端开发效率。",2,"2026-06-11 03:15:26","top_language"]