Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
ruairif committed May 31, 2017
2 parents 7abd396 + 92b60b8 commit c05abe8
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Vagrant.configure("2") do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.host_name = "portia"
config.vm.provision :shell, :path => 'provision.sh', :args => [
"install_deps", "install_splash", "install_python_deps", "configure_nginx", "configure_initctl", "start_portia"
"install_deps", "install_splash", "install_python_deps", "configure_nginx", "configure_initctl", "migrate_django_db", "start_portia"
]
config.vm.network "private_network", ip: "33.33.33.10"
config.vm.network "forwarded_port", guest: 9001, host: 9001
Expand Down
1 change: 1 addition & 0 deletions portiaui/app/styles/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@

@import "variables";
@import "generic";
@import "document";

@import "animations";
@import "icons";
Expand Down
2 changes: 0 additions & 2 deletions portiaui/app/styles/components/dropdown-delete.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
li.dropdown-delete {
cursor: pointer;
user-select: none;

a {
color: $brand-danger;
&:hover { color: $brand-danger; }
Expand Down
1 change: 1 addition & 0 deletions portiaui/app/styles/components/extracted-item-table.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.extracted-item-table {
user-select: text;
&,
table {
margin-bottom: $line-height-computed;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
unicode-bidi: embed;
word-break: break-all;
word-wrap: break-word;
user-select: text;

b {
font-weight: normal;
Expand Down
5 changes: 1 addition & 4 deletions portiaui/app/styles/components/start-url-options.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.fragment-span {
margin-left: -3px;
}

.start-url-list {
overflow-y: auto;
min-height: 200px;
Expand All @@ -15,6 +11,7 @@
.start-url-generation-list {
p {
white-space: nowrap;
user-select: text;
position: relative;
margin: 0;
}
Expand Down
3 changes: 3 additions & 0 deletions portiaui/app/styles/document.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
body {
user-select: none;
}
2 changes: 1 addition & 1 deletion portiaui/app/templates/components/colored-span.hbs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{{yield}}
{{~ yield ~}}
8 changes: 4 additions & 4 deletions portiaui/app/templates/components/generated-url-options.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@
<section class="start-url-generation-list">
{{#each generatedUrlLists as |generatedUrlList|}}
<p>
{{#each generatedUrlList as |fragment index|}}
{{#colored-span class="fragment-span" color=(array-get fragmentColors index)}}
{{#each generatedUrlList as |fragment index| ~}}
{{#colored-span color=(array-get fragmentColors index) ~}}
{{fragment}}
{{/colored-span}}
{{/each}}
{{~/colored-span}}
{{~/each}}
</p>
{{/each}}

Expand Down
5 changes: 5 additions & 0 deletions provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,11 @@ configure_initctl(){
cp "$APP_ROOT/portia.conf" /etc/init
}


migrate_django_db(){
python /vagrant/portia_server/manage.py migrate
}

start_portia(){
echo "Starting Nginx"
echo "=============="
Expand Down

0 comments on commit c05abe8

Please sign in to comment.