Login
4 branches 0 tags
Ben (U939/Arch Linux) Git SSH handling! 5d38220 1 month ago 15 Commits
rubhub / templates / project_settings.html
<!DOCTYPE html>
<html>
<head>
    <title>Project settings</title>
    <style>
        section {
            max-width: 720px;
            margin: 0 auto;
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        form {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        label {
            display: flex;
            flex-direction: column;
            gap: 6px;
            font-weight: 600;
        }

        input {
            padding: 10px;
            font-size: 16px;
            border: 1px solid #ddd;
            border-radius: 6px;
        }

        button {
            padding: 10px 12px;
            font-size: 16px;
            background: #111827;
            color: white;
            border: none;
            border-radius: 6px;
            cursor: pointer;
        }

        .message {
            background: #e6f4ea;
            border: 1px solid #c7ebd5;
            color: #234f2e;
            padding: 10px;
            border-radius: 6px;
        }
    </style>
</head>
<body>
    <section>
        <h1>Project settings</h1>
        {% if let Some(msg) = message %}
            <div class="message" role="status">{{ msg }}</div>
        {% endif %}
        <form method="post" action="/projects/{{ slug }}/settings">
            <label>
                Project name
                <input name="name" type="text" value="{{ name }}" required>
            </label>
            <button type="submit">Save</button>
        </form>
    </section>
</body>
</html>