mirror of
https://github.com/benbusby/farside.git
synced 2025-06-08 18:36:36 +00:00
add some css
This commit is contained in:
parent
dfad1393b2
commit
4793c6ffec
1 changed files with 21 additions and 3 deletions
24
index.eex
24
index.eex
|
@ -28,6 +28,23 @@
|
||||||
ul {
|
ul {
|
||||||
margin: 10px;
|
margin: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.services{
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
li.link{
|
||||||
|
list-style-type: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
li.link > a{
|
||||||
|
color: #0066cc
|
||||||
|
}
|
||||||
|
|
||||||
|
li.link > a:hover{
|
||||||
|
font-size: xx-large;
|
||||||
|
color: #004d2e
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
@ -37,13 +54,14 @@
|
||||||
<hr>
|
<hr>
|
||||||
<h3>Last synced <span id="last_updated"><%= DateTime.truncate(last_updated, :second) %></span></h2>
|
<h3>Last synced <span id="last_updated"><%= DateTime.truncate(last_updated, :second) %></span></h2>
|
||||||
<div>
|
<div>
|
||||||
<ul>
|
<ul class = "services">
|
||||||
<%= for service <- services do %>
|
<%= for service <- services do %>
|
||||||
<li><a href="<%= service.fallback %>"><%= service.type %></a></li>
|
<li><%= service.type %></li>
|
||||||
<ul>
|
<ul>
|
||||||
<%= for url <- service.instances do %>
|
<%= for url <- service.instances do %>
|
||||||
<li><a href="<%= url %>"><%= url %></a></li>
|
<li class = "link"><a href="<%= url %>"><%= url %></a></li>
|
||||||
<% end%>
|
<% end%>
|
||||||
|
<li class = "link"><a href="<%= service.fallback %>"><%= service.fallback %></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue