Retrospring/app/views/static/about.html.haml

113 lines
4.5 KiB
Plaintext
Raw Normal View History

.container
2014-11-24 09:11:44 -08:00
%h1.centre
2014-11-17 04:02:11 -08:00
About
= APP_CONFIG['site_name']
2014-08-01 06:27:08 -07:00
= render 'layouts/messages'
2014-11-24 09:11:44 -08:00
/
TODO: fill this out.
also TODO: find a way to make each panel's height equal
2014-11-17 04:02:11 -08:00
.row
.col-sm-4
2014-11-24 09:11:44 -08:00
.panel.panel-default
.panel-body
2014-11-30 05:21:11 -08:00
%h3 The Team
The people behind
= succeed '!' do
= APP_CONFIG['site_name']
2014-11-24 09:11:44 -08:00
%br/
2014-12-12 07:31:50 -08:00
.media
.pull-left
2014-12-12 07:45:39 -08:00
%a{href: show_user_profile_path('nilsding')}
2015-01-01 08:21:39 -08:00
%img.img-rounded.answerbox--img{src: User.find_by_screen_name('nilsding').profile_picture.url(:medium)}
2014-12-12 07:31:50 -08:00
.media-body
2014-12-12 07:49:15 -08:00
%h4.entry-text.entry-about nilsding
2014-12-12 07:31:50 -08:00
%h6.entry-subtext Backend, Server & Code
.media
.pull-left
2014-12-12 07:45:39 -08:00
%a{href: show_user_profile_path('pixeldesu')}
2015-01-01 08:21:39 -08:00
%img.img-rounded.answerbox--img{src: User.find_by_screen_name('pixeldesu').profile_picture.url(:medium)}
2014-12-12 07:31:50 -08:00
.media-body
2014-12-12 07:49:15 -08:00
%h4.entry-text.entry-about pixeldesu
2014-12-12 07:31:50 -08:00
%h6.entry-subtext Frontend Design & Layout
2015-01-04 15:02:13 -08:00
.media
.pull-left
%a{href: show_user_profile_path('kyr')}
%img.img-rounded.answerbox--img{src: User.find_by_screen_name('kyr').profile_picture.url(:medium)}
.media-body
%h4.entry-text.entry-about kyr
%h6.entry-subtext Node.js & Javascript
2015-01-04 15:10:35 -08:00
.panel.panel-default
.panel-body
2015-01-01 10:10:31 -08:00
%h3 Moderators
2015-01-04 15:10:35 -08:00
The people on
= APP_CONFIG['site_name']
that look after you!
2015-01-01 10:10:31 -08:00
%ul.about--moderator
- User.where(moderator: true).each do |mod|
%li
%a{href: show_user_profile_path(mod.screen_name)}
%img.answerbox--img-small{src: User.find_by_screen_name(mod.screen_name).profile_picture.url(:medium)}
= mod.screen_name
2015-01-04 15:10:35 -08:00
.col-sm-4
.panel.panel-default
.panel-body
%h3 Alpha version
%p This is an alpha version, full of bugs. Caveat emptor.
%p
Found a bug? Have an idea for a must-have feature? Please
= link_to "report them!", 'https://github.com/retrospring/bugs/issues'
2015-01-07 13:06:21 -08:00
%p
Still have some questions? Check our
= link_to "FAQ!", help_faq_path
2014-11-30 07:53:04 -08:00
.panel.panel-default
.panel-body
There are lies, damned lies, and then there are...
%h3 Statistics
.row
.col-xs-6
%h4.entry-text#asked-count= Question.count
%h6.entry-subtext Questions
.col-md-6.col-sm-6.col-xs-6
%h4.entry-text#answered-count= Answer.count
%h6.entry-subtext Answers
2014-12-07 06:10:05 -08:00
.row
.col-xs-6
%h4.entry-text#asked-count= Comment.count
%h6.entry-subtext Comments
.col-md-6.col-sm-6.col-xs-6
%h4.entry-text#answered-count= Smile.count
%h6.entry-subtext Smiles
2014-11-30 07:53:04 -08:00
.row
.col-xs-6
%h4.entry-text#follower-count= User.count
%h6.entry-subtext Users
2014-11-17 04:02:11 -08:00
.col-sm-4
2014-11-24 09:11:44 -08:00
.panel.panel-default
.panel-body
2014-12-10 10:50:49 -08:00
%h3 Donate
We are not backed by any company, but we need some money to keep
our server infrastructure running.
%form{:action => "https://www.paypal.com/cgi-bin/webscr", :method => "post", :target => "_top"}
%input{:name => "cmd", :type => "hidden", :value => "_s-xclick"}/
%input{:name => "hosted_button_id", :type => "hidden", :value => "6ZT5MS6UGU6HC"}/
%input{:alt => "PayPal - The safer, easier way to pay online!", :border => "0", :name => "submit", :src => "https://www.paypalobjects.com/en_US/AT/i/btn/btn_donateCC_LG.gif", :type => "image"}/
%img{:alt => "", :border => "0", :height => "1", :src => "https://www.paypalobjects.com/de_DE/i/scr/pixel.gif", :width => "1"}/
2015-01-04 15:10:35 -08:00
Want to support us over a longer timespan? We also have a Patreon campaign!
%a.btn.btn-primary.btn-block{href: "https://patreon.com/retrospring"} Patreon
2015-01-04 15:32:58 -08:00
.panel.panel-default
.panel-body
%h3 Patrons
People that believe in our vision, and that's why we love them <3
%ul.about--moderator
- User.where(supporter: true).each do |sup|
2015-01-08 13:53:29 -08:00
%a{href: show_user_profile_path(sup.screen_name), title: sup.screen_name, data: { toggle: :tooltip, placement: :top }}
%img.img-rounded.answerbox--img-small{src: sup.profile_picture_url(:medium)}
2014-11-24 09:11:44 -08:00
= render "shared/links"