Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Gutyán Gábor
/
circlestack
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
08ae48fe
authored
Jul 21, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard: upgrade fa icons
parent
a846fe3c
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
17 deletions
+17
-17
circle/dashboard/templates/dashboard/store/_list-box.html
+7
-7
circle/dashboard/templates/dashboard/store/index-files.html
+8
-8
circle/dashboard/templates/dashboard/store/remove.html
+1
-1
circle/dashboard/templates/dashboard/store/upload.html
+1
-1
No files found.
circle/dashboard/templates/dashboard/store/_list-box.html
View file @
08ae48fe
...
...
@@ -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
"%}"
/>
...
...
circle/dashboard/templates/dashboard/store/index-files.html
View file @
08ae48fe
...
...
@@ -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>
...
...
circle/dashboard/templates/dashboard/store/remove.html
View file @
08ae48fe
...
...
@@ -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 %}
...
...
circle/dashboard/templates/dashboard/store/upload.html
View file @
08ae48fe
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment