PHP Classes
elePHPant
Icontem

File: src/Cabin/Bridge/View/cargo/rich_text_toolbar.twig

Recommend this page to a friend!
  Classes of Scott Arciszewski  >  CMS Airship  >  src/Cabin/Bridge/View/cargo/rich_text_toolbar.twig  >  Download  
File: src/Cabin/Bridge/View/cargo/rich_text_toolbar.twig
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: CMS Airship
Content management system with security features
Author: By
Last change:
Date: 1 year ago
Size: 3,755 bytes
 

Contents

Class file image Download
<div class="toolbar" id="rich_text_{{ name|e('html_attr') }}_toolbar" style="display: none;">
    <div class="toolbar-dialog" id="rich_text_{{ name|e('html_attr') }}_link_bar" data-wysihtml5-dialog="createLink" style="display: none;">
        <label>
            {{ __("Link") }}:
            <input data-wysihtml5-dialog-field="href" value="http://" />
        </label>
        <a data-wysihtml5-dialog-action="save">{{ __("OK") }}</a>
        <a data-wysihtml5-dialog-action="cancel">{{ __("Cancel") }}</a>
    </div>

    <div class="toolbar-dialog" id="rich_text_{{ name|e('html_attr') }}_image_bar" data-wysihtml5-dialog="insertImage" style="display: none;">
        <label>
            {{ __("Image") }}:
            <input data-wysihtml5-dialog-field="src" value="http://" />
        </label>
        <label>
            {{ __("Align") }}:
            <select data-wysihtml5-dialog-field="className">
                <option value="">{{ __("Default") }}</option>
                <option value="wysiwyg-float-left">{{ __("Left") }}</option>
                <option value="wysiwyg-float-right">{{ __("Right") }}</option>
            </select>
        </label>
        <a data-wysihtml5-dialog-action="save">{{ __("OK") }}</a>
        <a data-wysihtml5-dialog-action="cancel">{{ __("Cancel") }}</a>
    </div>

    <div class="toolbar-buttons">
        <a class="toolbar-btn" data-wysihtml5-command="bold" title="CTRL+B">{#
            #}<i class="fa fa-bold"></i>{#
        #}</a>{#
        #}<a class="toolbar-btn" data-wysihtml5-command="italic" title="CTRL+I">{#
            #}<i class="fa fa-italic"></i>{#
        #}</a>{#
        #}<a class="toolbar-btn" data-wysihtml5-command="createLink">{#
            #}<i title="{{ __("Insert Hyperlink")|e('html_attr') }}" class="fa fa-link"></i>{#
        #}</a>{#
        #}<a class="toolbar-btn" data-wysihtml5-command="removeLink">{#
            #}<i title="{{ __("Remove Hyperlink")|e('html_attr') }}" class="fa fa-unlink"></i>{#
        #}</a>{#
        #}<a class="toolbar-btn" data-wysihtml5-command="insertImage">{#
            #}<i title="{{ __("Insert Image")|e('html_attr') }}" class="fa fa-file-image-o"></i>{#
        #}</a>{#
        #}<a class="toolbar-btn" data-wysihtml5-command="formatBlock" data-wysihtml5-command-value="h1">{#
            #}<i title="&lt;h1&gt;" class="fa fa-header"></i>{#
        #}</a>{#
        #}<a class="toolbar-btn" data-wysihtml5-command="formatBlock" data-wysihtml5-command-value="h2">{#
            #}<i title="&lt;h2&gt;" class="fa fa-header icon-small"></i>{#
        #}</a>{#
        #}<a class="toolbar-btn" data-wysihtml5-command="formatBlock" data-wysihtml5-command-value="h3">{#
            #}<i title="&lt;h3&gt;" class="fa fa-header icon-small-2"></i>{#
        #}</a>{#
        #}<a class="toolbar-btn" data-wysihtml5-command="formatBlock" data-wysihtml5-command-blank-value="true">{#
            #}<i title="&lt;pre&gt;" class="fa fa-code"></i>{#
        #}</a>{#
        #}<a class="toolbar-btn" data-wysihtml5-command="insertUnorderedList">{#
            #}<i title="&lt;ul&gt;" class="fa fa-list-ul"></i>{#
        #}</a>{#
        #}<a class="toolbar-btn" data-wysihtml5-command="insertOrderedList">{#
            #}<i title="Insert Ordered List" class="fa fa-list-ol"></i>{#
        #}</a>{#
        #}<a class="toolbar-btn" data-wysihtml5-command="undo">{#
            #}<i title="Undo" class="fa fa-undo"></i>{#
        #}</a>{#
        #}<a class="toolbar-btn" data-wysihtml5-command="redo">{#
            #}<i title="Redo" class="fa fa-repeat"></i>{#
        #}</a>{#
        #}<a class="toolbar-btn" data-wysihtml5-action="change_view">{#
            #}<i title="Redo" class="fa fa-file-code-o"></i>{#
        #}</a>
    </div>
</div>