up template
This commit is contained in:
parent
0a96cf91c1
commit
d1195cf4e3
@ -16,7 +16,7 @@
|
|||||||
(click)="setSubject(i)"
|
(click)="setSubject(i)"
|
||||||
*ngFor="let s of subjects; index as i"
|
*ngFor="let s of subjects; index as i"
|
||||||
[ngClass]="{ active: (currentSubjectId === i) , 'is-finished': s.finished}">
|
[ngClass]="{ active: (currentSubjectId === i) , 'is-finished': s.finished}">
|
||||||
<strong> {{s.id}}) {{ s.title }}</strong>
|
<strong> {{s.id}}) <span *ngIf="s.finished"> 🎉</span><span *ngIf="s.notes.length>1"> 🗒️</span> {{ s.title }}</strong>
|
||||||
|
|
||||||
<p class="is-small">
|
<p class="is-small">
|
||||||
<span class="author-infos">
|
<span class="author-infos">
|
||||||
@ -40,7 +40,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</span>
|
</span>
|
||||||
</p>
|
</p>
|
||||||
<p *ngIf="s.finished">🎉</p>
|
|
||||||
<p class="is-info"
|
<p class="is-info"
|
||||||
*ngIf="isNowTimeBetweenTwoDates(subjects[currentSubjectId].startDate, subjects[currentSubjectId].startDate)">
|
*ngIf="isNowTimeBetweenTwoDates(subjects[currentSubjectId].startDate, subjects[currentSubjectId].startDate)">
|
||||||
sujet actuel dans les temps impartis
|
sujet actuel dans les temps impartis
|
||||||
|
@ -64,11 +64,12 @@ main {
|
|||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
|
|
||||||
textarea{
|
textarea, pre{
|
||||||
border: 1px solid #dedede;
|
border: 1px solid #dedede;
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
width : 100%;
|
width : 100%;
|
||||||
margin-bottom: 1.5em;
|
margin-bottom: 1.5em;
|
||||||
|
overflow-x: auto;
|
||||||
}
|
}
|
||||||
.angular-logo {
|
.angular-logo {
|
||||||
max-width: 9.2rem;
|
max-width: 9.2rem;
|
||||||
@ -224,12 +225,6 @@ button,
|
|||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
|
||||||
width: 20rem;
|
|
||||||
padding: 0.5rem;
|
|
||||||
background: lightslategrey;
|
|
||||||
overflow-x: auto;
|
|
||||||
}
|
|
||||||
|
|
||||||
.is-clickable {
|
.is-clickable {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@ -248,6 +243,10 @@ pre {
|
|||||||
p{
|
p{
|
||||||
margin-top: 1.5em;
|
margin-top: 1.5em;
|
||||||
}
|
}
|
||||||
|
h1{
|
||||||
|
max-height: 3em;
|
||||||
|
overflow: auto;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.rectangle-time-container{
|
.rectangle-time-container{
|
||||||
background: grey;
|
background: grey;
|
||||||
@ -292,3 +291,7 @@ pre {
|
|||||||
margin-block: 1.5rem;
|
margin-block: 1.5rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.actions{
|
||||||
|
margin-bottom: 100vh
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user