|
61 | 61 | tooltip-placement="bottom" tooltip="Export the notebook"> |
62 | 62 | <i class="fa fa-download"></i> |
63 | 63 | </button> |
64 | | - <ul class="dropdown-menu" role="menu" style="width:250px"> |
65 | | - <li> |
66 | | - <div class="cron-preset-container"> |
67 | | - <div> |
68 | | - <input type="text" |
69 | | - dropdown-input |
70 | | - placeholder="commit message" |
71 | | - id="note.checkpoint.message" |
72 | | - ng-model="note.checkpoint.message"/> |
73 | | - <button type="button" |
74 | | - class="btn btn-default btn-xs" |
75 | | - ng-hide="viewOnly" |
76 | | - ng-click="checkpointNotebook(note.checkpoint.message)" |
77 | | - tooltip-placement="bottom" tooltip="Commit the notebook">Commit |
78 | | - </button> |
79 | | - </div> |
| 64 | + <button type="button" |
| 65 | + class="btn btn-default btn-xs dropdown-toggle" |
| 66 | + ng-hide="viewOnly" |
| 67 | + data-toggle="dropdown" |
| 68 | + tooltip-placement="bottom" tooltip="Version control"> |
| 69 | + <i class="fa fa-file-code-o"></i> |
| 70 | + </button> |
| 71 | + <ul class="dropdown-menu" role="menu" style="width:250px"> |
| 72 | + <li> |
| 73 | + <div class="commit-container"> |
| 74 | + <div> |
| 75 | + <input type="text" |
| 76 | + dropdown-input |
| 77 | + placeholder="commit message" |
| 78 | + id="note.checkpoint.message" |
| 79 | + style="width: 145px;" |
| 80 | + ng-model="note.checkpoint.message"/> |
| 81 | + <button type="button" |
| 82 | + class="btn btn-default btn-xs" |
| 83 | + ng-hide="viewOnly" |
| 84 | + ng-click="checkpointNotebook(note.checkpoint.message)" |
| 85 | + style="margin-left: 4px;" |
| 86 | + tooltip-placement="bottom" tooltip="Commit the notebook">Commit |
| 87 | + </button> |
80 | 88 | </div> |
81 | | - </li> |
82 | | - </ul> |
83 | | - <button type="button" |
84 | | - class="btn btn-default btn-xs dropdown-toggle" |
85 | | - ng-hide="viewOnly" |
86 | | - data-toggle="dropdown" |
87 | | - tooltip-placement="bottom" tooltip="Version control"> |
88 | | - <i class="fa fa-file-code-o"></i> |
89 | | - </button> |
| 89 | + </div> |
| 90 | + </li> |
| 91 | + </ul> |
90 | 92 | </span> |
91 | 93 |
|
92 | 94 | <!-- put the delete action by itself for your protection --> |
|
0 commit comments