Upload folder using huggingface_hub
Browse files- index.html +109 -58
index.html
CHANGED
|
@@ -993,38 +993,79 @@
|
|
| 993 |
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
|
| 994 |
}
|
| 995 |
|
| 996 |
-
/* Productivity Options */
|
| 997 |
-
.productivity-
|
| 998 |
-
display:
|
| 999 |
-
|
|
|
|
| 1000 |
margin-top: 10px;
|
| 1001 |
}
|
| 1002 |
|
| 1003 |
-
.
|
| 1004 |
-
|
| 1005 |
-
padding: 15px;
|
| 1006 |
-
border: 2px solid #e2e8f0;
|
| 1007 |
border-radius: 10px;
|
| 1008 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1009 |
cursor: pointer;
|
| 1010 |
transition: all 0.3s;
|
|
|
|
|
|
|
| 1011 |
}
|
| 1012 |
|
| 1013 |
-
.
|
| 1014 |
-
border-color:
|
| 1015 |
-
background:
|
| 1016 |
}
|
| 1017 |
|
| 1018 |
-
.
|
| 1019 |
-
border-color:
|
| 1020 |
-
background:
|
| 1021 |
-
|
| 1022 |
}
|
| 1023 |
|
| 1024 |
-
.
|
| 1025 |
-
font-size: 1.
|
| 1026 |
-
margin-bottom:
|
| 1027 |
display: block;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1028 |
}
|
| 1029 |
|
| 1030 |
/* Energy Pattern */
|
|
@@ -1271,7 +1312,10 @@
|
|
| 1271 |
font-size: 2rem;
|
| 1272 |
}
|
| 1273 |
|
| 1274 |
-
.productivity-
|
|
|
|
|
|
|
|
|
|
| 1275 |
.energy-patterns {
|
| 1276 |
flex-direction: column;
|
| 1277 |
}
|
|
@@ -1816,7 +1860,7 @@
|
|
| 1816 |
</div>
|
| 1817 |
</section>
|
| 1818 |
|
| 1819 |
-
<!-- Objectif Section -->
|
| 1820 |
<section id="objectif" class="tab-content">
|
| 1821 |
<div class="card">
|
| 1822 |
<div class="card-header">
|
|
@@ -1867,38 +1911,44 @@
|
|
| 1867 |
</select>
|
| 1868 |
</div>
|
| 1869 |
|
| 1870 |
-
<!--
|
| 1871 |
-
<div class="
|
| 1872 |
-
<
|
| 1873 |
-
<div class="
|
| 1874 |
-
<
|
| 1875 |
-
|
| 1876 |
-
<div>
|
| 1877 |
-
|
| 1878 |
-
|
| 1879 |
-
|
| 1880 |
-
<
|
| 1881 |
-
<div
|
| 1882 |
-
|
|
|
|
|
|
|
|
|
|
| 1883 |
</div>
|
| 1884 |
</div>
|
| 1885 |
-
|
| 1886 |
-
|
| 1887 |
-
|
| 1888 |
-
|
| 1889 |
-
|
| 1890 |
-
|
| 1891 |
-
|
| 1892 |
-
|
| 1893 |
-
|
| 1894 |
-
|
| 1895 |
-
|
| 1896 |
-
|
| 1897 |
-
|
| 1898 |
-
|
| 1899 |
-
|
| 1900 |
-
<div
|
| 1901 |
-
|
|
|
|
|
|
|
|
|
|
| 1902 |
</div>
|
| 1903 |
</div>
|
| 1904 |
</div>
|
|
@@ -2820,19 +2870,20 @@
|
|
| 2820 |
// Sélectionner la méthode de productivité
|
| 2821 |
function selectProductivityMethod(method) {
|
| 2822 |
productivityMethod = method;
|
| 2823 |
-
document.querySelectorAll('.
|
| 2824 |
-
|
| 2825 |
});
|
| 2826 |
-
event.target.closest('.
|
| 2827 |
}
|
| 2828 |
|
| 2829 |
// Sélectionner le type d'énergie
|
| 2830 |
function selectEnergyPattern(pattern) {
|
| 2831 |
energyPattern = pattern;
|
| 2832 |
-
document.querySelectorAll('.
|
| 2833 |
-
|
|
|
|
| 2834 |
});
|
| 2835 |
-
event.target.closest('.
|
| 2836 |
}
|
| 2837 |
|
| 2838 |
// Basculer créneau horaire
|
|
@@ -2930,7 +2981,7 @@
|
|
| 2930 |
repetition: i + 1,
|
| 2931 |
type: i === 0 ? 'Apprentissage' : i < 3 ? 'Consolidation' : 'Maintien',
|
| 2932 |
strategie: i === 0 ? 'Focus intense' : 'Révision active',
|
| 2933 |
-
productivity_method: productivityMethod === 'pomodoro' ? '
|
| 2934 |
optimal_time: energyPattern === 'morning' ? '08:00-10:00' :
|
| 2935 |
energyPattern === 'evening' ? '19:00-21:00' : 'Adaptable'
|
| 2936 |
});
|
|
|
|
| 993 |
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
|
| 994 |
}
|
| 995 |
|
| 996 |
+
/* Productivity Options - STYLE MODIFIÉ */
|
| 997 |
+
.productivity-grid {
|
| 998 |
+
display: grid;
|
| 999 |
+
grid-template-columns: 1fr 1fr;
|
| 1000 |
+
gap: 20px;
|
| 1001 |
margin-top: 10px;
|
| 1002 |
}
|
| 1003 |
|
| 1004 |
+
.option-section {
|
| 1005 |
+
background: white;
|
|
|
|
|
|
|
| 1006 |
border-radius: 10px;
|
| 1007 |
+
padding: 1rem;
|
| 1008 |
+
border: 1px solid #e2e8f0;
|
| 1009 |
+
}
|
| 1010 |
+
|
| 1011 |
+
.option-section h4 {
|
| 1012 |
+
font-size: 1rem;
|
| 1013 |
+
color: #333;
|
| 1014 |
+
margin-bottom: 10px;
|
| 1015 |
+
display: flex;
|
| 1016 |
+
align-items: center;
|
| 1017 |
+
gap: 8px;
|
| 1018 |
+
}
|
| 1019 |
+
|
| 1020 |
+
.option-section h4 i {
|
| 1021 |
+
color: #333;
|
| 1022 |
+
}
|
| 1023 |
+
|
| 1024 |
+
.option-grid {
|
| 1025 |
+
display: grid;
|
| 1026 |
+
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
| 1027 |
+
gap: 10px;
|
| 1028 |
+
}
|
| 1029 |
+
|
| 1030 |
+
.option-item {
|
| 1031 |
+
padding: 12px;
|
| 1032 |
+
border: 1px solid #e2e8f0;
|
| 1033 |
+
border-radius: 8px;
|
| 1034 |
cursor: pointer;
|
| 1035 |
transition: all 0.3s;
|
| 1036 |
+
text-align: center;
|
| 1037 |
+
background: white;
|
| 1038 |
}
|
| 1039 |
|
| 1040 |
+
.option-item:hover {
|
| 1041 |
+
border-color: #666;
|
| 1042 |
+
background: #f8f9fa;
|
| 1043 |
}
|
| 1044 |
|
| 1045 |
+
.option-item.selected {
|
| 1046 |
+
border-color: #333;
|
| 1047 |
+
background: #f0f0f0;
|
| 1048 |
+
font-weight: 600;
|
| 1049 |
}
|
| 1050 |
|
| 1051 |
+
.option-icon {
|
| 1052 |
+
font-size: 1.2rem;
|
| 1053 |
+
margin-bottom: 5px;
|
| 1054 |
display: block;
|
| 1055 |
+
color: #333;
|
| 1056 |
+
}
|
| 1057 |
+
|
| 1058 |
+
.option-title {
|
| 1059 |
+
font-weight: 500;
|
| 1060 |
+
color: #333;
|
| 1061 |
+
font-size: 0.9rem;
|
| 1062 |
+
margin-bottom: 3px;
|
| 1063 |
+
}
|
| 1064 |
+
|
| 1065 |
+
.option-description {
|
| 1066 |
+
font-size: 0.8rem;
|
| 1067 |
+
color: #666;
|
| 1068 |
+
line-height: 1.2;
|
| 1069 |
}
|
| 1070 |
|
| 1071 |
/* Energy Pattern */
|
|
|
|
| 1312 |
font-size: 2rem;
|
| 1313 |
}
|
| 1314 |
|
| 1315 |
+
.productivity-grid {
|
| 1316 |
+
grid-template-columns: 1fr;
|
| 1317 |
+
}
|
| 1318 |
+
|
| 1319 |
.energy-patterns {
|
| 1320 |
flex-direction: column;
|
| 1321 |
}
|
|
|
|
| 1860 |
</div>
|
| 1861 |
</section>
|
| 1862 |
|
| 1863 |
+
<!-- Objectif Section - STYLE MODIFIÉ -->
|
| 1864 |
<section id="objectif" class="tab-content">
|
| 1865 |
<div class="card">
|
| 1866 |
<div class="card-header">
|
|
|
|
| 1911 |
</select>
|
| 1912 |
</div>
|
| 1913 |
|
| 1914 |
+
<!-- Section modifiée avec style professionnel noir et blanc -->
|
| 1915 |
+
<div class="productivity-grid">
|
| 1916 |
+
<!-- Méthode Productivité -->
|
| 1917 |
+
<div class="option-section">
|
| 1918 |
+
<h4><i class="fas fa-chart-line"></i> Méthode Productivité</h4>
|
| 1919 |
+
<div class="option-grid">
|
| 1920 |
+
<div class="option-item selected" onclick="selectProductivityMethod('pomodoro')">
|
| 1921 |
+
<span class="option-icon"><i class="fas fa-hourglass-half"></i></span>
|
| 1922 |
+
<div class="option-title">Pomodoro</div>
|
| 1923 |
+
<div class="option-description">25 min / 5 min pause</div>
|
| 1924 |
+
</div>
|
| 1925 |
+
<div class="option-item" onclick="selectProductivityMethod('deepwork')">
|
| 1926 |
+
<span class="option-icon"><i class="fas fa-brain"></i></span>
|
| 1927 |
+
<div class="option-title">Deep Work</div>
|
| 1928 |
+
<div class="option-description">90 min focus intense</div>
|
| 1929 |
+
</div>
|
| 1930 |
</div>
|
| 1931 |
</div>
|
| 1932 |
+
|
| 1933 |
+
<!-- Type d'Énergie -->
|
| 1934 |
+
<div class="option-section">
|
| 1935 |
+
<h4><i class="fas fa-bolt"></i> Type d'Énergie</h4>
|
| 1936 |
+
<div class="option-grid">
|
| 1937 |
+
<div class="option-item selected" onclick="selectEnergyPattern('morning')">
|
| 1938 |
+
<span class="option-icon"><i class="fas fa-sun"></i></span>
|
| 1939 |
+
<div class="option-title">Matinale</div>
|
| 1940 |
+
<div class="option-description">Productif le matin</div>
|
| 1941 |
+
</div>
|
| 1942 |
+
<div class="option-item" onclick="selectEnergyPattern('evening')">
|
| 1943 |
+
<span class="option-icon"><i class="fas fa-moon"></i></span>
|
| 1944 |
+
<div class="option-title">Vespérale</div>
|
| 1945 |
+
<div class="option-description">Productif le soir</div>
|
| 1946 |
+
</div>
|
| 1947 |
+
<div class="option-item" onclick="selectEnergyPattern('flexible')">
|
| 1948 |
+
<span class="option-icon"><i class="fas fa-sync-alt"></i></span>
|
| 1949 |
+
<div class="option-title">Flexible</div>
|
| 1950 |
+
<div class="option-description">Adaptable</div>
|
| 1951 |
+
</div>
|
| 1952 |
</div>
|
| 1953 |
</div>
|
| 1954 |
</div>
|
|
|
|
| 2870 |
// Sélectionner la méthode de productivité
|
| 2871 |
function selectProductivityMethod(method) {
|
| 2872 |
productivityMethod = method;
|
| 2873 |
+
document.querySelectorAll('.option-item').forEach(item => {
|
| 2874 |
+
item.classList.remove('selected');
|
| 2875 |
});
|
| 2876 |
+
event.target.closest('.option-item').classList.add('selected');
|
| 2877 |
}
|
| 2878 |
|
| 2879 |
// Sélectionner le type d'énergie
|
| 2880 |
function selectEnergyPattern(pattern) {
|
| 2881 |
energyPattern = pattern;
|
| 2882 |
+
const patternElements = document.querySelectorAll('.option-section:nth-child(2) .option-item');
|
| 2883 |
+
patternElements.forEach(item => {
|
| 2884 |
+
item.classList.remove('selected');
|
| 2885 |
});
|
| 2886 |
+
event.target.closest('.option-item').classList.add('selected');
|
| 2887 |
}
|
| 2888 |
|
| 2889 |
// Basculer créneau horaire
|
|
|
|
| 2981 |
repetition: i + 1,
|
| 2982 |
type: i === 0 ? 'Apprentissage' : i < 3 ? 'Consolidation' : 'Maintien',
|
| 2983 |
strategie: i === 0 ? 'Focus intense' : 'Révision active',
|
| 2984 |
+
productivity_method: productivityMethod === 'pomodoro' ? 'Pomodoro' : 'Deep Work',
|
| 2985 |
optimal_time: energyPattern === 'morning' ? '08:00-10:00' :
|
| 2986 |
energyPattern === 'evening' ? '19:00-21:00' : 'Adaptable'
|
| 2987 |
});
|