about summary refs log tree commit diff stats
path: root/apworld/docs
ModeNameSize
-rw-r--r--en_Lingo_2.md153log stats plain blame
r <fefferburbia@gmail.com> 2017-07-02 15:30:30 -0400 committer Kelly Rauchenberger <fefferburbia@gmail.com> 2017-07-02 15:30:30 -0400 Styled flash and errors in admin panel' href='/thoughts/commit/app/views/layouts/admin.html.haml?id=9cf94eec5ae98f750f9babc0c37373df87e3981c'>9cf94ee ^
e47e83c ^








e47e83c ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28







                                                                                     









                                    








                                                                 
               
!!! 5
%html
  %head
    %title Thoughts - Admin
    = csrf_meta_tags
    = stylesheet_link_tag    'admin', media: 'all', 'data-turbolinks-track': 'reload'
    = javascript_include_tag 'application', 'data-turbolinks-track': 'reload'
  %body
    #banner
      = link_to "Thoughts", root_url
      - if flash[:alert]
        #flash.flash-alert
          %span.flash-tag ERROR:
          = flash.alert
      - if flash[:notice]
        #flash.flash-notice
          %span.flash-tag NOTICE:
          = flash.notice
    #container
      %ul#sidebar
        %li{major_sidebar_attrs("dashboard")}
          = link_to "Dashboard", admin_url, class: "major-link"
        %li{major_sidebar_attrs("blogs")}
          = link_to "Blogs", admin_blogs_url, class: "major-link"
          %ul.minors
            %li.minor= link_to "New blog", new_admin_blog_url
      #main
        = yield