Kehitysehdotus-nappi footeriin
💡-nappi sivun alareunassa avaa kehitysehdotuslomakkeen suoraan (navigoi todo/features-välilehdelle ja avaa uuden ehdotuksen). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1667,6 +1667,7 @@
|
||||
|
||||
<footer>
|
||||
<p id="footer-text">Noxus Intra © 2026</p>
|
||||
<button class="footer-idea-btn" onclick="openFeatureSuggestion()" title="Ehdota kehitysideaa">💡 Kehitysehdotus?</button>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
|
||||
10
script.js
10
script.js
@@ -4556,6 +4556,16 @@ document.getElementById('netadmin-detail-form')?.addEventListener('submit', asyn
|
||||
} catch (e) { alert('Tallennus epäonnistui: ' + e.message); }
|
||||
});
|
||||
|
||||
// ==================== FOOTER: KEHITYSEHDOTUS ====================
|
||||
|
||||
function openFeatureSuggestion() {
|
||||
switchToTab('todo', 'features');
|
||||
// Pieni viive jotta tab ehtii latautua
|
||||
setTimeout(() => {
|
||||
openFeatureEdit(null);
|
||||
}, 200);
|
||||
}
|
||||
|
||||
// ==================== DOKUMENTIT ====================
|
||||
|
||||
let allDocuments = [];
|
||||
|
||||
21
style.css
21
style.css
@@ -493,6 +493,27 @@ footer {
|
||||
font-size: 0.8rem;
|
||||
border-top: 1px solid #e5e7eb;
|
||||
margin-top: 1rem;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 1.5rem;
|
||||
}
|
||||
|
||||
.footer-idea-btn {
|
||||
background: none;
|
||||
border: 1px dashed #ccc;
|
||||
border-radius: 20px;
|
||||
padding: 0.35rem 1rem;
|
||||
font-size: 0.8rem;
|
||||
color: #999;
|
||||
cursor: pointer;
|
||||
transition: all 0.2s;
|
||||
}
|
||||
|
||||
.footer-idea-btn:hover {
|
||||
border-color: var(--primary-color);
|
||||
color: var(--primary-color);
|
||||
background: #f0f7ff;
|
||||
}
|
||||
|
||||
/* Buttons */
|
||||
|
||||
Reference in New Issue
Block a user