Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 6f9ae93c

Přidáno uživatelem Ondřej Váně před téměř 3 roky(ů)

#6 Allow for String AP parameters

- error message and success message move from bottom to the top of the configuration page

Zobrazit rozdíly:

src/main/webapp/WEB-INF/templates/configuration.html
13 13
        .analyze-button-container {
14 14
            margin: 20px 40% 40px;
15 15
        }
16

  
17
        .container {
18
            margin-top: 20px;
19
        }
16 20
    </style>
17 21

  
18 22
</head>
......
23 27

  
24 28
<!-- Page body -->
25 29
<div class="container">
30

  
31
    <!-- Container for show error message -->
32
    <div class="container">
33
        <div th:if="${errorMessage}" th:text="${errorMessage}" class="alert alert-danger" role="alert">
34
        </div>
35
    </div>
36
    <!-- ./Container for show error message -->
37
    <!-- Container for show success message -->
38
    <div class="container">
39
        <div th:if="${successMessage}" th:text="${successMessage}" class="alert alert-success" role="alert">
40
        </div>
41
    </div>
42
    <!-- ./Container for show success message -->
43

  
26 44
    <h1>Configuration</h1>
27 45

  
28 46
    <!-- Form for configuration values -->
......
45 63

  
46 64
            </div>
47 65
        </div>
48
        <!-- Container for show error message -->
49
        <div class="container">
50
            <div th:if="${errorMessage}" th:text="${errorMessage}" class="alert alert-danger" role="alert">
51
            </div>
52
        </div>
53
        <!-- ./Container for show error message -->
54
        <!-- Container for show success message -->
55
        <div class="container">
56
            <div th:if="${successMessage}" th:text="${successMessage}" class="alert alert-success" role="alert">
57
            </div>
58
        </div>
59
        <!-- ./Container for show success message -->
66

  
67
        <!-- Submit button to save configuration -->
60 68
        <div class="analyze-button-container">
61 69
            <button type="submit" class="btn btn-primary btn-lg btn-block">Save</button>
62 70
        </div>
71
        <!-- ./Submit button to save configuration -->
63 72
    </form>
64 73
    <!-- ./Form for configuration values -->
65 74
</div>

Také k dispozici: Unified diff