aboutsummaryrefslogtreecommitdiff
path: root/web/views
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2014-09-14 17:13:40 +0200
committerJochen Topf <jochen@topf.org>2014-09-14 17:13:40 +0200
commitadadac7d3af7b06cbbd24685b7b9e722359e6df3 (patch)
tree331b5ab8c534cd8fc68910090dd1b5aff92f86c3 /web/views
parent43463fd1b8ce847b2fe976427d6c114581342bfa (diff)
downloadtaginfo-adadac7d3af7b06cbbd24685b7b9e722359e6df3.tar
taginfo-adadac7d3af7b06cbbd24685b7b9e722359e6df3.tar.gz
Addition error detection for projects. Better display of projects.
Diffstat (limited to 'web/views')
-rw-r--r--web/views/taginfo/project_error_log.erb3
-rw-r--r--web/views/taginfo/projects.erb10
2 files changed, 6 insertions, 7 deletions
diff --git a/web/views/taginfo/project_error_log.erb b/web/views/taginfo/project_error_log.erb
index 5417905..420f0cd 100644
--- a/web/views/taginfo/project_error_log.erb
+++ b/web/views/taginfo/project_error_log.erb
@@ -1,7 +1,8 @@
<div class="pre">
- <h1 class="section">Error log for project <%= h(@data['name']) %></h1>
+ <h1 class="section">Error log for project file</h1>
</div>
<div class="box">
+ <h2><%= h(@data['name']) %></h2>
<pre>
<%= h(@data['error_log']) %>
</pre>
diff --git a/web/views/taginfo/projects.erb b/web/views/taginfo/projects.erb
index d889aeb..6711f70 100644
--- a/web/views/taginfo/projects.erb
+++ b/web/views/taginfo/projects.erb
@@ -5,8 +5,8 @@
<th>Icon</th>
<th>Project ID<br/>Project Name</th>
<th>Fetch Date<br/>Updated</th><th>Code</th><th>Status</th>
- <th>JSON URL<br/>Data URL</th><th>Fmt<br/>Vers</th>
- <th>Project URL<br/>Doc URL</th><th>Contact</th>
+ <th>JSON URL<br/>Data URL<br/>Project URL<br/>Doc URL</th><th>Fmt<br/>Vers</th>
+ <th>Contact</th>
<th>Description</th>
</tr>
<% @projects.each_with_index do |project, n| c = (n%2!=0) ? ' even' : '' %>
@@ -31,13 +31,11 @@
</td>
<td class="<%= c %> nowrap">
<a href="<%= h(project['json_url']) %>"><%= h(project['json_url']) %></a><br/>
- <a href="<%= h(project['data_url']) %>"><%= h(project['data_url']) %></a>
- </td>
- <td class="tc<%= c %> nowrap"><%= h(project['data_format']) %></td>
- <td class="<%= c %> nowrap">
+ <a href="<%= h(project['data_url']) %>"><%= h(project['data_url']) %></a><br/>
<a href="<%= h(project['project_url']) %>"><%= h(project['project_url']) %></a><br/>
<a href="<%= h(project['doc_url']) %>"><%= h(project['doc_url']) %></a>
</td>
+ <td class="tc<%= c %> nowrap"><%= h(project['data_format']) %></td>
<td class="<%= c %> nowrap"><%= h(project['contact_name']) %><br/><%= h(project['contact_email']) %></td>
<td class="<%= c %>"><%= h(project['description']) %></td>
</tr>