1
0
mirror of https://shylinux.com/x/volcanos synced 2025-04-25 16:58:06 +08:00
2023-01-10 21:42:22 +08:00

26 lines
1.3 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Volcanos(chat.ONIMPORT, {_init: function(can, msg, cb, target) {
can.page.ClassList.add(can, can._fields, "repos")
can.page.Append(can, can._output, [{view: "info", list: [{text: "localhost:9020 / golang-story"}, {view: "button", list: [{text: "code"}, {text: "Issues"}, {text: "Pusll Requests"}, {text: "Wiki"}]}]}])
can.page.Append(can, can._output, [{view: "commit", list: [{text: "56 次提交"}, {text: "3 个分支"}, {text: "5 个版本"}]}])
can.page.Append(can, can._output, [{view: "url", list: [
{text: "http://localhost:9020/x/golang-story.git"},
{text: "https"}, {text: "ssh"},
{text: "分支master", className: "branch"},
]}])
var table = can.onappend.table(can, msg)
can.onappend.board(can, msg.Option("file"))
can.page.Select(can, can._output, "div.code", function(target) {
can.page.style(can, target, "background-color", "#f0f0f0")
})
can.onappend.board(can, msg)
can.page.style(can, table, html.WIDTH, can.ConfWidth()-200)
can.page.Select(can, can._output, "div.code", function(target) {
can.page.style(can, target, html.WIDTH, can.ConfWidth()-200)
})
can.page.SelectChild(can, can._output, "*", function(target) {
can.page.style(can, target, html.WIDTH, can.ConfWidth()-200)
can.page.style(can, target, html.MARGIN_LEFT, 100)
})
}}, [""])