mirror of
https://github.com/internetee/registry.git
synced 2025-07-04 02:03:36 +02:00
Added EIS fonts to admin
This commit is contained in:
parent
294c3096fc
commit
e4a3d919ea
13 changed files with 59 additions and 54 deletions
|
@ -1,9 +1,9 @@
|
||||||
@import "bootstrap-sprockets";
|
//= require 'custom-boostrap'
|
||||||
@import "bootstrap";
|
|
||||||
@import "nprogress";
|
@import "nprogress";
|
||||||
@import "nprogress-bootstrap";
|
@import "nprogress-bootstrap";
|
||||||
@import "bootstrap-ext";
|
@import "bootstrap-ext";
|
||||||
@import "typeaheadjs";
|
@import "typeaheadjs";
|
||||||
@import "selectize";
|
@import "selectize";
|
||||||
@import "selectize.bootstrap3";
|
@import "selectize.bootstrap3";
|
||||||
|
@import "general";
|
||||||
@import "app";
|
@import "app";
|
||||||
|
|
13
app/assets/stylesheets/custom-boostrap.scss
Normal file
13
app/assets/stylesheets/custom-boostrap.scss
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
$font-family-sans-serif: 'EtelkaLightProRegular', Arial, Helvetica, sans-serif;
|
||||||
|
$font-family-serif: 'EtelkaLightProBold', Georgia, "Times New Roman", Times, serif;
|
||||||
|
$navbar-default-bg: #F69240;
|
||||||
|
$navbar-default-brand-color: #fff;
|
||||||
|
$navbar-default-link-color: #fff;
|
||||||
|
$border-radius-base: 2px;
|
||||||
|
$body-bg: #F8F8F8;
|
||||||
|
$container-large-desktop: 1040px;
|
||||||
|
$font-size-h1: 26px;
|
||||||
|
$navbar-default-link-active-color: #333;
|
||||||
|
|
||||||
|
@import "bootstrap-sprockets";
|
||||||
|
@import "bootstrap";
|
|
@ -1,3 +0,0 @@
|
||||||
//= require './custom-boostrap'
|
|
||||||
//= require './general'
|
|
||||||
//= require './overwrites'
|
|
|
@ -1,5 +0,0 @@
|
||||||
$font-family-sans-serif: 'EtelkaLightProRegular', Arial, Helvetica, sans-serif;
|
|
||||||
$font-family-serif: 'EtelkaLightProBold', Georgia, "Times New Roman", Times, serif;
|
|
||||||
|
|
||||||
@import "bootstrap-sprockets";
|
|
||||||
@import "bootstrap";
|
|
|
@ -1 +0,0 @@
|
||||||
// Overwrite this file at your application app/assets/stylesheets/depp/overwrite.sass
|
|
|
@ -12,12 +12,12 @@ h1
|
||||||
margin-bottom: 16px
|
margin-bottom: 16px
|
||||||
|
|
||||||
a
|
a
|
||||||
color: #008fd7
|
color: #23527C
|
||||||
text-decoration: none
|
text-decoration: none
|
||||||
|
|
||||||
a:hover,
|
a:hover,
|
||||||
a:active
|
a:active
|
||||||
color: #008fd7
|
color: #23527C
|
||||||
outline: 0
|
outline: 0
|
||||||
|
|
||||||
h1, h2, h3, h4, h1 a, h2 a, h3 a, h4 a
|
h1, h2, h3, h4, h1 a, h2 a, h3 a, h4 a
|
|
@ -1,11 +1,7 @@
|
||||||
.row
|
- content_for :actions do
|
||||||
.col-sm-6
|
= link_to(t(:back_to_domain), [:admin, @domain], class: 'btn btn-default')
|
||||||
%h2.text-center-xs
|
= render 'admin/shared/title', name: "#{t(:history)}: #{@domain.name}"
|
||||||
= "#{t(:domain_history)}: #{@domain.name}"
|
|
||||||
.col-sm-6
|
|
||||||
%h2.text-right.text-center-xs
|
|
||||||
|
|
||||||
%hr
|
|
||||||
.row
|
.row
|
||||||
.col-md-12
|
.col-md-12
|
||||||
.table-responsive
|
.table-responsive
|
||||||
|
@ -21,6 +17,7 @@
|
||||||
%th{class: 'col-xs-2'}= t(:registrar)
|
%th{class: 'col-xs-2'}= t(:registrar)
|
||||||
|
|
||||||
%tbody
|
%tbody
|
||||||
|
- if @domain.versions.present?
|
||||||
%tr.small
|
%tr.small
|
||||||
= render 'admin/domain_versions/version',
|
= render 'admin/domain_versions/version',
|
||||||
domain: @domain, version: @domain.versions.last
|
domain: @domain, version: @domain.versions.last
|
||||||
|
|
|
@ -3,17 +3,12 @@
|
||||||
- unless @domain.parent_valid?
|
- unless @domain.parent_valid?
|
||||||
%hr
|
%hr
|
||||||
.row
|
.row
|
||||||
.col-md-12
|
.col-md-8
|
||||||
%ul.nav.nav-tabs{:role => "tablist", id: 'tabs'}
|
|
||||||
- li_class = @domain.statuses_tab_valid? ? nil : 'error-tab'
|
|
||||||
%li{class: li_class}
|
|
||||||
%a{"data-toggle" => "tab", :href => "#statuses-tab", :role => "tab"}= t('statuses')
|
|
||||||
/ Tab panes
|
|
||||||
.tab-content{style:'margin-top: 20px;'}
|
.tab-content{style:'margin-top: 20px;'}
|
||||||
#general-tab.tab-pane.active
|
#general-tab.tab-pane.active
|
||||||
= render 'admin/domains/form_partials/statuses', f: f
|
= render 'admin/domains/form_partials/statuses', f: f
|
||||||
.row
|
.row
|
||||||
.col-md-12.text-right
|
.col-md-8.text-right
|
||||||
= button_tag(t('save'), class: 'btn btn-primary')
|
= button_tag(t('save'), class: 'btn btn-primary')
|
||||||
|
|
||||||
:coffee
|
:coffee
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
.row
|
- content_for :actions do
|
||||||
.col-sm-6
|
= link_to(t(:back_to_domain), [:admin, @domain], class: 'btn btn-default')
|
||||||
%h2.text-center-xs
|
= render 'admin/shared/title', name: "#{t(:edit)}: #{@domain.name}"
|
||||||
= "#{t('edit_domain')}"
|
|
||||||
.col-sm-6
|
|
||||||
%h2.text-right.text-center-xs
|
|
||||||
= link_to(t('back_to_domain'), [:admin, @domain], class: 'btn btn-default')
|
|
||||||
%hr
|
|
||||||
= render 'form'
|
= render 'form'
|
||||||
|
|
|
@ -7,9 +7,15 @@
|
||||||
%hr
|
%hr
|
||||||
|
|
||||||
.row
|
.row
|
||||||
.col-md-6
|
.col-md-8
|
||||||
|
.panel.panel-default
|
||||||
|
.panel-heading.clearfix
|
||||||
|
.pull-left= t(:general)
|
||||||
|
.panel-body
|
||||||
.form-group
|
.form-group
|
||||||
|
.col-md-3.control-label
|
||||||
= f.label :name
|
= f.label :name
|
||||||
|
.col-md-7
|
||||||
= f.text_field(:name, class: 'form-control')
|
= f.text_field(:name, class: 'form-control')
|
||||||
.form-group
|
.form-group
|
||||||
= f.label :reg_no
|
= f.label :reg_no
|
||||||
|
@ -27,8 +33,8 @@
|
||||||
.form-group
|
.form-group
|
||||||
= f.label :billing_email
|
= f.label :billing_email
|
||||||
= f.text_field(:billing_email, class: 'form-control')
|
= f.text_field(:billing_email, class: 'form-control')
|
||||||
|
.row
|
||||||
.col-md-6.text-left
|
.col-md-8
|
||||||
.form-group
|
.form-group
|
||||||
= f.label :street
|
= f.label :street
|
||||||
= f.text_field(:street, class: 'form-control')
|
= f.text_field(:street, class: 'form-control')
|
||||||
|
@ -51,5 +57,5 @@
|
||||||
/ %p.help-block= t('address_help')
|
/ %p.help-block= t('address_help')
|
||||||
%hr
|
%hr
|
||||||
.row
|
.row
|
||||||
.col-md-12.text-right
|
.col-md-8.text-right
|
||||||
= button_tag(t('save'), class: 'btn btn-primary')
|
= button_tag(t('save'), class: 'btn btn-primary')
|
||||||
|
|
|
@ -1,9 +1,5 @@
|
||||||
.row
|
- content_for :actions do
|
||||||
.col-sm-6
|
= link_to(t(:back_to_registrar), [:admin, @registrar], class: 'btn btn-default')
|
||||||
%h2.text-center-xs
|
= render 'admin/shared/title', name: "#{t(:edit)}: #{@registrar.name}"
|
||||||
= "#{t('edit_registrar')}"
|
|
||||||
.col-sm-6
|
|
||||||
%h2.text-right.text-center-xs
|
|
||||||
= link_to(t('back_to_registrar'), [:admin, @registrar], class: 'btn btn-default')
|
|
||||||
%hr
|
|
||||||
= render 'form'
|
= render 'form'
|
||||||
|
|
11
app/views/admin/shared/_title.haml
Normal file
11
app/views/admin/shared/_title.haml
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
- content_for :window_title do
|
||||||
|
%title= name
|
||||||
|
|
||||||
|
.row
|
||||||
|
.col-sm-8
|
||||||
|
%h1.text-center-xs
|
||||||
|
= truncate(name, length: 40)
|
||||||
|
.col-sm-4
|
||||||
|
%h1.text-right.text-center-xs
|
||||||
|
= yield :actions
|
||||||
|
%hr
|
|
@ -4,7 +4,7 @@
|
||||||
.row
|
.row
|
||||||
.col-sm-6
|
.col-sm-6
|
||||||
%h1.text-center-xs
|
%h1.text-center-xs
|
||||||
= name
|
= truncate(name)
|
||||||
.col-sm-6
|
.col-sm-6
|
||||||
%h1.text-right.text-center-xs
|
%h1.text-right.text-center-xs
|
||||||
= yield :actions
|
= yield :actions
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue