1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+ < head >
4
+ < meta charset ="UTF-8 ">
5
+ < title > New PSM</ title >
6
+ < link rel ="stylesheet " href ="../assets/css/ghost.min.css ">
7
+
8
+ <!--
9
+ Styles to mimick the rest of Ghost
10
+ There ARE NOT needed at all.
11
+ -->
12
+ < style >
13
+ .temp-nav {
14
+ height : 60px ;
15
+ background : # 000 ;
16
+ position : fixed;
17
+ top : 0 ;
18
+ right : 0 ;
19
+ left : 0 ;
20
+ z-index : 100 ;
21
+ }
22
+ .temp-main {
23
+ position : fixed;
24
+ top : 60px ;
25
+ right : 0 ;
26
+ bottom : 0 ;
27
+ left : 0 ;
28
+ background : # fff ;
29
+ z-index : 100 ;
30
+ }
31
+ .temp-main .post-settings {
32
+ position : absolute;
33
+ top : 50% ;
34
+ left : 50% ;
35
+ background : # eee ;
36
+ padding : 11px 20px 10px ;
37
+ margin-left : -108px ;
38
+ margin-top : -22px ;
39
+ }
40
+ .temp-main .post-settings : before {
41
+ margin-right : 5px ;
42
+ }
43
+ </ style >
44
+
45
+ </ head >
46
+ < body >
47
+
48
+ < nav class ="global-nav temp-nav "> </ nav >
49
+ < main class ="viewport temp-main ">
50
+ < button class ="post-settings "> Make the magic happen</ button >
51
+ </ main >
52
+
53
+ < div class ="right-outlet ">
54
+
55
+ < div class ="post-settings-menu outlet-pane outlet-pane-in ">
56
+ < div class ="post-settings-header ">
57
+ < h4 > Post Settings</ h4 >
58
+ < button class ="close icon-x post-settings-header-action "> < span class ="hidden "> Close</ span > </ button >
59
+ </ div >
60
+ < div class ="post-settings-content ">
61
+
62
+ < section class ="image-uploader ">
63
+ < span class ="media ">
64
+ < span class ="hidden "> Image Upload</ span >
65
+ </ span >
66
+ < img class ="js-upload-target " style ="display: none; " src ="">
67
+ < div class ="description "> Add image of < strong > </ strong > </ div >
68
+ </ section >
69
+
70
+ < div class ="form-group ">
71
+ < label for ="blog-title "> Post URL</ label >
72
+ < span class ="input-icon icon-link ">
73
+ < input type ="text " value ="myblog.com/this-is-my-post/ " />
74
+ </ span >
75
+ </ div >
76
+
77
+ < div class ="form-group ">
78
+ < label for ="blog-title "> Publish Date</ label >
79
+ < span class ="input-icon icon-calendar ">
80
+ < input type ="text " value ="23 Apr 14 @ 11:59 " />
81
+ </ span >
82
+ </ div >
83
+
84
+ < div class ="form-group for-select ">
85
+ < label for ="activeTheme "> Author</ label >
86
+ < span class ="input-icon icon-user ">
87
+ < span class ="gh-select ">
88
+ < select >
89
+ < option > Lorem Ipsum</ option >
90
+ < option > Corporis Voluptates</ option >
91
+ < option > Veniam Quae</ option >
92
+ </ select >
93
+ </ span >
94
+ </ span >
95
+ </ div >
96
+
97
+ < div class ="form-group for-checkbox ">
98
+ < label class ="checkbox " for ="thing ">
99
+ < input id ="thing " type ="checkbox ">
100
+ < span class ="input-toggle-component "> </ span >
101
+ < p > Static Page</ p >
102
+ </ label >
103
+ </ div >
104
+
105
+ < ul class ="nav-list nav-list-block ">
106
+ < li class ="nav-list-item ">
107
+ < a href ="# ">
108
+ < b > Revision History</ b >
109
+ < span > 12 versions of this post by 3 people.</ span >
110
+ </ a >
111
+ </ li >
112
+ < li class ="nav-list-item ">
113
+ < a href ="# ">
114
+ < b > Advanced Settings</ b >
115
+ < span > Convert to a page, mark as featured.</ span >
116
+ </ a >
117
+ </ li >
118
+ < li class ="nav-list-item ">
119
+ < a href ="# ">
120
+ < b > Meta Data</ b >
121
+ < span > Extra content for SEO and social media.</ span >
122
+ </ a >
123
+ </ li >
124
+ < li class ="nav-list-item ">
125
+ < a href ="# ">
126
+ < b > Custom App</ b >
127
+ < span > Registered an advanced setting panel.</ span >
128
+ </ a >
129
+ </ li >
130
+ </ ul >
131
+
132
+ < button class ="btn btn-red icon-trash "> Delete This Post</ button >
133
+
134
+ </ div > <!-- .post-settings-content -->
135
+ </ div > <!-- .post-settings-menu -->
136
+
137
+ < div class ="post-settings-menu outlet-pane outlet-pane-out-right ">
138
+
139
+ < div class ="post-settings-header subview ">
140
+ < button class ="back icon-chevron-left post-settings-header-action "> < span class ="hidden "> Back</ span > </ button >
141
+ < h4 > Meta Data</ h4 >
142
+ </ div >
143
+
144
+ < div class ="post-settings-content ">
145
+ < div class ="form-group ">
146
+ < label for ="blog-title "> Meta Title</ label >
147
+ < input type ="text " value ="My Post is Super SEO Friendly " />
148
+ < p > Recommended: < b > 70</ b > characters. You’ve used < b class ="green "> 43</ b > </ p >
149
+ </ div >
150
+
151
+ < div class ="form-group ">
152
+ < label for ="blog-title "> Meta Description</ label >
153
+ < textarea > In this fascinating posts I explore the value of SEO meta descriptions and their impact on blogging. Don’t miss my stunning insights!</ textarea >
154
+ < p > Recommended: < b > 156</ b > characters. You’ve used < b class ="green "> 133</ b > </ p >
155
+ </ div >
156
+
157
+ < div class ="form-group ">
158
+ < label > Search Engine Result Preview</ label >
159
+ < div class ="seo-preview ">
160
+ < div class ="seo-preview-title "> My Post is Super SEO Friendly</ div >
161
+ < div class ="seo-preview-link "> myblog.com/this-is-my-post/</ div >
162
+ < div class ="seo-preview-description "> In this fascinating posts I explore the value of SEO meta descriptions and their impact on blogging. Don’t miss my stunning insights!</ div >
163
+ </ div >
164
+ </ div > <!-- .post-settings-search-preview -->
165
+
166
+ </ div > <!-- .post-settings-content -->
167
+
168
+ </ div > <!-- .post-settings-menu -->
169
+
170
+ </ div >
171
+
172
+ < script src ="../../../bower_components/jquery/dist/jquery.js "> </ script >
173
+ < script >
174
+ $ ( function ( ) {
175
+ $ ( ".post-settings, .post-settings-header-action.close" ) . on ( "click" , function ( e ) {
176
+ e . preventDefault ( ) ;
177
+ $ ( ".viewport, .global-nav, .right-outlet, body" ) . toggleClass ( "right-outlet-expanded" ) ;
178
+ } ) ;
179
+
180
+ $ ( ".nav-list-item a" ) . on ( "click" , function ( e ) {
181
+ e . preventDefault ( ) ;
182
+ $ ( ".outlet-pane:nth-child(1)" ) . addClass ( "outlet-pane-out-left" ) . removeClass ( "outlet-pane-in" ) ;
183
+ $ ( ".outlet-pane:nth-child(2)" ) . addClass ( "outlet-pane-in" ) . removeClass ( "outlet-pane-hidden-left" ) ;
184
+ } ) ;
185
+
186
+
187
+
188
+
189
+ $ ( ".post-settings-header-action.back" ) . on ( "click" , function ( e ) {
190
+ e . preventDefault ( ) ;
191
+ $ ( ".outlet-pane:nth-child(1)" ) . addClass ( "outlet-pane-in" ) . removeClass ( "outlet-pane-out-left" ) ;
192
+ $ ( ".outlet-pane:nth-child(2)" ) . addClass ( "outlet-pane-out-right" ) . removeClass ( "outlet-pane-in" ) ;
193
+ } ) ;
194
+
195
+ // This also needs to close the right outlet when clicking outside of it (like when clicking outside of popovers)
196
+ // And... close outlet by hitting escape
197
+ } ) ;
198
+ </ script >
199
+
200
+
201
+ </ body >
202
+ </ html >
0 commit comments