Last active
May 20, 2016 20:28
-
-
Save mfifth/de8a9a9ce70698a5f3edba42a48e5a46 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class='page-header'> | |
| <h1>Welcome to the Forums!</h1> | |
| </div> | |
| <h2>Announcements</h2> | |
| <p> | |
| May 12th, 2016 - The infamous hacker known as Radar has once again infiltrated the website!<br> | |
| Please notify the mods of any suspicous behavior. | |
| </p> | |
| <ul class='attributes'> | |
| <li> | |
| <% @forums.each do |forum| %> | |
| <%= link_to forum.title, forum, class: 'btn btn-primary' %> | |
| <% end %> | |
| </li> | |
| </ul> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @import "bootstrap-sprockets"; | |
| @import "bootstrap"; | |
| @import "admin/users"; | |
| @import "admin/application"; | |
| @import "forums"; | |
| @import "topics"; | |
| @import 'font-awesome'; | |
| ul.attributes { | |
| @extend .list-unstyled; | |
| margin-top: 20px; | |
| } | |
| ul.actions { | |
| @extend .list-unstyled; | |
| @extend .list-inline; | |
| } | |
| a.edit, a.delete, a.new { | |
| @extend .btn; | |
| &:before { | |
| font-family: "FontAwesome"; | |
| padding-right: 0.5em; | |
| } | |
| } | |
| body { | |
| margin-top: 60px; | |
| margin-left: 10px; | |
| } | |
| .alert-notice { | |
| @extend .alert-success; | |
| } | |
| .alert-alert { | |
| @extend .alert-danger; | |
| } | |
| a.new { | |
| @extend .btn-success; | |
| &:before { | |
| @extend .fa-plus; | |
| } | |
| } | |
| a.edit { | |
| @extend .btn-warning; | |
| &:before { | |
| @extend .fa-pencil; | |
| } | |
| } | |
| a.delete { | |
| @extend .btn-danger; | |
| &:before { | |
| @extend .fa-trash; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment