Gitlab CSE Unil

Commit 8a9e7090 authored by Julien Furrer's avatar Julien Furrer
Browse files

Adapted AnObjMgr for displaying ttp properties properly

parent f05f6ae9
@font-face {
font-family: 'adim';
src: url('../fonts/adim.eot?28abcp8');
src: url('../fonts/adim.eot?#iefix28abcp8') format('embedded-opentype'), url('../fonts/adim.woff?28abcp8') format('woff'), url('../fonts/adim.ttf?28abcp8') format('truetype'), url('../fonts/adim.svg?28abcp8#adim') format('svg');
src: url('../fonts/adim.eot?32abcp9');
src: url('../fonts/adim.eot?#iefix32abcp9') format('embedded-opentype'), url('../fonts/adim.woff?32abcp9') format('woff'), url('../fonts/adim.ttf?32abcp9') format('truetype'), url('../fonts/adim.svg?32abcp9#adim') format('svg');
font-weight: normal;
font-style: normal;
}
......@@ -33,3 +33,6 @@
.adim-icon-color:before {
content: "\e602";
}
.adim-icon-ttp-moodle:before {
content: "\e603";
}
@no_cache: '28abcp8';
@no_cache: '32abcp9';
@font-face {
font-family: 'adim';
src:url('../fonts/adim.eot?@{no_cache}');
......@@ -43,3 +43,7 @@
.adim-icon-color:before {
content: "\e602";
}
.adim-icon-ttp-moodle:before {
content: "\e603";
}
......@@ -134,8 +134,8 @@
}
@font-face {
font-family: 'adim';
src: url('../fonts/adim.eot?28abcp8');
src: url('../fonts/adim.eot?#iefix28abcp8') format('embedded-opentype'), url('../fonts/adim.woff?28abcp8') format('woff'), url('../fonts/adim.ttf?28abcp8') format('truetype'), url('../fonts/adim.svg?28abcp8#adim') format('svg');
src: url('../fonts/adim.eot?32abcp9');
src: url('../fonts/adim.eot?#iefix32abcp9') format('embedded-opentype'), url('../fonts/adim.woff?32abcp9') format('woff'), url('../fonts/adim.ttf?32abcp9') format('truetype'), url('../fonts/adim.svg?32abcp9#adim') format('svg');
font-weight: normal;
font-style: normal;
}
......@@ -167,6 +167,9 @@
.adim-icon-color:before {
content: "\e602";
}
.adim-icon-ttp-moodle:before {
content: "\e603";
}
body {
background-color: #424242;
overflow: hidden;
......@@ -1815,7 +1818,11 @@ fieldset[disabled] .btn-cimaf-layer.active {
}
.aom-list-item .btn-toolbar {
margin-left: 3px;
opacity: 0.5;
opacity: 0.66;
}
.aom-list-item .btn-toolbar [class^="adim-icon-ttp-"],
.aom-list-item .btn-toolbar [class*=" adim-icon-ttp-"] {
font-size: 14px;
}
.aom-list-item a,
.aom-list-item .item-body {
......
......@@ -341,7 +341,11 @@
}
.aom-list-item .btn-toolbar {
margin-left: 3px;
opacity: 0.5;
opacity: 0.66;
}
.aom-list-item .btn-toolbar [class^="adim-icon-ttp-"],
.aom-list-item .btn-toolbar [class*=" adim-icon-ttp-"] {
font-size: 14px;
}
.aom-list-item a,
.aom-list-item .item-body {
......
......@@ -317,7 +317,11 @@
.btn-toolbar {
margin-left: 3px;
opacity: 0.5;
opacity: 0.66;
[class^="adim-icon-ttp-"], [class*=" adim-icon-ttp-"] {
font-size: 14px;
}
}
a, .item-body {
......
This diff is collapsed.
......@@ -10,5 +10,6 @@
<glyph unicode="&#xe600;" d="M0 448h512v-32h-512v32zM0 320h512v-64h-512v64zM0 160h512v-96h-512v96z" />
<glyph unicode="&#xe601;" d="M264 312h16v-16h-16v16zM296 312h16v-16h-16v16zM328 312h16v-16h-16v16zM360 312h16v-16h-16v16zM248 296h16v-16h-16v16zM280 296h16v-16h-16v16zM312 296h16v-16h-16v16zM344 296h16v-16h-16v16zM232 280h16v-16h-16v16zM264 280h16v-16h-16v16zM296 280h16v-16h-16v16zM328 280h16v-16h-16v16zM360 280h16v-16h-16v16zM376 296h16v-16h-16v16zM216 264h16v-16h-16v16zM248 264h16v-16h-16v16zM280 264h16v-16h-16v16zM312 264h16v-16h-16v16zM344 264h16v-16h-16v16zM200 248h16v-16h-16v16zM232 248h16v-16h-16v16zM264 248h16v-16h-16v16zM296 248h16v-16h-16v16zM328 248h16v-16h-16v16zM360 248h16v-16h-16v16zM376 264h16v-16h-16v16zM184 232h16v-16h-16v16zM216 232h16v-16h-16v16zM248 232h16v-16h-16v16zM280 232h16v-16h-16v16zM312 232h16v-16h-16v16zM344 232h16v-16h-16v16zM168 216h16v-16h-16v16zM200 216h16v-16h-16v16zM232 216h16v-16h-16v16zM264 216h16v-16h-16v16zM296 216h16v-16h-16v16zM328 216h16v-16h-16v16zM360 216h16v-16h-16v16zM376 232h16v-16h-16v16zM184 200h16v-16h-16v16zM216 200h16v-16h-16v16zM248 200h16v-16h-16v16zM280 200h16v-16h-16v16zM312 200h16v-16h-16v16zM344 200h16v-16h-16v16zM168 184h16v-16h-16v16zM200 184h16v-16h-16v16zM232 184h16v-16h-16v16zM264 184h16v-16h-16v16zM296 184h16v-16h-16v16zM328 184h16v-16h-16v16zM360 184h16v-16h-16v16zM184 168h16v-16h-16v16zM216 168h16v-16h-16v16zM248 168h16v-16h-16v16zM280 168h16v-16h-16v16zM312 168h16v-16h-16v16zM344 168h16v-16h-16v16zM168 152h16v-16h-16v16zM200 152h16v-16h-16v16zM232 152h16v-16h-16v16zM264 152h16v-16h-16v16zM296 152h16v-16h-16v16zM328 152h16v-16h-16v16zM184 136h16v-16h-16v16zM216 136h16v-16h-16v16zM248 136h16v-16h-16v16zM280 136h16v-16h-16v16zM312 136h16v-16h-16v16zM168 120h16v-16h-16v16zM200 120h16v-16h-16v16zM232 120h16v-16h-16v16zM264 120h16v-16h-16v16zM296 120h16v-16h-16v16zM184 104h16v-16h-16v16zM216 104h16v-16h-16v16zM248 104h16v-16h-16v16zM216 296h16v-16h-16v16zM200 280h16v-16h-16v16zM184 264h16v-16h-16v16zM320-8c-75.376 0-141.984 50.688-161.984 123.248l15.424 4.256c18.096-65.664 78.368-111.504 146.56-111.504 83.808 0 152 68.192 152 152 0 71.152-50.4 133.648-119.872 148.592l3.376 15.648c76.784-16.528 132.496-85.6 132.496-164.24 0-92.64-75.36-168-168-168zM158 115.264c-3.984 14.544-6 29.6-6 44.736 0 92.64 75.36 168 168 168 11.968 0 23.904-1.264 35.504-3.76l-3.376-15.648c-10.48 2.256-21.296 3.408-32.128 3.408-83.808 0-152-68.192-152-152 0-13.696 1.824-27.344 5.44-40.512l-15.44-4.224zM160 160c0 88.368 71.632 160 160 160 19.088 0 37.344-3.52 54.336-9.664-22.272 61.584-81.104 105.664-150.352 105.664-88.352 0-159.984-71.632-159.984-160 0-69.264 44.096-128.080 105.664-150.336-6.144 16.992-9.664 35.248-9.664 54.336z" />
<glyph unicode="&#xe602;" d="M512 224c0-141.385-114.615-256-256-256s-256 114.615-256 256c0 141.385 114.615 256 256 256s256-114.615 256-256z" />
<glyph unicode="&#xe603;" d="M512 216c0 9.6-1.6 19.2-3.2 27.2-8 32-28.8 51.2-57.6 62.4-24 9.6-49.6 11.2-75.2 9.6s-49.6-6.4-67.2-27.2c-1.6 1.6-3.2 3.2-4.8 4.8-4.8 3.2-8 4.8-12.8 8-9.6-19.2-22.4-33.6-38.4-46.4-1.6-1.6-3.2-3.2-4.8-4.8 1.6-1.6 4.8-1.6 6.4-3.2 9.6-8 14.4-20.8 14.4-33.6 0-52.8 0-105.6 0-160 0-3.2 0-4.8 0-8 27.2 0 54.4 0 81.6 0 0 3.2 0 6.4 0 8 0 52.8 0 105.6 0 156.8 0 9.6 3.2 19.2 8 25.6 9.6 16 32 20.8 49.6 12.8 8-3.2 16-9.6 19.2-17.6s4.8-17.6 4.8-27.2c0-51.2 0-102.4 0-152 0-3.2 0-4.8 0-8 27.2 0 54.4 0 81.6 0 0 1.6 0 4.8 0 6.4-1.6 56-1.6 110.4-1.6 166.4zM286.4 312c-11.2 8-20.8 19.2-36.8 22.4 30.4 22.4 57.6 41.6 86.4 62.4 0 0 0 1.6-1.6 1.6-24-3.2-46.4-4.8-70.4-8-19.2-3.2-38.4-6.4-57.6-11.2s-40-8-59.2-14.4c-32-9.6-62.4-22.4-91.2-38.4-14.4-8-28.8-16-43.2-25.6 0 0-1.6 0-1.6 0s0 0 0-1.6c-1.6-1.6-4.8-1.6-6.4-3.2-1.6 0-3.2-1.6-4.8-1.6 0 0 0-1.6 0-1.6 3.2 0 8 0 11.2 0 0-11.2 0-22.4 0-33.6 0-19.2 1.6-38.4-4.8-56 0-1.6 0-3.2 0-4.8-1.6-22.4 4.8-44.8 12.8-65.6 1.6-3.2 3.2-6.4 4.8-11.2 1.6 28.8 3.2 56-3.2 83.2s-6.4 54.4-4.8 81.6c0 3.2 0 6.4 4.8 6.4 16 0 32 0 48 1.6 1.6 0 3.2-1.6 4.8-1.6 8 0 16-1.6 24-1.6 0-8 0-14.4 0-22.4 0-9.6 1.6-19.2 3.2-28.8 4.8-1.6 9.6-1.6 14.4-3.2 20.8-4.8 41.6-6.4 64-3.2 1.6 0 3.2 0 3.2 0 11.2 3.2 22.4 6.4 33.6 11.2 8 3.2 16 8 25.6 12.8 1.6 1.6 3.2 3.2 4.8 4.8 17.6 16 30.4 32 40 49.6zM188.8 224c-1.6 0-3.2 0-3.2 0-20.8-3.2-43.2-1.6-64 3.2-4.8 1.6-9.6 1.6-14.4 3.2 0-3.2-1.6-6.4-1.6-11.2 0-56 0-113.6 0-169.6 0-1.6 0-3.2 0-6.4 25.6 0 49.6 0 73.6 0 6.4 0 8 1.6 6.4 8 0 46.4 0 91.2 0 137.6 1.6 12.8 3.2 24 3.2 35.2z" />
<glyph unicode="&#xf035;" d="M352 32h-320v288h320v-96h32v160c0 17.5-14.5 32-32 32h-96c0 35.5-28.5 64-64 64s-64-28.5-64-64h-96c-17.5 0-32-14.5-32-32v-352c0-17.5 14.5-32 32-32h320c17.5 0 32 14.5 32 32v64h-32v-64zM96 384c14.5 0 14.5 0 32 0s32 14.5 32 32 14.5 32 32 32 32-14.5 32-32 16-32 32-32 16.5 0 32 0 32-14.5 32-32h-256c0 19.5 14 32 32 32zM64 128h64v32h-64v-32zM288 192v64l-128-96 128-96v64h160v64h-160zM64 64h96v32h-96v-32zM224 288h-160v-32h160v32zM128 224h-64v-32h64v32z" horiz-adv-x="448" />
</font></defs></svg>
\ No newline at end of file
......@@ -84,6 +84,7 @@
<option value="4">clé d'inscription</option>
<option value="8" disabled>critères AAI</option>
<option value="16" disabled>activité Moodle</option>
<option value="32" disabled>resource MyTTP</option>
</select>
</div>
......
......@@ -214,11 +214,13 @@
{# -- AnObjMgr list-item view -- #}
<script type="text/template" id="aom-list-item">
<div class="btn-toolbar small pull-left">
<% if (sharing_mode !== 0) { %><span class="glyphicon glyphicon-globe text-success aom-item-sh-status" title="Partagé"></span><% } %>
{# <% if (sharing_mode > 0 && sharing_mode < 16) { %><span class="glyphicon glyphicon-globe text-success aom-item-sh-status" title="Partagé"></span><% } %>#}
<% if (sharing_mode > 0 && sharing_mode < 16) { %><span class="icon-share-alt text-success aom-item-sh-status" title="Partagé"></span><% } %>
<% if (sharing_mode > 15) { %><span class="adim-icon-ttp-moodle text-success aom-item-sh-status" title="Partagé via moodle"></span><% } %>
<% if (locked) { %><span class="glyphicon glyphicon-lock" title="Vérouillé"></span><% } %>
</div>
<% if (owned) { %><button class="close" title="Supprimer l'image">
<% if (owned && !ttpShared) { %><button class="close" title="Supprimer l'image">
<span class="glyphicon glyphicon-remove-circle"></span>
</button><% } %>
<a href="{{ annotate_url }}<%= uuid %>/" title="Editer l'image">
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment