Index: lams_central/web/qb/collection.jsp =================================================================== diff -u -rca75b4c508f9d195245818cdd4574f335e75d9c6 -rba61b266e61e39c4c77682bb50921d3758c4524b --- lams_central/web/qb/collection.jsp (.../collection.jsp) (revision ca75b4c508f9d195245818cdd4574f335e75d9c6) +++ lams_central/web/qb/collection.jsp (.../collection.jsp) (revision ba61b266e61e39c4c77682bb50921d3758c4524b) @@ -20,16 +20,12 @@ .row { margin-top: 10px; } - - .row > div:first-child, .row > div:last-child { - text-align: left; - padding-left: 0; + + .middle-cell { + padding-top: 6px; + display: inline-block; } - - .row > div { - text-align: right; - } - + .header-column { font-weight: bold; } @@ -101,17 +97,13 @@ // remove a collection function removeCollection() { - var grid = $('#collection-grid'), - collectionUid = grid.data('collectionUid'), - name = grid.data('collectionName'); - - if (confirm('Are you sure you want to remove "' + name + '" collection?')) { + if (confirm('Are you sure you want to remove "${collection.name}" collection?')) { $.ajax({ 'url' : 'qb/collection/removeCollection.do', 'type' : 'POST', 'dataType' : 'text', 'data' : { - 'collectionUid' : collectionUid + 'collectionUid' : ${collection.uid} }, 'cache' : false }).done(function(){ @@ -194,6 +186,7 @@
+ <%-- Build collection title with its name, question count, optional "private" flag and edit button --%> (${questionCount} questions) @@ -207,7 +200,9 @@ - There are no questions in this collection +
+ There are no questions in this collection +
@@ -216,14 +211,14 @@
- -
+
+ -
- + +
-
- Share collection with +
+ Share collection with
- - - - - - -
- - -
- Existing collections
- - - -
-
-
-
- +

Options

@@ -212,6 +200,58 @@ +
+
+ Management +
+
+
+ +
+
+ Transfer questions to +
+
+ +
+
+ + +
+
+
+ +
+
+
+ Existing collections +
+
+
+ + +
+
+
+ +
+
+ + + +
+
+
+
+
+
+