Skip to content

Commit

Permalink
refactor(h5test): compile tmpl
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinzZH committed Jun 5, 2018
1 parent d84a681 commit c38b0bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/tsw/util/h5-test/page/tmpl.js
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ define(function(require, exports, module) {

var allGroup = data.allGroup || [],
i;
__p.push('<style>\n.group-menu {\n position: absolute;\n width: 100%;\n text-align: right;\n top: 0;\n right: .5em;\n}\n.group-menu .group-item {\n padding: 0.3em 0.6em;\n cursor: pointer;\n background: #FFF;\n box-shadow: 0 1px 2px 0 rgba(34,36,38,.15);\n margin: 0 1em 1em 0;\n border-radius: .28571429rem;\n border: 1px solid rgba(34,36,38,.15);\n font-size: 50%;\n}\n.group-menu .group-item.cur{\n background: green !important;\n}\n\n.group-menu .group-item.cur a{\n color: white !important;\n}\n\n.group-menu .group-item:hover{\n background: #eee;\n}\n.group-menu .group-item a {\n color: rgba(0,0,0,.6);\n font-weight: 700;\n text-transform: none;\n}\n.h5test-envs {\n max-height: 400px;\n overflow-y: auto;\n}\n #join-submit2{\n margin-right: 1em;\n }\n</style>\n<div class="ui grid container">');
__p.push('<style>\n.group-menu {\n position: absolute;\n width: 100%;\n text-align: right;\n top: 0;\n right: .5em;\n}\n.group-menu .group-item {\n padding: 0.3em 0.6em;\n cursor: pointer;\n background: #FFF;\n box-shadow: 0 1px 2px 0 rgba(34,36,38,.15);\n margin: 0 1em 1em 0;\n border-radius: .28571429rem;\n border: 1px solid rgba(34,36,38,.15);\n font-size: 50%;\n}\n.group-menu .group-item.cur{\n background: green !important;\n}\n\n.group-menu .group-item.cur a{\n color: white !important;\n}\n\n.group-menu .group-item:hover{\n background: #eee;\n}\n.group-menu .group-item a {\n color: rgba(0,0,0,.6);\n font-weight: 700;\n text-transform: none;\n}\n.h5test-envs {\n max-height: 400px;\n overflow-y: auto;\n}\n#join-submit2{\n margin-right: 1em;\n}\n</style>\n<div class="ui grid container">');
if (!data.project) {
__p.push(' <div class="row" style="margin-top: 30px">\n <h1>TSW 测试环境配置</h1>\n </div>');
} __p.push(' <div class="row">\n <div class="column">\n <div class="ui raised segment">\n <a class="ui blue ribbon label">#1 选择测试环境</a>');
Expand Down

0 comments on commit c38b0bb

Please sign in to comment.