modif export + automatisation + fonction qui centralise tout les exports
This commit is contained in:
@@ -21,15 +21,15 @@ void Web::siteHtml()
|
||||
<title>Liste des parcours</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
font-family: Arial;
|
||||
margin: 40px;
|
||||
background-color: #f0f0f0;
|
||||
color: #333;
|
||||
background-color: whitesmoke;
|
||||
|
||||
}
|
||||
h1 {
|
||||
text-align: center;
|
||||
color: purple;
|
||||
font-style: italic;
|
||||
color: black;
|
||||
font-style: bold;
|
||||
}
|
||||
ul {
|
||||
max-width: 600px;
|
||||
@@ -45,9 +45,9 @@ void Web::siteHtml()
|
||||
box-shadow: 0 0 6px rgba(0,0,0,0.1);
|
||||
transition: background-color 0.3s ease;
|
||||
}
|
||||
/*li:hover {
|
||||
background-color: red;
|
||||
}*/
|
||||
li:hover {
|
||||
background-color:black;
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: purple;
|
||||
@@ -68,8 +68,11 @@ void Web::siteHtml()
|
||||
for (const Path* p : list) {
|
||||
QString fileName = QString("parcours%1.html").arg(index);
|
||||
QString name = p->getName();
|
||||
file << " <li><a href=\"" << fileName.toStdString() << "\">"
|
||||
<< name.toStdString() << "</a></li>\n";
|
||||
file << " <li><a href=\"./pages/"
|
||||
<< fileName.toStdString()
|
||||
<< "\">"
|
||||
<< name.toStdString()
|
||||
<< "</a></li>\n";
|
||||
++index;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user