admin: Refactor exercice page to include regexp validator
This commit is contained in:
parent
5eaf1926c1
commit
06dcd0c2b7
3 changed files with 87 additions and 70 deletions
|
|
@ -8,12 +8,14 @@ const indextpl = `<!DOCTYPE html>
|
|||
<link href="/css/bootstrap.min.css" type="text/css" rel="stylesheet">
|
||||
<link href="/css/glyphicon.css" type="text/css" rel="stylesheet" media="screen">
|
||||
<style>
|
||||
samp.cksum {
|
||||
.cksum {
|
||||
overflow-x: hidden;
|
||||
text-overflow: ellipsis;
|
||||
max-width: 20vw;
|
||||
max-width: 100%;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
word-wrap: normal;
|
||||
white-space: nowrap;
|
||||
}
|
||||
</style>
|
||||
<base href="{{.urlbase}}">
|
||||
|
|
|
|||
Reference in a new issue