Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 3374af1a

Přidáno uživatelem stepanekp před téměř 3 roky(ů)

#23 selection page edited

Zobrazit rozdíly:

src/main/webapp/WEB-INF/templates/index.html
34 34
                <table th:if="${not #lists.isEmpty(query.projects)}" class="table">
35 35
                    <thead>
36 36
                    <tr>
37
                        <th scope="col">#</th>
38 37
                        <th scope="col">Project Name</th>
39
                        <th scope="col">Detail</th>
40 38
                        <th scope="col">Detect?</th>
41 39
                    </tr>
42 40
                    </thead>
43 41
                    <tbody>
44 42
                    <tr th:each="project : ${query.projects}">
45
                        <td th:text="${project.id}"></td>
46
                        <td th:text="${project.name}"></td>
47
                        <td><a th:href="@{'/projects/' + ${project.id}}">Show</a></td>
43
                        <td><a th:text="${project.name}" th:href="@{'/projects/' + ${project.id}}" class="anchor-table"></a></td>
48 44
                        <td style="text-align: center">
49 45
                            <input checked type="checkbox" class="form-check-input" name="selectedProjects"
50 46
                                   th:value="${project.id}" th:id="@{project_} + ${project.id}">
51 47
                        </td>
52 48
                    </tr>
53 49
                    <tr>
54
                        <td></td>
55
                        <td></td>
56 50
                        <td></td>
57 51
                        <td>
58 52
                            <input checked type="checkbox" class="form-check-input" id="select_all_projects"
......
72 66
                <table th:if="${not #lists.isEmpty(query.antiPatterns)}" class="table">
73 67
                    <thead>
74 68
                    <tr>
75
                        <th scope="col">#</th>
76 69
                        <th scope="col">Anti-pattern</th>
77
                        <th scope="col">Detail</th>
78 70
                        <th scope="col">Detect?</th>
79 71
                    </tr>
80 72
                    </thead>
81 73
                    <tbody>
82 74
                    <tr th:each="antiPattern : ${query.antiPatterns}">
83
                        <td th:text="${antiPattern.id}"></td>
84
                        <td th:text="${antiPattern.printName}"></td>
85
                        <td><a th:href="@{'/anti-patterns/' + ${antiPattern.id}}">Show</a></td>
75
                        <td><a th:text="${antiPattern.printName}" th:href="@{'/anti-patterns/' + ${antiPattern.id}}" class="anchor-table"></a></td>
86 76
                        <td style="text-align: center">
87 77
                            <input checked type="checkbox" class="form-check-input" name="selectedAntiPatterns"
88 78
                                   th:value="${antiPattern.id}" th:id="@{anti-pattern_} + ${antiPattern.id}">
89 79
                        </td>
90 80
                    </tr>
91 81
                    <tr>
92
                        <td></td>
93
                        <td></td>
94 82
                        <td></td>
95 83
                        <td>
96 84
                            <input checked type="checkbox" class="form-check-input" id="select_all_anti_patterns"
src/main/webapp/resources/css/style.css
19 19
    margin: 20px 40% 40px;
20 20
}
21 21

  
22
.anchor-table{
23
    color: black !important;
24
}
25

  
22 26
/* ==========================================================================
23 27
   project.html & anti-pattern.html
24 28
   ========================================================================== */

Také k dispozici: Unified diff