mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-28 17:01:48 +01:00
Merge branch 'master' into groups
This commit is contained in:
commit
5fd5af9f47
5 changed files with 52 additions and 25 deletions
app/views
|
@ -6,7 +6,16 @@
|
|||
%h3.panel-title Out of questions?
|
||||
.panel-body
|
||||
%button.btn.btn-block.btn-info{type: :button, id: 'ib-generate-question'} Get new question
|
||||
%a.btn.btn-block.btn-primary{target: '_blank', href: "https://twitter.com/intent/tweet?text=Ask%20me%20anything%21&url=#{show_user_profile_url(current_user.screen_name)}"} Share on Twitter
|
||||
.panel.panel-default.inbox--panel
|
||||
.panel-heading
|
||||
%h3.panel-title Share
|
||||
.panel-body
|
||||
%a.btn.btn-block.btn-primary{target: '_blank', href: "https://twitter.com/intent/tweet?text=Ask%20me%20anything%21&url=#{show_user_profile_url(current_user.screen_name)}"}
|
||||
%i.fa.fa-twitter
|
||||
Share on Twitter
|
||||
%a.btn.btn-block.btn-primary{target: '_blank', href: "http://www.tumblr.com/share/link?url=#{show_user_profile_url(current_user.screen_name)}&name=Ask%20me%20anything%21"}
|
||||
%i.fa.fa-tumblr
|
||||
Share on Tumblr
|
||||
.panel.panel-default.warning--panel
|
||||
.panel-heading
|
||||
%h3.panel-title Actions
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
.container.j2-page
|
||||
= render 'notification_tabs'
|
||||
.col-md-9.col-xs-12.col-sm-9
|
||||
.panel.panel-default
|
||||
%ul#notifications.list-group
|
||||
- @notifications.each do |notification|
|
||||
= render 'notifications/notification', notification: notification
|
||||
|
|
|
@ -1,14 +1,9 @@
|
|||
.jumbotron.j2-jumbo.text-center
|
||||
%h1= APP_CONFIG['site_name']
|
||||
%p About our service, features and other information
|
||||
.container
|
||||
%h1.centre
|
||||
About
|
||||
= APP_CONFIG['site_name']
|
||||
|
||||
= render 'layouts/messages'
|
||||
|
||||
/
|
||||
TODO: fill this out.
|
||||
also TODO: find a way to make each panel's height equal
|
||||
|
||||
.row
|
||||
.col-sm-4
|
||||
.panel.panel-default
|
||||
|
|
|
@ -78,6 +78,7 @@
|
|||
7. Can I format my questions/answers?
|
||||
.panel-collapse.collapse{id: "collapseEight", role: "tabpanel", aria: {labelledby: "faqEight"}}
|
||||
.panel-body
|
||||
%p
|
||||
You sure can! We use a customized version of markdown for this. Wrap your text in following ways to format it!
|
||||
%code *italic*
|
||||
or
|
||||
|
@ -90,6 +91,27 @@
|
|||
%code
|
||||
\~~strikethrough~~
|
||||
|
||||
%p
|
||||
You can also create lists with this method:
|
||||
%pre
|
||||
\* item 1
|
||||
\* item 2
|
||||
|
||||
%p
|
||||
Quotes? Here you go!:
|
||||
%pre
|
||||
> This is a quote from a famous person
|
||||
|
||||
%p
|
||||
Don't like the formatting? You can escape it with prepending a
|
||||
%code \
|
||||
before the
|
||||
%code *
|
||||
,
|
||||
%code _
|
||||
or
|
||||
%code >
|
||||
|
||||
.panel.panel-default
|
||||
.panel-heading{id: "faqNine", role: "tab"}
|
||||
%h4.panel-title
|
||||
|
|
Loading…
Reference in a new issue