red border, increase ttl

This commit is contained in:
DieMyst 2020-12-03 11:18:02 +03:00
parent c943f41820
commit 6a7b6f17c5
4 changed files with 7 additions and 3 deletions

View File

@ -36,7 +36,7 @@ view model =
viewService : BlueprintInfo -> Html msg
viewService blueprint =
div [ classes "fl w-third-ns pa2" ]
[ a [ attribute "href" ("/blueprint/" ++ blueprint.id), classes "fl bg-white w-100 link dim black mw5 hide-child pa3 br2" ]
[ a [ attribute "href" ("/blueprint/" ++ blueprint.id), classes "fl bg-white w-100 black mw5 pa3 br2 ba b--white bw1 element-box" ]
[ div [ classes "w-100 mb2 b" ] [ text blueprint.name ]
, div [ classes "w-100 mb4" ] [ text ("By " ++ blueprint.author) ]
, div [ classes "w-100" ] [ instancesText blueprint.instanceNumber ]

View File

@ -60,7 +60,7 @@ view modules =
viewService : ModuleShortInfo -> Html msg
viewService moduleInfo =
div [ classes "fl w-third-ns pa2" ]
[ a [ attribute "href" ("/module/" ++ moduleInfo.moduleInfo.name), classes "fl w-100 bg-white link dim black mw5 hide-child pa2 br2" ]
[ a [ attribute "href" ("/module/" ++ moduleInfo.moduleInfo.name), classes "fl w-100 bg-white black mw5 hide-child pa2 br2 element-box ba b--white bw1" ]
[ p [ classes "tl di" ] [ div [ classes "fl b w-100 mb1" ] [ text moduleInfo.moduleInfo.name ], div [ classes "fl w-100 pl1" ] [ instancesText moduleInfo.instanceNumber ] ]
]
]

View File

@ -92,7 +92,7 @@ function event(name: string,peer: string,peers?: string[],identify?: string[],se
}
}
const particle = await build(client.selfPeerId, part.script, map);
const particle = await build(client.selfPeerId, part.script, map, 25000);
await client.sendParticle(particle);
});
})();

View File

@ -16,3 +16,7 @@ body {
h1 {
font-family: 'Roboto Mono', monospace;
}
.element-box:hover {
border-color: #E11E5A;
}