File size: 3,142 Bytes
9731642
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!doctype html>
<html lang="en">
<head>
    <!-- Required meta tags -->
    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests"> 
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <script src="https://code.jquery.com/jquery-3.7.1.min.js" integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo=" crossorigin="anonymous"></script>
    <script src="{{ url_for('static', filename='js/myscript.js') }}"></script>
	  
    <!-- Bootstrap CSS -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
    <link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">
    
    <title>Πρόβλεψη Μοντέλου</title>
</head>

<style>
  #brandname {
    float: left;
    margin-right: 10px;
    color: firebrick;
  }
  h1 {
    float: right;
  }
  .true-false-bar {
    display: flex;
    flex-direction: column;
  }
  .progress-bar-holder {
    margin-bottom: 10px;
  }
  .progress-bar {
    background: #AED6F1;
  }
  .article-text {
    margin-top: 10px;
    margin-bottom: 0;
    color: black;
  }
  .button {
  border: none;
  color: white;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 14px;
  cursor: pointer;
}

.button1 {background-color: black;} 
  body {
    margin-right: 10px;
  }
  .container {
    display: flex;
    flex-direction: column;
    align-items: left;
    justify-content: center;
    min-height: 50vh;
  }
</style>


<body>
  <div class="container">
    <h3 class="mb-4"><b>Αποτελέσματα ανάλυσης</b></h3>
    <div class="row mb-4">
      <div class="col-md-6">
        <h5>Το προς εξέταση άρθρο:</h5>
      </div>
    </div>
    
    <div class="row mb-4">
      <div class="col-md-6">
        <p><b style="color: black;">"{{mess}}"</b></p>
      </div>
    </div>
    
    <!-- progress 1 -->
    <div class="row mb-3">
      <div class="col-md-6">
        <h5 style="font-size:20px;">{{classes[0]}}</h5>
      </div>
    </div>
    <div class="row mb-3">
      <div class="col-md-6">
        <div class='progress-bar-holder'>
          <div style="background: green;" class='progress-bar'>
            {{props[0]}}%
          </div>
        </div>
      </div>
    </div>
    
    <!-- progress 2 -->
    <div class="row mb-3">
      <div class="col-md-6">
        <h5 style="font-size:20px;">{{classes[1]}}</h5>
      </div>
    </div>
    <div class="row mb-3">
      <div class="col-md-6">
        <div class='progress-bar-holder'>
          <div style="background: red;" class='progress-bar'>
            {{props[1]}}%
          </div>
        </div>
      </div>
    </div>
    <div class="col-md-6">
      <a href="{{ url_for('home') }}"><button class="button button1">Επιστροφή για εισαγωγή νέου άρθρου</button></a>
    </div>
  </div>
</body>