Commit 89bba535 by Brian Talbot Committed by Julian Arni

Studio: adds in action-related elements to the status display UI of the Import view

parent 4bbacb02
...@@ -153,6 +153,26 @@ ...@@ -153,6 +153,26 @@
padding-bottom: 0; padding-bottom: 0;
} }
// CASE: has actions
&.has-actions {
.status-detail {
width: flex-grid(5,9);
}
.list-actions {
display: none;
width: flex-grid(3,9);
float: right;
margin-left: flex-gutter();
text-align: right;
.action-primary {
@extend %btn-primary-blue;
}
}
}
// TYPE: success // TYPE: success
&.item-progresspoint-success { &.item-progresspoint-success {
...@@ -212,6 +232,10 @@ ...@@ -212,6 +232,10 @@
.status-detail .title { .status-detail .title {
color: $green; color: $green;
} }
.list-actions {
display: block;
}
} }
// STATE: error // STATE: error
......
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
<p class="copy">${_("Replacing previous course content with imported content")}</p> <p class="copy">${_("Replacing previous course content with imported content")}</p>
</div> </div>
</li> </li>
<li class="item-progresspoint item-progresspoint-success is-not-started"> <li class="item-progresspoint item-progresspoint-success has-actions is-not-started">
<span class="deco status-visual"> <span class="deco status-visual">
<i class="icon-check"></i> <i class="icon-check"></i>
</span> </span>
...@@ -111,6 +111,12 @@ ...@@ -111,6 +111,12 @@
<h3 class="title">${_("Success")}</h3> <h3 class="title">${_("Success")}</h3>
<p class="copy">${_("Your imported content has now replaced all other course content")}</p> <p class="copy">${_("Your imported content has now replaced all other course content")}</p>
</div> </div>
<ul class="list-actions">
<li class="item-action">
<a href="" class="action action-primary">${_("View Updated Outline")}</a>
</li>
</ul>
</li> </li>
</ol> </ol>
</div> </div>
...@@ -196,7 +202,7 @@ $('#fileupload').fileupload({ ...@@ -196,7 +202,7 @@ $('#fileupload').fileupload({
bar.hide(); bar.hide();
chooseBtn.html('${_("Choose new file")}').show(); chooseBtn.html('${_("Choose new file")}').show();
bar.hide(); bar.hide();
} }
}); });
}); });
} else { } else {
......
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