Commit 08ae48fe by Kálmán Viktor

dashboard: upgrade fa icons

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