RSNewWebUI/webui-src/app/mail/mail_draftbox.js
Avinash Kumar 53fa5aeec4
UI improvement && logic code for people Webpage (#33)
* fix checkout alignmnet

* fixed create identity issue

* added logic for edit identity as well as create identity

* final changes

* UX changes

* minor fixes

* Signed Create identity is working now

* minor changes

* friend node profile pic is aligned now

* People->Edit && create identity popup responsive

* updated & refactor code

* changes added

* Update people_ownids.js

* Update people_util.js

* feat: people Web page  UI

* minor-fix

* fix prettier & eslint issue

* updated changes

* updated changes

* minor fix

* update changes
2021-04-27 00:08:15 +05:30

29 lines
505 B
JavaScript

const m = require('mithril');
const util = require('mail/mail_util');
const Layout = () => {
return {
view: (v) => [
m('.widget', [
m('h3', 'Drafts'),
m('hr'),
m(
util.Table,
m(
'tbody',
v.attrs.list.map((msg) =>
m(util.MessageSummary, {
details: msg,
category: 'drafts',
})
)
)
),
]),
],
};
};
module.exports = Layout;