Commit 91781674 authored by Curtis Adam's avatar Curtis Adam

Display an under development for features that are currently incomplete

parent ffaed459
......@@ -1177,5 +1177,9 @@
"language": {
"german": "Deutsch",
"english": "Englisch"
},
"underDevelopment": {
"title": "In Entwicklung",
"text": "Dieses Feature befindet sich in Entwicklung."
}
}
......@@ -1183,5 +1183,9 @@
"language": {
"german": "German",
"english": "English"
},
"underDevelopment": {
"title": "Under Development",
"text": "This feature is under development."
}
}
......@@ -339,7 +339,8 @@
{{/if}}
</div>
<span id="changeStyle"
data-type="cardNavigation">
data-type="cardNavigation" data-toggle="modal"
data-target="#underDevelopmentModal">
<span class="glyphicon fa fa-paint-brush card-button"
data-type="cardNavigation"></span>
</span>
......
......@@ -481,12 +481,14 @@ let additionalButtons = [
title: 'YouTube',
icon: 'fa fa-youtube',
callback: function () {
$("#underDevelopmentModal").modal("show");
}
}, {
name: 'cmdVimeo',
title: 'Vimeo',
icon: 'fa fa-vimeo',
callback: function () {
$("#underDevelopmentModal").modal("show");
}
}, {
name: 'cmdTask',
......
......@@ -601,4 +601,3 @@ img.cardside {
top: 15px;
}
}
......@@ -612,7 +612,8 @@
<div class="bs-callout bs-callout-info selectionInfo">
{{#if getCardCount -1 -1}}
<a href="#" id="createCardFilter" class="btn btn-raised btn-success"
role="button" {{disableIfOffline}}>{{_ "filter-cards.filter"}}
role="button" {{disableIfOffline}} data-toggle="modal"
data-target="#underDevelopmentModal">{{_ "filter-cards.filter"}}
</a>
{{/if}}
<a href="#" id="cancelCardFilter" class="btn btn-raised btn-danger" data-dismiss="modal"
......
......@@ -263,7 +263,8 @@
<br>
<button id="browseCardset" class="btn btn-raised btn-success btn-newSet">{{_
"set-list-learn-empty.browseCardset"}}</button>
<button id="browseCourse" class="btn btn-raised btn-success btn-newSet">{{_
<button id="browseCourse" class="btn btn-raised btn-success btn-newSet" data-toggle="modal"
data-target="#underDevelopmentModal">{{_
"set-list-learn-empty.browseCourse"}}</button>
{{/if}}
</div>
......@@ -276,7 +277,8 @@
{{#if learnList.count}}
<a id="browseCardset" class="btn btn-raised btn-success">{{_
"set-list-learn-empty.browseCardset"}}</a>
<a id="browseCourse" class="btn btn-raised btn-success">{{_
<a id="browseCourse" class="btn btn-raised btn-success" data-toggle="modal"
data-target="#underDevelopmentModal">{{_
"set-list-learn-empty.browseCourse"}}</a>
{{/if}}
{{> shuffle}}
......
......@@ -140,7 +140,8 @@
:</span>
<span class="col-xs-7 col-sm-1 manageCourseIteration">
<a class="panelUnitBorder editCourseIteration" {{disableIfOffline}}
title='{{_ "courseIteration.manage"}}' data-id="{{this._id}}">
title='{{_ "courseIteration.manage"}}' data-id="{{this._id}}" data-toggle="modal"
data-target="#underDevelopmentModal">
<span class="cell col-xs-2 col-sm-6 panelUnit panelUnitDescription panelUnitLicense panelUnitNoBorder panelIconColumn"
data-id="{{this._id}}">
<i class="glyphicon glyphicon-pencil" data-id="{{this._id}}"></i>
......
......@@ -407,12 +407,14 @@ let additionalButtons = [
title: 'YouTube',
icon: 'fa fa-youtube',
callback: function () {
$("#underDevelopmentModal").modal("show");
}
}, {
name: 'cmdVimeo',
title: 'Vimeo',
icon: 'fa fa-vimeo',
callback: function () {
$("#underDevelopmentModal").modal("show");
}
}, {
name: 'cmdTask',
......
<template name="main">
{{checkActiveRouteName}}
{{> connectionStatusModal}}
{{> underDevelopmentModal}}
<div id="{{#if currentUser}}{{#if isInRole
'firstLogin'}}theme-wrapper-no-nav{{else if isInRole 'blocked'}}theme-wrapper-no-nav{{else}}theme-wrapper{{/if}}{{else}}theme-wrapper-no-nav{{/if}}"
class="{{getTheme}}">
......@@ -283,3 +284,27 @@
</div>
</div>
</template>
<template name="underDevelopmentModal">
<div class="modal fade" id="underDevelopmentModal" role="dialog">
<div class="modal-dialog" aria-labelledby="showUnderDevelopmentTitle">
<div class="modal-content underDevelopmentContent">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 id="underDevelopmentTitle" class="modal-title">{{_ "underDevelopment.title"}}</h4>
</div>
<div class="modal-body">
<div class="form-horizontal">
<div class="form-group">
<div class="col-md-12">
{{_ "underDevelopment.text"}}
<br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
\ No newline at end of file
......@@ -138,6 +138,10 @@ $font_weight_cardset_form_list: normal;
$color_cookie_consent_link: $color_thm_dark_blue;
$text_decoration_cookie_consent_link: none;
//under development modal
$color_under_development_modal_text: white;
$color_under_development_modal_background: $color_thm_orange;
html {
position: relative;
min-height: 100%;
......@@ -1075,3 +1079,16 @@ th {
text-align: center;
}
}
#underDevelopmentModal {
z-index: 2000;
}
.underDevelopmentContent {
padding: 10px;
.modal-header {
border-bottom: 1px solid $color_under_development_modal_text !important;
}
color: $color_under_development_modal_text !important;
background-color: $color_under_development_modal_background !important;
}
This diff is collapsed.
Markdown is supported
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