mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
settings page and custom css for users
This commit is contained in:
@@ -5,6 +5,7 @@ import javax.persistence.Entity;
|
||||
import javax.persistence.EnumType;
|
||||
import javax.persistence.Enumerated;
|
||||
import javax.persistence.JoinColumn;
|
||||
import javax.persistence.Lob;
|
||||
import javax.persistence.OneToOne;
|
||||
import javax.persistence.Table;
|
||||
|
||||
@@ -25,6 +26,10 @@ public class UserSettings extends AbstractModel {
|
||||
@Column(nullable = false)
|
||||
private ReadingMode readingMode;
|
||||
|
||||
@Lob
|
||||
@Column(length = Integer.MAX_VALUE)
|
||||
private String customCss;
|
||||
|
||||
public ReadingMode getReadingMode() {
|
||||
return readingMode;
|
||||
}
|
||||
@@ -41,4 +46,12 @@ public class UserSettings extends AbstractModel {
|
||||
this.user = user;
|
||||
}
|
||||
|
||||
public String getCustomCss() {
|
||||
return customCss;
|
||||
}
|
||||
|
||||
public void setCustomCss(String customCss) {
|
||||
this.customCss = customCss;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user