Update bootstrap theme file icons to better differentiate from folders

This commit is contained in:
Gary
2015-02-04 22:48:38 +00:00
parent 9dd055ac3b
commit 1ea57dba41
4 changed files with 4 additions and 4 deletions

View File

@@ -30,7 +30,7 @@
<ul class="commit-list"> <ul class="commit-list">
{% for diff in commit.diffs %} {% for diff in commit.diffs %}
<li><i class="fa fa-file"></i> <a href="#diff-{{ loop.index }}">{{ diff.file }}</a> <span class="meta pull-right">{{ diff.index }}</span></li> <li><i class="fa fa-file-text-o"></i> <a href="#diff-{{ loop.index }}">{{ diff.file }}</a> <span class="meta pull-right">{{ diff.index }}</span></li>
{% endfor %} {% endfor %}
</ul> </ul>

View File

@@ -12,7 +12,7 @@
<div class="meta"></div> <div class="meta"></div>
<div class="btn-group pull-right"> <div class="btn-group pull-right">
<a href="{{ path('blob_raw', {repo: repo, commitishPath: branch ~ '/' ~ file}) }}" class="btn btn-default btn-sm"><span class="fa fa-file"></span> Raw</a> <a href="{{ path('blob_raw', {repo: repo, commitishPath: branch ~ '/' ~ file}) }}" class="btn btn-default btn-sm"><span class="fa fa-file-text-o"></span> Raw</a>
<a href="{{ path('blame', {repo: repo, commitishPath: branch ~ '/' ~ file}) }}" class="btn btn-default btn-sm"><span class="fa fa-bullhorn"></span> Blame</a> <a href="{{ path('blame', {repo: repo, commitishPath: branch ~ '/' ~ file}) }}" class="btn btn-default btn-sm"><span class="fa fa-bullhorn"></span> Blame</a>
<a href="{{ path('commits', {repo: repo, commitishPath: branch ~ '/' ~ file}) }}" class="btn btn-default btn-sm"><span class="fa fa-list"></span> History</a> <a href="{{ path('commits', {repo: repo, commitishPath: branch ~ '/' ~ file}) }}" class="btn btn-default btn-sm"><span class="fa fa-list"></span> History</a>
</div> </div>

View File

@@ -28,7 +28,7 @@
<tbody> <tbody>
{% for result in results %} {% for result in results %}
<tr> <tr>
<td><span class="fa fa-file"></span> <a href="{{ path('blob', {repo: repo, branch: branch, file: result.file, commitishPath: branch ~ '/' ~ result.file}) }}#L{{ result.line }}">{{ result.file }}</a></td> <td><span class="fa fa-file-text-o"></span> <a href="{{ path('blob', {repo: repo, branch: branch, file: result.file, commitishPath: branch ~ '/' ~ result.file}) }}#L{{ result.line }}">{{ result.file }}</a></td>
<td>{{ result.match }}</td> <td>{{ result.match }}</td>
</tr> </tr>
{% endfor %} {% endfor %}

View File

@@ -42,7 +42,7 @@
{% endif %} {% endif %}
{% for file in files %} {% for file in files %}
<tr> <tr>
<td><span class="fa {{ file.type == "folder" or file.type == "symlink" ? "fa-folder-open" : "fa-file" }}"></span> <a href=" <td><span class="fa {{ file.type == "folder" or file.type == "symlink" ? "fa-folder-open" : "fa-file-text-o" }}"></span> <a href="
{%- if file.type == "folder" or file.type == "symlink" -%} {%- if file.type == "folder" or file.type == "symlink" -%}
{{ path('tree', {repo: repo, commitishPath: branch ~ '/' ~ path ~ (file.type == "symlink" ? file.path : file.name)}) }} {{ path('tree', {repo: repo, commitishPath: branch ~ '/' ~ path ~ (file.type == "symlink" ? file.path : file.name)}) }}
{%- else -%} {%- else -%}