| 1 | efrain | 1 | {{!
 | 
        
           |  |  | 2 |     This file is part of Moodle - http://moodle.org/
 | 
        
           |  |  | 3 |   | 
        
           |  |  | 4 |     Moodle is free software: you can redistribute it and/or modify
 | 
        
           |  |  | 5 |     it under the terms of the GNU General Public License as published by
 | 
        
           |  |  | 6 |     the Free Software Foundation, either version 3 of the License, or
 | 
        
           |  |  | 7 |     (at your option) any later version.
 | 
        
           |  |  | 8 |   | 
        
           |  |  | 9 |     Moodle is distributed in the hope that it will be useful,
 | 
        
           |  |  | 10 |     but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
        
           |  |  | 11 |     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 | 
        
           |  |  | 12 |     GNU General Public License for more details.
 | 
        
           |  |  | 13 |   | 
        
           |  |  | 14 |     You should have received a copy of the GNU General Public License
 | 
        
           |  |  | 15 |     along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
 | 
        
           |  |  | 16 | }}
 | 
        
           |  |  | 17 | {{!
 | 
        
           |  |  | 18 |     @template tiny_media/insert_image_modal_details_footer
 | 
        
           |  |  | 19 |   | 
        
           |  |  | 20 |     Insert image details footer template.
 | 
        
           |  |  | 21 |   | 
        
           |  |  | 22 |     Example context (json):
 | 
        
           |  |  | 23 |     {
 | 
        
           |  |  | 24 |         "elementid": "exampleId"
 | 
        
           |  |  | 25 |     }
 | 
        
           |  |  | 26 |   | 
        
           |  |  | 27 | }}
 | 
        
           |  |  | 28 | <div class="row">
 | 
        
           |  |  | 29 |     <!-- First Column -->
 | 
        
           |  |  | 30 |     <div class="col-md-6 d-flex align-items-center p-0">
 | 
        
           |  |  | 31 |         <!-- Row 1: URL related label -->
 | 
        
           | 1441 | ariadna | 32 |         <span class="tiny_image_filename text-truncate me-1"></span>
 | 
        
           | 1 | efrain | 33 |     </div>
 | 
        
           |  |  | 34 |     <!-- Column 2: Saving, canceling, browsing repositories buttons -->
 | 
        
           | 1441 | ariadna | 35 |     <div class="col-md-6 text-end mt-2 mt-md-0 p-0">
 | 
        
           | 1 | efrain | 36 |         <!-- Row 1: Cancel button -->
 | 
        
           |  |  | 37 |         <button type="button" class="btn btn-secondary" data-action="cancel">{{#str}} cancel, moodle {{/str}}</button>
 | 
        
           |  |  | 38 |         <!-- Row 2: Save button -->
 | 
        
           |  |  | 39 |         <button class="tiny_image_urlentrysubmit btn btn-primary" type="submit">{{#str}} saveimage, tiny_media {{/str}}</button>
 | 
        
           |  |  | 40 |     </div>
 | 
        
           |  |  | 41 | </div>
 | 
        
           |  |  | 42 |   |