Skip to content

Commit

Permalink
Merge pull request #74 from ArcBees/ol_last_fixes
Browse files Browse the repository at this point in the history
Quelques petits fixs (CSS et AppEngine)
  • Loading branch information
olafleur committed May 14, 2016
2 parents cefcf7b + 8a92099 commit eaf9d18
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<arcbees-ui.version>1.3-SNAPSHOT</arcbees-ui.version>

<!-- server -->
<gae.version>1.9.19</gae.version>
<gae.version>1.9.36</gae.version>
<guice.version>3.0</guice.version>
<arcbees.version>1.1.1</arcbees.version>
<resteasy.version>3.0.11.Final</resteasy.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@
public class RemoteModule extends AbstractPresenterModule {
@Override
protected void configure() {
bindConstant().annotatedWith(RestApplicationPath.class).to("http://bourseje.arcbees.com/api");
bindConstant().annotatedWith(RestApplicationPath.class).to("//bourseje.arcbees.com/api");
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

<input ui:field="code" type="password" max="5"/>
<button class="{res.styles.btn} {res.styles.btn_wide}" type="submit">
Unique moi? Toujours!
Allons au vote!
</button>
</form>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@

public class CloudStorageUploadService implements ImageUploadService {
private static final String[] IMAGE_FILE_EXTENSIONS = new String[]{"jpg", "png", "gif", "jpeg"};
private static final String BUCKET_NAME = "imagesBucket";
private static final String BUCKET_NAME = "jccqbourseje.appspot.com";
private static final int BUFFER_SIZE = 2 * 1024 * 1024;

private final GcsService gcsService = GcsServiceFactory.createGcsService(new RetryParams.Builder()
Expand All @@ -47,9 +47,7 @@ public class CloudStorageUploadService implements ImageUploadService {
@Override
public String upload(String name, InputStream inputStream, long size) {
GcsOutputChannel outputChannel;
GcsFileOptions options = new GcsFileOptions.Builder()
.acl("public-read")
.build();
GcsFileOptions options = GcsFileOptions.getDefaultInstance();
GcsFilename fileName = getFileName(name);

verifyFileExtension(name);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
.choice_finalist_name {
font-family: F_SECONDARY;
font-size: 22px;
display: block;
}

.choice_finalist_company {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.home_main_content {
height: calc(100% - 80px);
height: calc(100% - 75px);
}

.vote {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ input {
}

.main_content .wrapper {
width: 260px;
width: 290px;
}

.main_content > article,
Expand Down Expand Up @@ -199,6 +199,7 @@ input {
content: "\0020";
display: block;
height: 0;

overflow: hidden;
}

Expand All @@ -224,7 +225,7 @@ input {

cursor: pointer;
display: inline-block;
margin: 25px 0 50px;
margin: 15px 0 50px;
height: 35px;
padding: .5em 1.5rem;
outline: 0;
Expand Down Expand Up @@ -271,6 +272,7 @@ input {

.text_step {
text-align: center;

margin-bottom: 20px;
}

Expand Down Expand Up @@ -300,7 +302,9 @@ a.jccq:hover {

footer {
background-color: #000;
padding: 15px 0;

height: 75px;
padding-top: 8px;
}

.logoArcbees {
Expand Down

0 comments on commit eaf9d18

Please sign in to comment.