Created
February 17, 2014 08:55
-
-
Save kreshikhin/9047064 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div.row-fluid.well | |
div.row-fluid(data-bind="css: {excluded: excluded}") | |
div.row-fluid | |
div.span1 | |
| ТЕМА | |
div.span8 | |
input(style="width: 100%;" type="text" data-bind="value: title, valueUpdate: 'afterkeydown'") | |
div.span2.pull-right | |
/! /ko ifnot: changed() | |
span.texton(data-bind="click:$root.send_to_all") РАЗОСЛАТЬ ВСЕМ | |
/! /ko | |
div.span1.pull-right | |
/! ko ifnot: excluded() | |
span.texton.span1(data-bind="click:exclude")УДАЛИТЬ | |
/! /ko | |
/! ko if: excluded() | |
span.texton.span1(data-bind="click:include")ВЕРНУТЬ | |
/! /ko | |
div.row-fluid | |
textarea.span12.wysihtml5(rows="10" data-bind="attr:{id: id}, value: text, valueUpdate: 'afterkeydown'" placeholder="Введит текст") | |
div.row-fluid | |
div.span10 | |
input(style="width: 100%;" type="text" data-bind="value: 'email@example.org', valueUpdate: 'afterkeydown'") | |
/! ko ifnot: changed() | |
span.texton.span2(data-bind="click:$root.test_send") ТЕСТОВАЯ РАССЫЛКА | |
/! /ko | |
div.footer.row-fluid | |
div.span2 | |
div.offset5.span5 | |
/! ko if: excluded() | |
button.btn.btn-primary.confirm(data-bind="click: $parent.remove_mailer")ПОДТВЕРДИТЬ УДАЛЕНИЕ | |
button.btn.undo(data-bind="click:include")ОТМЕНИТЬ | |
/! /ko | |
/! ko if: !excluded() && changed() | |
button.btn.btn-primary.save(data-bind="click: save") СОХРАНИТЬ | |
button.btn.undo(data-bind="click: restore") ОТМЕНИТЬ | |
/! /ko |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment