forked from nforge/devnote
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmail.jade
More file actions
33 lines (30 loc) · 1.28 KB
/
Copy pathmail.jade
File metadata and controls
33 lines (30 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
extends adminLayout
block prepend nav
selected = 'mail'
block content
form(method="post", action="/admin/mail", id="mailForm").span9.form-horizontal
div.page-header
h1= __('Send mail')
if notConfigured
div.alert.alert-error!= __("Mail is not configured. <a href='%s'>Click here</a> to configure.", urls.mailConf)
div.control-group
label(name="to").control-label= __('To')
div.controls
input(type="text", name="to", required, placeholder=__('receiver@mail.com'), value=to)
div(style="margin-right: 10px").control-group
label(name="subject").control-label= __('Subject')
div.controls
input(type="text", name="subject", style="width:100%")
div(style="margin-right: 10px").control-group
label(name="body").control-label= __('Body')
div.controls
textarea(id="body", name="body", cols=32, rows="16").input-xlarge.textbody
div
button(type="submit").btn.btn-primary
strong= __('Send')
block prepend script
script(type="text/javascript", src="/scripts/jquery.js")
script(type="text/javascript", src="/bootstrap/js/bootstrap.js")
script(type="text/javascript", src="/scripts/sprintf.js")
script(type="text/javascript", src="/scripts/i18n.js")
script(type="text/javascript", src="/scripts/mail.js")