Commit 59fa8d6b authored by hynek's avatar hynek 🤤
Browse files

improvement(misc): update leftovers

parent 73ccf6de
......@@ -8786,24 +8786,6 @@ body {
border-color: #e5e5e5;
background-color: #ffffff; }
/*
* forms
*/
.form-control-light {
color: #999;
background-color: #ffffff;
border-color: red; }
.form-control-dark {
color: #ffffff;
background-color: rgba(255, 255, 255, 0.1);
border-color: rgba(255, 255, 255, 0.1); }
.form-control-dark:focus {
border-color: transparent;
-webkit-box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25); }
/*
* Utilities
*/
......
This source diff could not be displayed because it is too large. You can view the blob instead.
{% load static i18n compress activeurl %}
<nav class="col-md-2 d-none d-md-block sidebar">
<div class="sidebar-sticky">
{% if request.user.is_authenticated %}
<div class="text-center">
{% include 'ddusers/_user-image.html' with user_uuid=request.user.uuid image_url=request.user.image.url height=80 %}
<p>
<span id="name">{{ request.user.get_academic_name }}</span><br>
<span id="affiliation">{% include 'ddusers/_user_main_affiliation.html' with object=request.user %}</span>
</p>
</div>
<div class="status row cols text-center">
<div class="col">
<a href="#">200</a><br>
Followers
</div>
<div class="col">
<a href="#">100</a><br>
Following
</div>
<div class="col">
<a href="#">200</a><br>
Datasets
</div>
</div>
{% endif %}
{% load static i18n compress%}
<div class="mb-1">
<nav class="navbar fixed-top navbar-expand-sm navbar-light">
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<a class="navbar-brand" href="#"><img src="{% static 'images/logo-primary.svg' %}" height="40" /></a>
<ul class="nav flex-column">
<li class="nav-item">
<a class="nav-link active" href="/">
<img src="{% static 'images/home-non-active.svg' %}" width="24" height="24" />
Home <span class="sr-only">(current)</span>
</a>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="#">{% trans "Home" %}</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{% url 'dddatasets:listing' %}">
<img src="{% static 'images/data-non-active.svg' %}" width="24" height="24" />
{% trans "Data" %}
</a>
</li>
{% if user.is_authenticated %}
<li class="nav-item">
<a class="nav-link" href="{% url 'dddatasets:prep_listing' %}">
<img src="{% static 'images/your_data-non-active.svg' %}" width="24" height="24" />
{% trans "My Data" %}
</a>
<a class="nav-link" href="#">{% trans "About" %}</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">
<img src="{% static 'images/datasetfollowednon-active.svg' %}" width="24" height="24" />
Followed Datasets
</a>
<form class="form-inline">
<input id="navsearch" type="search" placeholder="{% trans "Search" %}" aria-label="Search">
</form>
</li>
{% endif %}
{% if request.user.is_authenticated %}
<li class="nav-item">
<a class="nav-link" href="#">
<img src="{% static 'images/documentation-non-active.svg' %}" width="24" height="24" />
Data Upload
</a>
<a class="nav-link" href="{% url 'ddusers:edit' %}">{% trans "My Profile" %}</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{% url 'ddusers:list' %}">
<img src="{% static 'images/data-non-active.svg' %}" width="24" height="24" />
{% trans "People" %}
</a>
<a class="nav-link" href="#">{% trans "Sign Out" %}</a>
</li>
{% else %}
<li class="nav-item">
<a class="nav-link" href="#">
<img src="{% static 'images/documentation-non-active.svg' %}" width="24" height="24" />
Best Practices & Rules
</a>
<a id="sign-up-link" class="nav-link" href="#">{% trans "Sign Up" %}</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">
<img src="{% static 'images/profile-non-active.svg' %}" width="24" height="24" />
My Profile
</a>
<li class="nav-item" data-toggle="modal" data-target="#signIn">
<a id="log-in-link" class="nav-link" href="#">{% trans "Sign In" %}</a>
</li>
</ul>
</div>
</nav>
\ No newline at end of file
{% endif %}
</ul>
</div>
</nav>
{% load static i18n compress%}
<nav class="navbar-top navbar fixed-top flex-md-nowrap p-0 border-bottom">
<a class="navbar-brand col-sm-3 col-md-2 mr-0" href="#"><img src="{% static 'images/logo-primary.svg' %}" height="40" /></a>
<a class="navbar-brand col-sm-3 col-md-2 mr-0" href="#"><img class="navbar-logo" src="{% static 'images/logo-primary.svg' %}" /></a>
<input class="w-25 form-control" type="text" placeholder="Search" aria-label="Search">
<ul class="navbar-nav px-3">
{% if request.user.is_authenticated %}
{% if request.user.is_authenticated %}
<li class="nav-item">
<a class="nav-link" href="#">{% trans "Sign Out" %}</a>
</li>
{% else %}
<li class="nav-item">
<a id="sign-up-link" class="nav-link" href="#">{% trans "Sign Up" %}</a>
</li>
</li>
{% endif %}
</ul>
</nav>
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment