mirror of
https://gitlab.com/signalytic/client-external/streamline/streamline-emr.git
synced 2026-09-11 18:51:31 +00:00
The official image from streamline does not currently work for the arm64 platform. As a temporary measure, the source code and docker build scripts have been lifted from the official images and are used to build locally. Some additional modifications are made to reduce overall image size, these are documented in docker/README.md
73 lines
2.9 KiB
PHP
Executable File
73 lines
2.9 KiB
PHP
Executable File
@extends('layouts.main')
|
|
|
|
@push('styles')
|
|
<link href="{{ asset('elite/bower_components/html5-editor/bootstrap-wysihtml5.css') }}" rel="stylesheet">
|
|
@endpush
|
|
|
|
@section('content')
|
|
<div class="row bg-title">
|
|
<div class="col-lg-3 col-md-4 col-sm-4 col-xs-12">
|
|
<h4 class="page-title">{{ __('message_board.add_message') }}</h4>
|
|
</div>
|
|
<div class="col-lg-9 col-sm-8 col-md-8 col-xs-12">
|
|
<ol class="breadcrumb">
|
|
<li><a href="{{ route('home') }}">{{ __('message_board.dashboard') }}</a></li>
|
|
<li><a href="/messageboard/index">{{ __('message_board.messages') }}</a></li>
|
|
<li class="active">{{ __('message_board.create') }}</li>
|
|
</ol>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<!--Flash messages at the top -->
|
|
@include('flash::message')
|
|
|
|
@include('messageboard.menu')
|
|
|
|
<div class="white-box">
|
|
{{ Form::open(['route' => 'messageboard.store', 'data-toggle' => 'validator', 'files' => true]) }}
|
|
|
|
<div class="form-group">
|
|
{{ Form::label('body', __('message_board.message')) }}
|
|
{{ Form::textArea('body', '', ['class' => 'textarea_editor form-control compulsory', 'id' => 'mymce', 'required', 'rows' => 5]) }}
|
|
<div class="help-block with-errors"></div>
|
|
</div>
|
|
<div class="form-group">
|
|
{{ Form::label('photo', __('message_board.image')) }}
|
|
{{ Form::file('photo', null) }}
|
|
</div>
|
|
|
|
{{ Form::button(__('message_board.submit'),['type'=>'submit','class'=>'btn btn-success waves-effect waves-light m-r-10']) }}
|
|
{{ Form::button(__('message_board.cancel'),['type'=>'reset','class'=>'btn btn-default waves-effect waves-light']) }}
|
|
|
|
{{ Form::close() }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|
|
|
|
@push('scripts')
|
|
<script src="{{ asset('elite/js/validator.js') }}"></script>
|
|
|
|
<script type="text/javascript" src="{{ asset('elite/bower_components/tinymce/tinymce.min.js') }}"></script>
|
|
<script>
|
|
$(document).ready(function() {
|
|
if ($("#mymce").length > 0) {
|
|
tinymce.init({
|
|
selector: "textarea#mymce",
|
|
theme: "modern",
|
|
height: 200,
|
|
plugins: [
|
|
"advlist autolink link image lists charmap print preview hr anchor pagebreak spellchecker",
|
|
"searchreplace wordcount visualblocks visualchars code fullscreen insertdatetime media nonbreaking",
|
|
"save table contextmenu directionality emoticons template paste textcolor"
|
|
],
|
|
toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | l ink image | print preview media fullpage | forecolor backcolor emoticons",
|
|
|
|
});
|
|
}
|
|
});
|
|
</script>
|
|
@endpush
|