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.
Fixes part of oppia#3064: pull the directive specific css in correspo…
…nding files from oppia.css (oppia#3077) * Fixes oppia#3064: initial script to scrape out oppia classes from directive html file [NOT FOR MERGE] * Fixes oppia#3064: linting issues solved * Fixes oppia#3064: linting issues solved * Fixes oppia#3064: linting issues solved * Fixes oppia#3064: linting issues * Fixes oppia#3064: script modified to search entire directory and subdirectory and give files and unique classes that belong to it * Fixes oppia#3064: linting issues fixed * Fixes oppia#3064: linting issues fixed * Fixes oppia#3064: linting issues fixed * Fixes oppia#3064: linting issues fixed * Fixes oppia#3064: script modified for looking unique classes among all html files instead of among all directive files * Fixes oppia#3064: script modified * FIXES oppia#3064: documentation added for script * Fixes oppia#3064: unique css transferred for schema_based_list_editor_directive.html * Fixes oppia#3064: unique css shifter for answer_group_editor_directive.html * Fixes oppia#3064: unique css shifted for side_navigation_bar_directive.html * Fixes oppia#3064: unique css shifted for embed_exploration_modal_directive.html * Fixes oppia#3064: unique css shifted for schema_based_int_editor_directive.html * Fixes oppia#3064: shifted css to before the html and made some changes in side_navigation_bar_directive.html * Fixes oppia#3064: newline added in end of search_results_directive.html * Fixes oppia#3064: shifted .css-class-name to directive-name.css-class-name for scoping purposes * Fixes oppia#3064: side_navgation_bar_directive file updated * Fixes oppia#3064: css classes in directive files updated to directive-name .css-class * Fixes oppia#3064: embed_exploration_modal_directive updated
- Loading branch information
1 parent
baf05be
commit efb9976
Showing
7 changed files
with
217 additions
and
186 deletions.
There are no files selected for viewing
44 changes: 44 additions & 0 deletions
44
core/templates/dev/head/components/answer_group_editor_directive.html
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
44 changes: 30 additions & 14 deletions
44
core/templates/dev/head/components/embed_modal/embed_exploration_modal_directive.html
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,21 +1,37 @@ | ||
<script type="text/ng-template" id="modals/embedExploration"> | ||
<div class="modal-header"> | ||
<h3>Embed this exploration</h3> | ||
</div> | ||
<style> | ||
.oppia-embed-exploration-modal .oppia-embed-modal-code { | ||
background-color: #fcfcfc; | ||
border: 1px solid #d9d9d9; | ||
border-radius: 4px; | ||
display: inline-block; | ||
padding: 10px; | ||
} | ||
|
||
<div class="modal-body"> | ||
<p> | ||
To embed this exploration in another webpage, copy the following HTML into the source code of the webpage: | ||
</p> | ||
.oppia-embed-exploration-modal .oppia-embed-modal-code:hover { | ||
background-color: #f9f9f9; | ||
} | ||
</style> | ||
|
||
<div class="oppia-embed-exploration-modal"> | ||
<div class="modal-header"> | ||
<h3>Embed this exploration</h3> | ||
</div> | ||
|
||
<div class="oppia-embed-modal-code" ng-click="selectText($event)"><iframe src="<[serverName]>/embed/exploration/<[explorationId]>" width="700" height="1000"></div> | ||
<div class="modal-body"> | ||
<p> | ||
To embed this exploration in another webpage, copy the following HTML into the source code of the webpage: | ||
</p> | ||
|
||
<p> | ||
For more details, as well as instructions on how to embed a particular version of an exploration, please see the <a href="https://oppia.github.io/#/EmbeddingAnExploration" target="_blank">documentation</a>. | ||
</p> | ||
</div> | ||
<div class="oppia-embed-modal-code" ng-click="selectText($event)"><iframe src="<[serverName]>/embed/exploration/<[explorationId]>" width="700" height="1000"></div> | ||
|
||
<p> | ||
For more details, as well as instructions on how to embed a particular version of an exploration, please see the <a href="https://oppia.github.io/#/EmbeddingAnExploration" target="_blank">documentation</a>. | ||
</p> | ||
</div> | ||
|
||
<div class="modal-footer"> | ||
<button class="btn btn-default" ng-click="close()">Close</button> | ||
<div class="modal-footer"> | ||
<button class="btn btn-default" ng-click="close()">Close</button> | ||
</div> | ||
</div> | ||
</script> |
7 changes: 7 additions & 0 deletions
7
...templates/dev/head/components/forms/schema_editors/schema_based_int_editor_directive.html
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
18 changes: 18 additions & 0 deletions
18
...emplates/dev/head/components/forms/schema_editors/schema_based_list_editor_directive.html
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
95 changes: 95 additions & 0 deletions
95
core/templates/dev/head/components/side_navigation_bar/side_navigation_bar_directive.html
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
Oops, something went wrong.