2021-03-11 04:21:27 +08:00
|
|
|
<div class="height_limiter">
|
2014-07-30 02:00:39 +08:00
|
|
|
<!-- The first 'sample' prompt is the current one; the remainders are samples. This ought to be cleaned up. -->
|
2020-12-03 04:07:48 +08:00
|
|
|
<div class="current_prompt" style="min-height: 7.5em;" ng-style="{'background-color': terminalBackgroundColor}">
|
2021-03-11 04:21:27 +08:00
|
|
|
<div class="prompt_demo_choice_label" style="color: #FFF;">{{ selectedPrompt.name }}</div>
|
2020-06-23 01:50:51 +08:00
|
|
|
<div ng-bind-html='selectedPrompt.demo | to_trusted' class="prompt_demo unbordered"></div>
|
2014-07-30 02:00:39 +08:00
|
|
|
<div style="position: absolute; right: 5px; bottom: 5px; color:">
|
|
|
|
<span class="save_button"
|
2021-03-11 04:21:27 +08:00
|
|
|
ng-show="showSaveButton"
|
|
|
|
style="color: #CCC"
|
|
|
|
ng-click="setPrompt()">{{ savePromptButtonTitle }}</span>
|
2014-07-30 02:00:39 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2021-03-11 04:21:27 +08:00
|
|
|
<div style="margin: 10px 15px 7px 15px; padding-bottom: 10px; border-bottom: solid 1px #999">Preview a prompt below:</div>
|
2014-07-30 02:00:39 +08:00
|
|
|
<div class="prompt_choices_scrollview">
|
|
|
|
<div class="prompt_choices_list">
|
2021-03-11 04:21:27 +08:00
|
|
|
<div ng-repeat="prompt in samplePrompts">
|
|
|
|
<div class="prompt_demo_choice_label">{{ prompt.name }}</div>
|
|
|
|
<div ng-bind-html='prompt.demo | to_trusted' class="prompt_demo" ng-click="selectPrompt(prompt)"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-08-17 02:32:58 +08:00
|
|
|
</div>
|
2014-07-30 02:00:39 +08:00
|
|
|
</div>
|