1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-13 23:48:55 +01:00
fab-manager/app/assets/templates/admin/settings/about.html

60 lines
3.1 KiB
HTML
Raw Normal View History

2016-08-17 10:10:23 +02:00
<div class="panel panel-default m-t-md">
<div class="panel-heading">
<span class="font-sbold" translate>{{ 'app.admin.settings.link' }}</span>
</div>
<div class="panel-body">
<div class="col-md-4">
<form role="form" novalidate>
<label for="linkName" class="control-label m-r" translate>{{ 'app.admin.settings.link_to_about' }}</label>
<div class="form-group">
<div class="input-group">
<div class="input-group-addon"><i class="fa fa-link"></i></div>
<input type="text" id="linkName" ng-model="linkName.value" class="form-control" placeholder="{{ 'app.admin.settings.link_to_about' | translate }}"/>
</div>
</div>
<button name="button" class="btn btn-warning" ng-click="save(linkName)" translate>{{ 'app.shared.buttons.save' }}</button>
</form>
</div>
</div>
</div>
<div class="panel panel-default m-t-md">
<div class="panel-heading">
<span class="font-sbold" translate>{{ 'app.admin.settings.content' }}</span>
</div>
2016-08-17 10:10:23 +02:00
<div class="panel-body">
<div class="row m-t-lg m-b-lg">
<div class="col-sm-offset-4 col-sm-4">
2019-12-17 18:06:56 +01:00
<h1 ng-model="aboutTitleSetting.value" medium-editor options='{"placeholder": "{{ "app.admin.settings.title_of_the_about_page" | translate }}", "disableToolbar": true, "disableReturn": false}' class="text-u-c"></h1>
<span class="help-block text-info text-xs"><i class="fa fa-lightbulb-o"></i> {{ 'app.admin.settings.shift_enter_to_force_carriage_return' | translate }}</span>
<button name="button" class="btn btn-warning" ng-click="save(aboutTitleSetting)" translate>{{ 'app.shared.buttons.save' }}</button>
2016-08-17 10:10:23 +02:00
</div>
</div>
<div class="row">
<div class="col-md-4 col-md-offset-1">
2019-12-17 18:06:56 +01:00
<div class="text-justify" ng-model="aboutBodySetting.value" medium-editor options='{"placeholder": "{{ "app.admin.settings.input_the_main_content" | translate }}",
2016-08-17 10:10:23 +02:00
"buttons": ["bold", "italic", "anchor", "header1", "header2" ]
}'>
</div>
2019-12-17 18:06:56 +01:00
<span class="help-block text-info text-xs"><i class="fa fa-lightbulb-o"></i> {{ 'app.admin.settings.drag_and_drop_to_insert_images' | translate }}</span>
<button name="button" class="btn btn-warning" ng-click="save(aboutBodySetting)" translate>{{ 'app.shared.buttons.save' }}</button>
2016-08-17 10:10:23 +02:00
</div>
<div class="col-md-4 col-md-offset-2">
2019-12-17 18:06:56 +01:00
<div ng-model="aboutContactsSetting.value" medium-editor options='{"placeholder": "{{ "app.admin.settings.input_the_fablab_contacts" | translate }}",
2016-08-17 10:10:23 +02:00
"buttons": ["bold", "italic", "anchor", "header1", "header2" ]
}'>
</div>
2019-12-17 18:06:56 +01:00
<span class="help-block text-info text-xs"><i class="fa fa-lightbulb-o"></i> {{ 'app.admin.settings.shift_enter_to_force_carriage_return' | translate }}</span>
<button name="button" class="btn btn-warning" ng-click="save(aboutContactsSetting)" translate>{{ 'app.shared.buttons.save' }}</button>
2016-08-17 10:10:23 +02:00
</div>
</div>
</div>
2019-12-17 18:06:56 +01:00
</div>