Kaynağa Gözat

Row highlight; fix padding; title.

pull/24/head
Ben Kurtovic 9 yıl önce
ebeveyn
işleme
c1fad2e044
2 değiştirilmiş dosya ile 16 ekleme ve 1 silme
  1. +14
    -0
      static/style.css
  2. +2
    -1
      templates/index.mako

+ 14
- 0
static/style.css Dosyayı Görüntüle

@@ -61,6 +61,12 @@ div#sources-container {
border: 1px solid #BBB;
}

div#sources-title {
margin-bottom: -5px;
text-align: center;
font-weight: bold;
}

div#cv-additional {
padding-bottom: 5px;
display: none;
@@ -88,6 +94,10 @@ table#cv-result-sources th {
text-align: left;
}

table#cv-result-sources th:nth-child(2) {
padding-right: 4px;
}

table#cv-result-sources tr:nth-child(even) {
background-color: #E0E0E0;
}
@@ -98,6 +108,10 @@ table#cv-chain-table {
border-spacing: 10px 0;
}

tr#source-row-selected {
background-color: #CFCFCF;
}

td#head-settings {
text-align: right;
}


+ 2
- 1
templates/index.mako Dosyayı Görüntüle

@@ -165,6 +165,7 @@
<% skips = False %>
% if query.action == "search":
<div id="sources-container">
<div id="sources-title">Checked Sources</div>
<table id="cv-result-sources">
<tr>
<th>URL</th>
@@ -172,7 +173,7 @@
<th>Compare</th>
</tr>
% for i, source in enumerate(result.sources):
<tr ${'class="source-default-hidden"' if i >= 10 else ""}>
<tr ${'class="source-default-hidden"' if i >= 10 else 'id="source-row-selected"' if i == 0 else ""}>
<td><a ${'id="source-selected"' if i == 0 else ""} href="${source.url | h}">${source.url | h}</a></td>
<td>
% if source.skipped:


Yükleniyor…
İptal
Kaydet