add bulma framework, style table

This commit is contained in:
Baptiste Lemoine 2020-01-30 13:05:20 +01:00
parent 0e8d18cd80
commit 74ade7ac0f
4 changed files with 9 additions and 4 deletions

View File

@ -30,6 +30,7 @@
"@ngx-translate/core": "^11.0.1",
"@ngx-translate/http-loader": "^4.0.0",
"angular-date-value-accessor": "^0.0.2",
"bulma": "^0.8.0",
"chart.js": "^2.8.0",
"font-awesome": "^4.7.0",
"ngx-clipboard": "^12.3.0",

View File

@ -18,7 +18,7 @@
{{preferred}}
</span >
</div >
<table >
<table class='table is-striped is-bordered is-hoverable' >
<thead >
<tr *ngIf='config.currentPoll.choices && config.currentPoll.choices_count' >
<td >
@ -28,7 +28,6 @@
*ngFor='let choice of config.currentPoll.choices'
>
<!-- {{choice.id}} )-->
{{choice.text}}
</td >
</tr >
@ -50,8 +49,7 @@
<td
*ngFor='let choice of config.currentPoll.choices'
>
id: {{choice.id}}
<!-- {{config.currentPoll.choices[choice.id].score}}-->
{{pollconfig.choices_count.counts[this.pollconfig.choices[2].id].score}}
</td >
</tr >
<tr class='details' >

View File

@ -1,4 +1,5 @@
/* You can add global styles to this file, and also import other style files */
@import "~bulma/bulma";
@import "assets/scss/variables";
@import "assets/scss/default";
@import "assets/scss/useful_classes";

View File

@ -1850,6 +1850,11 @@ builtins@^1.0.3:
resolved "https://registry.yarnpkg.com/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88"
integrity sha1-y5T662HIaWRR2zZTThQi+U8K7og=
bulma@^0.8.0:
version "0.8.0"
resolved "https://registry.yarnpkg.com/bulma/-/bulma-0.8.0.tgz#ac1606431703a4761b18a4a2d5cc1fa864a2aece"
integrity sha512-nhf3rGyiZh/VM7FrSJ/5KeLlfaFkXz0nYcXriynfPH4vVpnxnqyEwaNGdNCVzHyyCA3cHgkQAMpdF/SFbFGZfA==
bytes@3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/bytes/-/bytes-3.0.0.tgz#d32815404d689699f85a4ea4fa8755dd13a96048"