Untitled

 avatar
unknown
javascript
3 years ago
1.5 kB
4
Indexable
extends ../layout
block content
    head
        style(type="text/css").
            .row.mb-2 {
                padding: 10px;
            }
            .col-md-3, .col-md-7 {
                border: 1px solid #555;
            }
            .col-md-8 {
                border: 10px solid #555;
            }
    .container
        h1="User <template user>"
        h1="User " + "tmp"
    .container 
        .row.mb-2
            .col-md-4
                img(src='/profile/pictures/profile1.png' alt='Your profile picture goes here' style='max-width: 100%; width: 400px; height:400px; border: 1px solid #555;')
                a(href='/user/settings') Edit your settings
            .col-md-8
                .row.mb-2
                    .col-md-3 Description:
                    .col-md-7
                        div(id="description")
                    //- .col-md-7 Your description will be displayed here
                .row.mb-2
                    .col-md-3 You have weekly emails enabled:
                        div(id="emailsEnabled")
                    .col-md-7 true
                .row.mb-2
                    .col-md-3 List of your bookmarked anime:
                    .col-md-7
                        ul 
                            li anime1 
                            li anime2
                            li anime3
    //- script is supposed to be at the end of <body>. It first loads html and css and then javascript this way
    script(src='/profile/profile.js')
Editor is loading...