Commit 08ae48fe by Kálmán Viktor

dashboard: upgrade fa icons

parent a846fe3c
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<div class="list-group" id="store-list-list"> <div class="list-group" id="store-list-list">
<a href="{% url "dashboard.views.store-list" %}?directory={{ up_url }}" <a href="{% url "dashboard.views.store-list" %}?directory={{ up_url }}"
class="list-group-item store-list-item" data-item-type="D"> class="list-group-item store-list-item" data-item-type="D">
<i class="icon-reply store-list-item-icon"></i> <i class="fa fa-reply store-list-item-icon"></i>
.. ..
<div class="pull-right"> <div class="pull-right">
{{ current }} {{ current }}
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
> >
<div class="store-list-item-icon"> <div class="store-list-item-icon">
<i class=" <i class="
icon-{% if f.TYPE == "D" %}folder-open-alt store-list-item-icon-directory{% else %}file-alt{% endif %}" fa fa-{% if f.TYPE == "D" %}folder-open store-list-item-icon-directory{% else %}file{% endif %}"
></i> ></i>
</div> </div>
{{ f.NAME }} {{ f.NAME }}
...@@ -35,12 +35,12 @@ ...@@ -35,12 +35,12 @@
<div class="store-list-file-infos"> <div class="store-list-file-infos">
<a href="{% url "dashboard.views.store-download" %}?path={{ f.path }}" <a href="{% url "dashboard.views.store-download" %}?path={{ f.path }}"
class="btn btn-primary btn-sm store-download-button"> class="btn btn-primary btn-sm store-download-button">
<i class="icon-download"></i> <i class="fa fa-download"></i>
{% trans "Download" %} {% trans "Download" %}
</a> </a>
<a href="{% url "dashboard.views.store-remove" %}?path={{ f.path }}" <a href="{% url "dashboard.views.store-remove" %}?path={{ f.path }}"
class="btn btn-danger btn-xs store-remove-button"> class="btn btn-danger btn-xs store-remove-button">
<i class="icon-remove"></i> <i class="fa fa-times"></i>
{% trans "Remove" %} {% trans "Remove" %}
</a> </a>
<dl class="dl-horizontal" style="margin: 0; padding: 0;"> <dl class="dl-horizontal" style="margin: 0; padding: 0;">
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
id="store-upload-filename"/> id="store-upload-filename"/>
<span class="input-group-btn"> <span class="input-group-btn">
<button type="submit" class="btn btn-primary btn-xs" disabled> <button type="submit" class="btn btn-primary btn-xs" disabled>
<i class="icon-cloud-upload"></i> {% trans "Upload" %} <i class="fa fa-cloud-upload"></i> {% trans "Upload" %}
</button> </button>
</span> </span>
</div> </div>
...@@ -95,14 +95,14 @@ ...@@ -95,14 +95,14 @@
<div class="list-group-item"> <div class="list-group-item">
<a href="{% url "dashboard.views.store-remove" %}?path={{ current }}" <a href="{% url "dashboard.views.store-remove" %}?path={{ current }}"
class="btn btn-danger btn-xs pull-right"> class="btn btn-danger btn-xs pull-right">
<i class="icon-remove"></i> {% trans "Remove directory" %} <i class="fa fa-times"></i> {% trans "Remove directory" %}
</a> </a>
<form method="POST" action="{% url "dashboard.views.store-new-directory" %}"> <form method="POST" action="{% url "dashboard.views.store-new-directory" %}">
{% csrf_token %} {% csrf_token %}
<input type="hidden" name="path" value="{{ current }}"/> <input type="hidden" name="path" value="{{ current }}"/>
<div class="input-group" style="max-width: 350px;"> <div class="input-group" style="max-width: 350px;">
<span class="input-group-addon input-tags" title="{% trans "New directory" %}"> <span class="input-group-addon input-tags" title="{% trans "New directory" %}">
<i class="icon-folder-open-alt"></i> <i class="fa fa-folder-open-alt"></i>
</span> </span>
<input type="text" class="form-control input-tags" name="name" <input type="text" class="form-control input-tags" name="name"
placeholder="{% trans "Name "%}"/> placeholder="{% trans "Name "%}"/>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<div class="panel-heading"> <div class="panel-heading">
<span class="btn btn-default btn-xs infobtn pull-right" <span class="btn btn-default btn-xs infobtn pull-right"
title="A list of your most recent files!"> title="A list of your most recent files!">
<i class="icon-info-sign"></i> <i class="fa fa-info-circle"></i>
</span> </span>
<h3 class="no-margin"><i class="icon-briefcase"></i> Files <h3 class="no-margin"><i class="icon-briefcase"></i> Files
</h3> </h3>
...@@ -13,19 +13,19 @@ ...@@ -13,19 +13,19 @@
{% for t in toplist %} {% for t in toplist %}
{% if t.TYPE == "F" %} {% if t.TYPE == "F" %}
<div class="list-group-item"> <div class="list-group-item">
<i class="icon-file"></i> {{ t.NAME }} <i class="fa fa-file"></i> {{ t.NAME }}
<a href="{% url "dashboard.views.store-download" %}?path={{ t.path }}" <a href="{% url "dashboard.views.store-download" %}?path={{ t.path }}"
class="pull-right btn btn-xs" style="color: black;"> class="pull-right btn btn-xs" style="color: black;">
<i class="icon-cloud-download" title="{% trans "Download" %}"></i> <i class="fa fa-cloud-download" title="{% trans "Download" %}"></i>
</a> </a>
<a href="{% url "dashboard.views.store-list" %}?directory={{ t.directory }}" <a href="{% url "dashboard.views.store-list" %}?directory={{ t.directory }}"
class="pull-right btn btn-xs" style="color: black;"> class="pull-right btn btn-xs" style="color: black;">
<i class="icon-folder-open" title="{% trans "Show in directory" %}"></i> <i class="fa fa-folder-open" title="{% trans "Show in directory" %}"></i>
</a> </a>
</div> </div>
{% else %} {% else %}
<a href="{% url "dashboard.views.store-list" %}?directory={{ t.path }}" class="list-group-item"> <a href="{% url "dashboard.views.store-list" %}?directory={{ t.path }}" class="list-group-item">
<i class="icon-folder-open"></i> {{ t.NAME }} <i class="fa fa-folder-open"></i> {{ t.NAME }}
</a> </a>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
...@@ -33,14 +33,14 @@ ...@@ -33,14 +33,14 @@
<form class="pull-left" method="POST" action="{% url "dashboard.views.store-refresh-toplist" %}"> <form class="pull-left" method="POST" action="{% url "dashboard.views.store-refresh-toplist" %}">
{% csrf_token %} {% csrf_token %}
<button class="btn btn-success btn-xs" type="submit" title="{% trans "Refresh" %}"/> <button class="btn btn-success btn-xs" type="submit" title="{% trans "Refresh" %}"/>
<i class="icon-refresh"></i> <i class="fa fa-refresh"></i>
</button> </button>
</form> </form>
<a href="{% url "dashboard.views.store-list" %}" class="btn btn-primary btn-xs"> <a href="{% url "dashboard.views.store-list" %}" class="btn btn-primary btn-xs">
<i class="icon-chevron-sign-right"></i> {% trans "show my files" %} <i class="fa fa-chevron-circle-right"></i> {% trans "show my files" %}
</a> </a>
<a href="{% url "dashboard.views.store-upload" %}" class="btn btn-success btn-xs"> <a href="{% url "dashboard.views.store-upload" %}" class="btn btn-success btn-xs">
<i class="icon-cloud-upload"></i> {% trans "upload" %} <i class="fa fa-cloud-upload"></i> {% trans "upload" %}
</a> </a>
</div> </div>
</div> </div>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"> <div class="panel-heading">
<h3 class="no-margin"> <h3 class="no-margin">
<i class="icon-remove"></i> <i class="fa fa-times"></i>
{% if is_dir %} {% if is_dir %}
{% trans "Directory removal confirmation" %} {% trans "Directory removal confirmation" %}
{% else %} {% else %}
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
<a class="btn btn-default pull-right btn-xs" <a class="btn btn-default pull-right btn-xs"
href="{% url "dashboard.views.store-list" %}">Back</a> href="{% url "dashboard.views.store-list" %}">Back</a>
<h3 class="no-margin"> <h3 class="no-margin">
<i class="icon-cloud-upload"></i> <i class="fa fa-cloud-upload"></i>
{% trans "File upload" %} {% trans "File upload" %}
</h3> </h3>
</div> </div>
......
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 sign in to comment