~netlandish/links-dev

links: Fixing the mobile design adding the configuration options in the mobile nav bar v1 APPLIED

Rael Monge: 1
 Fixing the mobile design adding the configuration options in the mobile nav bar

 2 files changed, 14 insertions(+), 1 deletions(-)
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.code.netlandish.com/~netlandish/links-dev/patches/81/mbox | git am -3
Learn more about email & git

[PATCH links] Fixing the mobile design adding the configuration options in the mobile nav bar Export this patch

---
 static/css/style.css |  4 +++-
 templates/base.html  | 11 +++++++++++
 2 files changed, 14 insertions(+), 1 deletion(-)

diff --git a/static/css/style.css b/static/css/style.css
index 2eec14b..a4f60d6 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -780,7 +780,9 @@ a.bullet-link:before {
  .mobile-nav {
    display: flex;
  }

  .root-container {
    flex-direction: column;
  }
  .advanced-search-btn {
    margin-top: 0;
  }
diff --git a/templates/base.html b/templates/base.html
index a2ac876..13dea2a 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -255,6 +255,17 @@
                    <li><a class="{{if eq .navFlag "admin"}} menu-item--active{{end}}" href="{{reverse "admin:dashboard"}}">{{.base_pd.Data.admin}}</a></li>
                {{end}}
                <li><a href="{{reverse "accounts:logout"}}">{{.base_pd.Data.log_out}}</a></li>
                {{if .settingSection}}
                    <li>
                        <a class="{{if eq .navFlag "org"}} menu-item--active{{end}}" href="{{reverse "core:org_list"}}">{{.base_pd.Data.org}}</a>
                    </li>
                    <li>
                        <a class="{{if eq .navFlag "personal_tokens"}} menu-item--active{{end}}" href="{{reverse "oauth2:list_personal"}}">{{.base_pd.Data.personal_tokens}}</a>
                    </li>
                    <li>
                        <a class="{{if eq .navFlag "client_applications"}} menu-item--active{{end}}" href="{{reverse "oauth2:list_clients"}}">{{.base_pd.Data.client_applications}}</a>
                    </li>
                {{end}}
            {{ else }}
                <li><a href="{{reverse "accounts:login"}}">{{.base_pd.Data.log_in}}</a></li>
            {{end}}
-- 
2.34.1
Pushed. Thanks!