forked from oppia/oppia
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Around 20 refinements for gadgets-ui per Amit's suggestions. Details …
…will be elaborated on the pull request. One major TODO remains: getting the sidebar edit & delete icons to render on separate rows.
- Loading branch information
1 parent
b9d9d48
commit 533d2e4
Showing
10 changed files
with
83 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,4 @@ | ||
<script type="text/ng-template" id="editor/gadgetListItem"> | ||
<!-- REFACTORING(anuzis): Make functional. --> | ||
<span title="Delete <[gadgetName]>" ng-click="deleteGadget(gadgetName)" | ||
class="glyphicon glyphicon-remove oppia-gadget-delete-icon protractor-test-delete-<[gadgetName]>-gadget-icon"> | ||
</span> | ||
<span title="Rename <[gadgetName]>" | ||
ng-click="changeActiveGadgetNameEditor(gadgetName)" | ||
class="glyphicon glyphicon-pencil oppia-gadget-rename-icon protractor-test-rename-<[gadgetName]>-gadget-icon"> | ||
</span> | ||
<span ng-show="originalNameForRenamedGadget == gadgetName" | ||
class="oppia-rename-gadget-form"> | ||
<input type="text" ng-model="newNameForRenamedGadget" class="protractor-test-gadget-rename-text-input"> | ||
<button class="btn btn-xs glyphicon glyphicon-ok protractor-test-gadget-rename-confirmation-button" | ||
ng-click="renameGadget(newNameForRenamedGadget)"> | ||
</button> | ||
<button class="btn btn-xs glyphicon glyphicon-remove" | ||
ng-click="changeActiveGadgetNameEditor()"> | ||
</button> | ||
</span> | ||
|
||
<div angular-html-bind="gadgetListItemHtml"> | ||
</div> | ||
|
||
<span title="Edit Gadget Content" | ||
class="glyphicon glyphicon-edit oppia-gadget-edit-icon"> | ||
</span> | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters