From 819eb00ab714951506b9b6a5fb7f4f9899d2d37b Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Fri, 6 Oct 2017 07:34:13 +0200 Subject: [PATCH] Removed old template --- mixins/Navigation.pixy | 72 ------------------------------------------ 1 file changed, 72 deletions(-) delete mode 100644 mixins/Navigation.pixy diff --git a/mixins/Navigation.pixy b/mixins/Navigation.pixy deleted file mode 100644 index 88b95beb..00000000 --- a/mixins/Navigation.pixy +++ /dev/null @@ -1,72 +0,0 @@ -//- component Navigation(user *arn.User) -//- if user == nil -//- LoggedOutMenu -//- else -//- LoggedInMenu(user) - -//- component LoggedOutMenu -//- nav#navigation.logged-out -//- #sidebar-toggle.navigation-link.action(data-action="toggleSidebar", data-trigger="click", aria-label="Menu", title="Menu") -//- .navigation-button -//- Icon("bars") -//- span.navigation-text Menu - -//- //- NavigationButton("Explore", "/explore", "th") -//- //- NavigationButton("Forum", "/forum", "comment") - -//- FuzzySearch - -//- //- .extra-navigation -//- //- NavigationButton("Users", "/users", "globe") - -//- //- NavigationButton("Soundtracks", "/soundtracks", "headphones") - -//- NavigationButton("Login", "/login", "sign-in") - -//- component LoggedInMenu(user *arn.User) -//- nav#navigation.logged-in -//- .extension-navigation -//- NavigationButton("Watching list", "/extension/embed", "home") - -//- #sidebar-toggle.navigation-link.action(data-action="toggleSidebar", data-trigger="click", aria-label="Menu", title="Menu") -//- .navigation-button -//- Icon("bars") -//- span.navigation-text Menu - -//- //- .extra-navigation -//- //- NavigationButton("Profile", "/+", "user") - -//- //- .extra-navigation -//- //- NavigationButton("Forum", "/forum", "comment") - -//- //- .extra-navigation -//- //- NavigationButton("Soundtracks", "/soundtracks", "headphones") - -//- FuzzySearch - -//- //- .extra-navigation -//- //- NavigationButton("Users", "/users", "globe") - -//- //- .extra-navigation -//- //- NavigationButton("Explore", "/explore", "th") - -//- //- .extra-navigation -//- //- NavigationButton("Statistics", "/statistics", "pie-chart") - -//- //- .hide-landscape -//- //- NavigationButton("Settings", "/settings", "cog") - -//- //- .extra-navigation.hide-landscape -//- //- NavigationButtonNoAJAX("Logout", "/logout", "sign-out") - -//- component NavigationButton(name string, target string, icon string) -//- a.navigation-link.ajax(href=target, aria-label=name, title=name) -//- .navigation-button -//- Icon(icon) -//- span.navigation-text= name - -//- component NavigationButtonNoAJAX(name string, target string, icon string) -//- a.navigation-link(href=target, aria-label=name) -//- .navigation-button -//- Icon(icon) -//- span.navigation-text= name \ No newline at end of file