mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 14:57:59 +01:00
create staff links dummy
This commit is contained in:
parent
b36ef1dd23
commit
c3e6bb5f3e
2 changed files with 69 additions and 2 deletions
|
@ -104,5 +104,5 @@ header.header
|
||||||
nav.header.header--secondary
|
nav.header.header--secondary
|
||||||
.flex.flex--centered.flex--spaced-out.flex--wrap
|
.flex.flex--centered.flex--spaced-out.flex--wrap
|
||||||
= render PhilomenaWeb.LayoutView, "_header_navigation.html", assigns
|
= render PhilomenaWeb.LayoutView, "_header_navigation.html", assigns
|
||||||
/- if current_user.try(:staff?)
|
= if @current_user.role != "user" do
|
||||||
include _header_staff_links.html
|
= render PhilomenaWeb.LayoutView, "_header_staff_links.html", assigns
|
||||||
|
|
|
@ -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
|
Loading…
Reference in a new issue