Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>NSFW Rating App</title> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> | |
| <style> | |
| :root { | |
| --primary-color: #ff6b6b; | |
| --secondary-color: #4ecdc4; | |
| --dark-color: #2d3436; | |
| --light-color: #f5f6fa; | |
| --shadow: 0 4px 6px rgba(0, 0, 0, 0.1); | |
| --border-radius: 8px; | |
| } | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| } | |
| body { | |
| background-color: var(--light-color); | |
| color: var(--dark-color); | |
| line-height: 1.6; | |
| } | |
| header { | |
| background-color: var(--primary-color); | |
| color: white; | |
| padding: 1rem; | |
| text-align: center; | |
| box-shadow: var(--shadow); | |
| } | |
| header h1 { | |
| font-size: 2rem; | |
| margin-bottom: 0.5rem; | |
| } | |
| header a { | |
| color: white; | |
| text-decoration: none; | |
| font-size: 0.9rem; | |
| } | |
| .container { | |
| max-width: 1200px; | |
| margin: 0 auto; | |
| padding: 2rem; | |
| } | |
| .upload-section { | |
| background-color: white; | |
| border-radius: var(--border-radius); | |
| box-shadow: var(--shadow); | |
| padding: 2rem; | |
| margin-bottom: 2rem; | |
| } | |
| .upload-section h2 { | |
| margin-bottom: 1rem; | |
| color: var(--primary-color); | |
| } | |
| .upload-form { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 1rem; | |
| } | |
| .form-group { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 0.5rem; | |
| } | |
| .form-group label { | |
| font-weight: bold; | |
| } | |
| .form-group input, | |
| .form-group textarea, | |
| .form-group select { | |
| padding: 0.75rem; | |
| border: 1px solid #ddd; | |
| border-radius: var(--border-radius); | |
| font-size: 1rem; | |
| } | |
| .form-group input[type="file"] { | |
| padding: 0.5rem; | |
| } | |
| .measurements { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); | |
| gap: 1rem; | |
| } | |
| .measurement-group { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 0.5rem; | |
| } | |
| .btn { | |
| background-color: var(--primary-color); | |
| color: white; | |
| border: none; | |
| padding: 0.75rem 1.5rem; | |
| border-radius: var(--border-radius); | |
| cursor: pointer; | |
| font-size: 1rem; | |
| transition: background-color 0.3s; | |
| } | |
| .btn:hover { | |
| background-color: #ff5252; | |
| } | |
| .ratings-section { | |
| background-color: white; | |
| border-radius: var(--border-radius); | |
| box-shadow: var(--shadow); | |
| padding: 2rem; | |
| } | |
| .ratings-section h2 { | |
| margin-bottom: 1rem; | |
| color: var(--primary-color); | |
| } | |
| .rating { | |
| background-color: #f8f9fa; | |
| border-radius: var(--border-radius); | |
| padding: 1rem; | |
| margin-bottom: 1rem; | |
| border-left: 4px solid var(--secondary-color); | |
| } | |
| .rating-header { | |
| display: flex; | |
| justify-content: space-between; | |
| margin-bottom: 0.5rem; | |
| } | |
| .rating-header .rating-score { | |
| font-weight: bold; | |
| color: var(--primary-color); | |
| font-size: 1.2rem; | |
| } | |
| .rating-body { | |
| line-height: 1.6; | |
| } | |
| .rating-footer { | |
| display: flex; | |
| justify-content: space-between; | |
| margin-top: 0.5rem; | |
| font-size: 0.8rem; | |
| color: #666; | |
| } | |
| footer { | |
| text-align: center; | |
| padding: 1rem; | |
| margin-top: 2rem; | |
| color: #666; | |
| font-size: 0.9rem; | |
| } | |
| @media (max-width: 768px) { | |
| .container { | |
| padding: 1rem; | |
| } | |
| .measurements { | |
| grid-template-columns: 1fr; | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <header> | |
| <h1>NSFW Rating App</h1> | |
| <p>Get brutally honest ratings from our panel</p> | |
| <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank">Built with anycoder</a> | |
| </header> | |
| <div class="container"> | |
| <section class="upload-section"> | |
| <h2>Upload Your Content</h2> | |
| <form class="upload-form" id="uploadForm"> | |
| <div class="form-group"> | |
| <label for="contentType">Content Type</label> | |
| <select id="contentType" name="contentType"> | |
| <option value="image">Image</option> | |
| <option value="video">Video</option> | |
| </select> | |
| </div> | |
| <div class="form-group"> | |
| <label for="contentFile">Upload File</label> | |
| <input type="file" id="contentFile" name="contentFile" accept="image/*,video/*" required> | |
| </div> | |
| <div class="form-group"> | |
| <label for="description">Description (Optional)</label> | |
| <textarea id="description" name="description" rows="3" placeholder="Add any additional details..."></textarea> | |
| </div> | |
| <div class="form-group"> | |
| <label>Measurements (Optional)</label> | |
| <div class="measurements"> | |
| <div class="measurement-group"> | |
| <label for="length">Length (cm)</label> | |
| <input type="number" id="length" name="length" placeholder="e.g., 15"> | |
| </div> | |
| <div class="measurement-group"> | |
| <label for="girth">Girth (cm)</label> | |
| <input type="number" id="girth" name="girth" placeholder="e.g., 12"> | |
| </div> | |
| </div> | |
| </div> | |
| <button type="submit" class="btn">Submit for Rating</button> | |
| </form> | |
| </section> | |
| <section class="ratings-section"> | |
| <h2>Recent Ratings</h2> | |
| <div id="ratingsContainer"> | |
| <!-- Ratings will be dynamically inserted here --> | |
| <div class="rating"> | |
| <div class="rating-header"> | |
| <span class="rating-score">8.5/10</span> | |
| <span class="rater-info">Rated by: SavageTeenGirl#42</span> | |
| </div> | |
| <div class="rating-body"> | |
| <p>Okay, so I'm gonna be real with you. This is actually pretty decent. The length is good, and the girth is on point. I mean, it's not the biggest I've seen, but it's definitely not small either. The shape is nice, and it looks well-maintained. I'd say you're doing something right. Keep it up!</p> | |
| </div> | |
| <div class="rating-footer"> | |
| <span>2 hours ago</span> | |
| <span>Image</span> | |
| </div> | |
| </div> | |
| <div class="rating"> | |
| <div class="rating-header"> | |
| <span class="rating-score">6.0/10</span> | |
| <span class="rater-info">Rated by: SavageTeenGirl#17</span> | |
| </div> | |
| <div class="rating-body"> | |
| <p>Honestly, it's okay. I've seen better, I've seen worse. The length is average, but the girth could use some work. It's not bad, but it's not great either. You might wanna hit the gym and work on those pelvic muscles. Just saying.</p> | |
| </div> | |
| <div class="rating-footer"> | |
| <span>5 hours ago</span> | |
| <span>Video</span> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| </div> | |
| <footer> | |
| <p>© 2023 NSFW Rating App. All rights reserved.</p> | |
| </footer> | |
| <script> | |
| document.getElementById('uploadForm').addEventListener('submit', function(e) { | |
| e.preventDefault(); | |
| // Here you would typically handle the file upload and send it to a server | |
| // For this example, we'll just simulate a rating response | |
| const contentType = document.getElementById('contentType').value; | |
| const description = document.getElementById('description').value; | |
| const length = document.getElementById('length').value; | |
| const girth = document.getElementById('girth').value; | |
| // Simulate a rating response | |
| const ratings = [ | |
| { | |
| score: (Math.random() * 5 + 5).toFixed(1), | |
| rater: `SavageTeenGirl#${Math.floor(Math.random() * 100) + 1}`, | |
| comment: getRandomComment(), | |
| time: "just now", | |
| type: contentType | |
| } | |
| ]; | |
| // Occasionally show all ratings (10% chance) | |
| if (Math.random() < 0.1) { | |
| for (let i = 0; i < 9; i++) { | |
| ratings.push({ | |
| score: (Math.random() * 5 + 5).toFixed(1), | |
| rater: `SavageTeenGirl#${Math.floor(Math.random() * 100) + 1}`, | |
| comment: getRandomComment(), | |
| time: "just now", | |
| type: contentType | |
| }); | |
| } | |
| } | |
| // Display the ratings | |
| const ratingsContainer = document.getElementById('ratingsContainer'); | |
| ratings.forEach(rating => { | |
| const ratingElement = document.createElement('div'); | |
| ratingElement.className = 'rating'; | |
| ratingElement.innerHTML = ` | |
| <div class="rating-header"> | |
| <span class="rating-score">${rating.score}/10</span> | |
| <span class="rater-info">Rated by: ${rating.rater}</span> | |
| </div> | |
| <div class="rating-body"> | |
| <p>${rating.comment}</p> | |
| </div> | |
| <div class="rating-footer"> | |
| <span>${rating.time}</span> | |
| <span>${rating.type}</span> | |
| </div> | |
| `; | |
| ratingsContainer.insertBefore(ratingElement, ratingsContainer.firstChild); | |
| }); | |
| // Reset the form | |
| this.reset(); | |
| }); | |
| function getRandomComment() { | |
| const comments = [ | |
| "Okay, so I'm gonna be real with you. This is actually pretty decent. The length is good, and the girth is on point. I mean, it's not the biggest I've seen, but it's definitely not small either. The shape is nice, and it looks well-maintained. I'd say you're doing something right. Keep it up!", | |
| "Honestly, it's okay. I've seen better, I've seen worse. The length is average, but the girth could use some work. It's not bad, but it's not great either. You might wanna hit the gym and work on those pelvic muscles. Just saying.", | |
| "Wow, just wow. This is impressive. The length is amazing, and the girth is perfect. I mean, this is what we all dream about. You must be doing something right. Keep it up, king!", | |
| "I'm sorry, but this is just not it. The length is too short, and the girth is lacking. I mean, it's not the worst, but it's definitely not good. You might wanna consider some exercises or something. Just being honest.", | |
| "This is average at best. The length is okay, but the girth is just not there. It's not bad, but it's not great either. You might wanna work on it a bit more. Just my two cents.", | |
| "Okay, so this is actually pretty good. The length is nice, and the girth is decent. It's not the best I've seen, but it's definitely above average. Keep it up, you're doing great!", | |
| "I'm gonna be honest, this is just not good. The length is too short, and the girth is lacking. I mean, it's not the worst, but it's definitely not good. You might wanna consider some exercises or something. Just being honest.", | |
| "This is amazing! The length is perfect, and the girth is just right. I mean, this is what we all dream about. You must be doing something right. Keep it up, king!", | |
| "It's okay, I guess. The length is average, and the girth is decent. It's not the best, but it's not the worst either. You might wanna work on it a bit more. Just my opinion.", | |
| "Wow, just wow. This is impressive. The length is amazing, and the girth is perfect. I mean, this is what we all dream about. You must be doing something right. Keep it up, king!" | |
| ]; | |
| return comments[Math.floor(Math.random() * comments.length)]; | |
| } | |
| </script> | |
| </body> | |
| </html> |