create staff links dummy

This commit is contained in:
Luna D 2019-12-04 17:28:53 -05:00
parent b36ef1dd23
commit c3e6bb5f3e
No known key found for this signature in database
GPG key ID: D0F46C94720BAA4B
2 changed files with 69 additions and 2 deletions

View file

@ -104,5 +104,5 @@ header.header
nav.header.header--secondary
.flex.flex--centered.flex--spaced-out.flex--wrap
= render PhilomenaWeb.LayoutView, "_header_navigation.html", assigns
/- if current_user.try(:staff?)
include _header_staff_links.html
= if @current_user.role != "user" do
= render PhilomenaWeb.LayoutView, "_header_staff_links.html", assigns

View file

@ -0,0 +1,67 @@
/ Dummy view for the admin bar
.flex.flex--centered.header--secondary__admin-links.stretched-mobile-links.js-staff-action
.dropdown.hide-mobile
a.header__link title="Admin"
=<> "A"
i.fa.fa-caret-down
.dropdown__content.js-burger-links
= link to: "/admin/flipper", class: "header__link" do
i.fa.fa-fw.fa-toggle-on
| Site Settings
= link to: "/admin/site_notices", class: "header__link" do
i.fa.fa-fw.fa-info-circle
| Site Notices
= link to: "#", class: "header__link" do
i.fa.fa-fw.fa-tags
| Tags
= link to: "#", class: "header__link" do
i.fa.fa-fw.fa-users
| Users
= link to: "#", class: "header__link" do
i.fa.fa-fw.fa-comments
| Comments
= link to: "#", class: "header__link" do
i.fa.fa-fw.fa-paragraph
| Forums
= link to: "#", class: "header__link" do
i.fa.fa-fw.fa-shopping-bag
| Advertisements
= link to: "#", class: "header__link" do
i.fa.fa-fw.fa-trophy
| Badges
= link to: "#", class: "header__link" do
i.fa.fa-fw.fa-sticky-note
| Pages
= link to: "#", class: "header__link" do
i.fa.fa-fw.fa-sticky-note
| Mod Notes
= link to: "#", class: "header__link", title: "Duplicates" do
=<> "D"
span.header__counter__admin
| 0
= link to: "#", class: "header__link", title: "Reports" do
=<> "R"
span.header__counter__admin
| 0
= link to: "#", class: "header__link", title: "User Links" do
=<> "L"
span.header__counter__admin
| 0
= link to: "#", class: "header__link", title: "DNP Requests" do
=<> "S"
span.header__counter__admin
| 0
.dropdown.hide-mobile
a.header__link title="Bans"
=<> "B"
i.fa.fa-caret-down
.dropdown__content.dropdown__content-right.js-burger-links
= link to: "#", class: "header__link" do
i.fa.fa-fw.fa-user
| User Bans
= link to: "#", class: "header__link" do
i.fa.fa-fw.fa-internet-explorer
| IP Bans
= link to: "#", class: "header__link" do
i.fa.fa-fw.fa-desktop
| FP Bans